MLIR
18.0.0git
|
This class provides a base class for users implementing a type of pattern configuration. More...
#include "mlir/IR/PatternMatch.h"
Static Public Member Functions | |
static bool | classof (const PDLPatternConfig *config) |
Support LLVM style casting. More... | |
static TypeID | getConfigID () |
Return the type id used for this configuration. More... | |
Protected Member Functions | |
PDLPatternConfigBase () | |
![]() | |
PDLPatternConfig (TypeID id) | |
Additional Inherited Members | |
![]() | |
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... | |
This class provides a base class for users implementing a type of pattern configuration.
Definition at line 962 of file PatternMatch.h.
|
inlineprotected |
Definition at line 973 of file PatternMatch.h.
|
inlinestatic |
Support LLVM style casting.
Definition at line 965 of file PatternMatch.h.
References mlir::PDLPatternConfigBase< T >::getConfigID(), and mlir::PDLPatternConfig::getTypeID().
|
inlinestatic |
Return the type id used for this configuration.
Definition at line 970 of file PatternMatch.h.
Referenced by mlir::PDLPatternConfigBase< T >::classof().