|
MLIR 22.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. | |
| 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. | |
| virtual void | print (raw_ostream &os) const |
| virtual ArrayRef< IRUnit > | getContextIRUnits () const |
| Return the set of IR units that are associated with this action. | |
Static Public Member Functions | |
| static bool | classof (const Action *action) |
| Provide classof to allow casting between action types. | |
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. | |
| ArrayRef< IRUnit > | irUnits |
| Set of IR units (operations, regions, blocks, values) that are associated with this action. | |
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 |
|
inlinefinalvirtual |
Forward tag access to the derived class.
Implements mlir::tracing::Action.