MLIR
22.0.0git
|
Concrete CRTP base class for StateStack frames. More...
#include "mlir/Support/StateStack.h"
Public Member Functions | |
StateStackFrameBase () | |
![]() | |
virtual | ~StateStackFrame ()=default |
TypeID | getTypeID () const |
Additional Inherited Members | |
![]() | |
StateStackFrame (TypeID typeID) | |
Concrete CRTP base class for StateStack frames.
This is used for keeping a stack of common state useful for recursive IR conversions. For example, when translating operations with regions, users of StateStack can store state on StateStack before entering the region and inspect it when converting operations nested within that region. Users are expected to derive this class and put any relevant information into fields of the derived class. The usual isa/dyn_cast functionality is available for instances of derived classes.
Definition at line 47 of file StateStack.h.
|
inlineexplicit |
Definition at line 49 of file StateStack.h.