MLIR
20.0.0git
|
CRTP Implementation of an action. More...
#include "mlir/IR/Action.h"
Public Member Functions | |
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 void | print (raw_ostream &os) const |
virtual ArrayRef< IRUnit > | getContextIRUnits () const |
Return the set of IR units that are associated with this action. More... | |
Static Public Member Functions | |
static bool | classof (const Action *action) |
Provide classof to allow casting between action types. More... | |
Additional Inherited Members | |
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... | |
CRTP Implementation of an action.
This class provides a base class for implementing specific actions. Derived classes are expected to provide the following:
|
inline |
|
inlinestatic |
Provide classof to allow casting between action types.
Definition at line 82 of file Action.h.
References mlir::tracing::Action::getActionID().
|
inlinefinalvirtual |
Forward tag access to the derived class.
Implements mlir::tracing::Action.