MLIR  20.0.0git
Public Member Functions | List of all members
mlir::LLVM::ModuleTranslation::StackFrameBase< Derived > Class Template Reference

Concrete CRTP base class for ModuleTranslation stack frames. More...

#include "mlir/Target/LLVMIR/ModuleTranslation.h"

+ Inheritance diagram for mlir::LLVM::ModuleTranslation::StackFrameBase< Derived >:

Public Member Functions

 StackFrameBase ()
 
- Public Member Functions inherited from mlir::LLVM::ModuleTranslation::StackFrame
virtual ~StackFrame ()=default
 
TypeID getTypeID () const
 

Additional Inherited Members

- Protected Member Functions inherited from mlir::LLVM::ModuleTranslation::StackFrame
 StackFrame (TypeID typeID)
 

Detailed Description

template<typename Derived>
class mlir::LLVM::ModuleTranslation::StackFrameBase< Derived >

Concrete CRTP base class for ModuleTranslation stack frames.

When translating operations with regions, users of ModuleTranslation can store state on ModuleTranslation stack 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 257 of file ModuleTranslation.h.

Constructor & Destructor Documentation

◆ StackFrameBase()

template<typename Derived >
mlir::LLVM::ModuleTranslation::StackFrameBase< Derived >::StackFrameBase ( )
inlineexplicit

Definition at line 259 of file ModuleTranslation.h.


The documentation for this class was generated from the following file: