MLIR
18.0.0git
|
An individual configuration for a pattern, which can be accessed by native functions via the PDLPatternConfigSet. More...
#include "mlir/IR/PatternMatch.h"
Public Member Functions | |
virtual | ~PDLPatternConfig ()=default |
virtual void | notifyRewriteBegin (PatternRewriter &rewriter) |
Hooks that are invoked at the beginning and end of a rewrite of a matched pattern. More... | |
virtual void | notifyRewriteEnd (PatternRewriter &rewriter) |
TypeID | getTypeID () const |
Return the TypeID that represents this configuration. More... | |
Protected Member Functions | |
PDLPatternConfig (TypeID id) | |
An individual configuration for a pattern, which can be accessed by native functions via the PDLPatternConfigSet.
This allows for injecting additional configuration into PDL patterns that is specific to certain compilation flows.
Definition at line 939 of file PatternMatch.h.
|
virtualdefault |
|
inlineprotected |
Definition at line 953 of file PatternMatch.h.
|
inline |
Return the TypeID that represents this configuration.
Definition at line 950 of file PatternMatch.h.
Referenced by mlir::PDLPatternConfigBase< T >::classof().
|
inlinevirtual |
Hooks that are invoked at the beginning and end of a rewrite of a matched pattern.
These can be used to setup any specific state necessary for the rewrite.
Reimplemented in mlir::PDLConversionConfig.
Definition at line 946 of file PatternMatch.h.
|
inlinevirtual |
Reimplemented in mlir::PDLConversionConfig.
Definition at line 947 of file PatternMatch.h.