MimIR 0.1
MimIR is my Intermediate Representation
|
Like ClosedMutPhase but computes a Nest for each NestPhase::visit. More...
#include <mim/phase/phase.h>
Public Member Functions | |
NestPhase (World &world, std::string_view name, bool dirty, bool elide_empty) | |
const Nest & | nest () const |
virtual void | visit (const Nest &)=0 |
![]() | |
ClosedMutPhase (World &world, std::string_view name, bool dirty, bool elide_empty) | |
void | start () override |
Actual entry. | |
![]() | |
Phase (World &world, std::string_view name, bool dirty) | |
virtual | ~Phase ()=default |
World & | world () |
std::string_view | name () const |
bool | is_dirty () const |
virtual void | run () |
Entry point and generates some debug output; invokes Phase::start. | |
Private Member Functions | |
void | visit (M *mut) final |
Additional Inherited Members | |
![]() | |
template<class P , class... Args> | |
static void | run (Args &&... args) |
Runs a single Phase. | |
![]() | |
virtual void | visit (Def *)=0 |
Def * | root () const |
![]() | |
void | set_name (std::string name) |
Like ClosedMutPhase but computes a Nest for each NestPhase::visit.
|
inline |
Definition at line 203 of file phase.h.
Referenced by mim::NestPhase< M >::visit().
|
pure virtual |
Implemented in mim::Emitter< Value, Type, BB, Child >, mim::Emitter< std::string, std::string, BB, Emitter >, and mim::plug::mem::AddMem.
Referenced by mim::NestPhase< M >::visit().
|
inlinefinalprivate |
Definition at line 207 of file phase.h.
References mim::NestPhase< M >::nest(), and mim::NestPhase< M >::visit().