|
MLIR
22.0.0git
|
This is the type of Action that is dispatched when a pattern is applied. More...
#include "mlir/Rewrite/PatternApplicator.h"
Inheritance diagram for mlir::ApplyPatternAction:Public Types | |
| using | Base = tracing::ActionImpl< ApplyPatternAction > |
Public Member Functions | |
| ApplyPatternAction (ArrayRef< IRUnit > irUnits, const Pattern &pattern) | |
| void | print (raw_ostream &os) const override |
Public Member Functions inherited from mlir::tracing::ActionImpl< ApplyPatternAction > | |
| ActionImpl (ArrayRef< IRUnit > irUnits={}) | |
| StringRef | getTag () const final |
| Forward tag access to the derived class. More... | |
Public Member Functions inherited from mlir::tracing::Action | |
| virtual | ~Action ()=default |
| TypeID | getActionID () const |
| Return the unique action id of this action, use for casting functionality. More... | |
| virtual ArrayRef< IRUnit > | getContextIRUnits () const |
| Return the set of IR units that are associated with this action. More... | |
Static Public Attributes | |
| static constexpr StringLiteral | tag = "apply-pattern" |
| static constexpr StringLiteral | desc |
Additional Inherited Members | |
Static Public Member Functions inherited from mlir::tracing::ActionImpl< ApplyPatternAction > | |
| static bool | classof (const Action *action) |
| Provide classof to allow casting between action types. More... | |
Protected Member Functions inherited from mlir::tracing::Action | |
| Action (TypeID actionID, ArrayRef< IRUnit > irUnits) | |
Protected Attributes inherited from mlir::tracing::Action | |
| TypeID | actionID |
The type of the derived action class, used for isa/dyn_cast. More... | |
| ArrayRef< IRUnit > | irUnits |
| Set of IR units (operations, regions, blocks, values) that are associated with this action. More... | |
This is the type of Action that is dispatched when a pattern is applied.
It captures the pattern to apply on top of the usual context.
Definition at line 30 of file PatternApplicator.h.
Definition at line 32 of file PatternApplicator.h.
|
inline |
Definition at line 33 of file PatternApplicator.h.
|
inlineoverridevirtual |
Reimplemented from mlir::tracing::Action.
Definition at line 39 of file PatternApplicator.h.
References mlir::Pattern::getDebugName(), and tag.
|
staticconstexpr |
Definition at line 36 of file PatternApplicator.h.
|
staticconstexpr |
Definition at line 35 of file PatternApplicator.h.
Referenced by print().