Joos1W Compiler Framework
All Classes Functions Typedefs Pages
IRContextPass Class Referencefinal
Inheritance diagram for IRContextPass:

Public Member Functions

 IRContextPass (utils::PassManager &PM, tir::CompilationUnit &CU) noexcept
 
std::string_view Desc () const override
 Function to override to get the description of the pass.
 
void Init () override
 Function to override when you want to acquire resources.
 
void Run () override
 Function to override to run the pass.
 
tir::CompilationUnitCU ()
 
- Public Member Functions inherited from utils::Pass
virtual std::string_view Name () const
 Function to override to get the name (id) of the pass.
 
void Preserve ()
 Preserve the analysis results of this pass.
 
bool ShouldPreserve () const
 Should this pass be preserved?
 

Additional Inherited Members

- Protected Member Functions inherited from utils::Pass
auto & PM ()
 Gets the pass manager that owns the pass.
 
template<typename T >
requires PassType< T > TGetPass ()
 Gets a single pass of type T. Throws if no pass is found. Also throws if multiple passes of type T are found. More...
 
PassGetPass (std::string_view name)
 Gets a single pass by name. Throws if no pass is found.
 
template<typename T >
requires PassType< T > Generator< T * > GetPasses ()
 Gets all passes of type T. Throws if no pass is found. More...
 
void ComputeDependency (Pass &pass)
 Computes a dependency between this and another pass. More...
 
CustomBufferResourceNewHeap ()
 Requests a new heap from the pass manager. More...
 
 Pass (PassManager &pm) noexcept
 Constructor for the pass. More...
 

Detailed Description

Definition at line 4 of file IRContextPass.h.


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