MLIR
22.0.0git
|
Public Member Functions | |
void | init () |
![]() | |
void | apply (MLIRContext *context, TransformDialect *transformDialect, ExtraDialects *...) const final |
Extension application hook. More... | |
![]() | |
virtual void | apply (MLIRContext *context, DialectsT *...dialects) const =0 |
Applies this extension to the given context and set of required dialects. More... | |
std::unique_ptr< DialectExtensionBase > | clone () const final |
Return a copy of this extension. More... | |
![]() | |
virtual | ~DialectExtensionBase () |
ArrayRef< StringRef > | getRequiredDialects () const |
Return the dialects that our required by this extension to be loaded before applying. More... | |
Additional Inherited Members | |
![]() | |
using | Base = TransformDialectExtension< TuneExtension, ExtraDialects... > |
![]() | |
TransformDialectExtension (bool buildOnly=false) | |
Extension constructor. More... | |
void | addCustomInitializationStep (Func &&func) |
Registers a custom initialization step to be performed when the extension is applied to the dialect while loading. More... | |
void | addDialectDataInitializer (Func &&func) |
Registers the given function as one of the initializers for the dialect-owned data of the kind specified as template argument. More... | |
void | init () |
Hook for derived classes to inject constructor behavior. More... | |
void | registerTransformOps () |
Injects the operations into the Transform dialect. More... | |
void | registerTypes () |
Injects the types into the Transform dialect. More... | |
void | declareDependentDialect () |
Declares that this Transform dialect extension depends on the dialect provided as template parameter. More... | |
void | declareGeneratedDialect () |
Declares that the transformations associated with the operations registered by this dialect extension may produce operations from the dialect provided as template parameter while processing payload IR that does not contain the operations from said dialect. More... | |
![]() | |
DialectExtension () | |
void | apply (MLIRContext *context, MutableArrayRef< Dialect * > dialects) const final |
Override the base apply method to allow providing the exact dialect types. More... | |
![]() | |
DialectExtensionBase (ArrayRef< StringRef > dialectNames) | |
Initialize the extension with a set of required dialects. More... | |
Definition at line 17 of file TuneExtension.cpp.
|
inline |
Definition at line 22 of file TuneExtension.cpp.