CIRCT
20.0.0git
|
This is a convenience class providing default implementations for type emission patterns. More...
#include <EmissionPattern.h>
Public Member Functions | |
TypeEmissionPattern () | |
void | emitType (Type type, EmissionPrinter &p) final |
Emit the given type to the emission printer. More... | |
bool | match (Type type) override |
Checks if this pattern is applicable to the given type. More... | |
virtual void | emitType (Ty type, EmissionPrinter &p)=0 |
Emit the given type to the emission printer. More... | |
Public Member Functions inherited from circt::ExportSystemC::TypeEmissionPatternBase | |
TypeEmissionPatternBase (TypeID typeId) | |
virtual | ~TypeEmissionPatternBase ()=default |
Public Member Functions inherited from circt::ExportSystemC::PatternBase | |
PatternBase (const void *rootValue) | |
const void * | getRootValue () const |
Get a unique identifier for the C++ type the pattern is matching on. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from circt::ExportSystemC::PatternBase | |
template<typename E , typename... Args> | |
static std::unique_ptr< E > | create (Args &&...args) |
This is a convenience class providing default implementations for type emission patterns.
Definition at line 198 of file EmissionPattern.h.
|
inline |
Definition at line 199 of file EmissionPattern.h.
|
pure virtual |
Emit the given type to the emission printer.
|
inlinefinalvirtual |
Emit the given type to the emission printer.
Implements circt::ExportSystemC::TypeEmissionPatternBase.
Definition at line 201 of file EmissionPattern.h.
|
inlineoverridevirtual |
Checks if this pattern is applicable to the given type.
Matches to the type given as template argument by default.
Implements circt::ExportSystemC::TypeEmissionPatternBase.
Definition at line 207 of file EmissionPattern.h.