MimIR 0.1
MimIR is my Intermediate Representation
|
#include <mim/phase.h>
Public Member Functions | |
ReplMan (World &world, flags_t annex) | |
void | apply (Repls &&) |
void | apply (const App *) final |
Invoked if your Stage has additional args. | |
void | apply (Stage &stage) final |
Dito, but invoked by Stage::recreate. | |
void | add (std::unique_ptr< Repl > &&repl) |
const auto & | repls () const |
![]() | |
Repl (World &world, flags_t annex) | |
![]() | |
World & | world () |
Driver & | driver () |
Log & | log () const |
std::string_view | name () const |
flags_t | annex () const |
Stage (World &world, std::string name) | |
Stage (World &world, flags_t annex) | |
virtual | ~Stage ()=default |
virtual std::unique_ptr< Stage > | recreate () |
Creates a new instance; needed by a fixed-point PhaseMan. | |
Private Member Functions | |
const Def * | replace (const Def *) final |
Additional Inherited Members | |
static auto | create (const Flags2Stages &stages, const Def *def) |
template<class A, class P> | |
static void | hook (Flags2Stages &stages) |
![]() | |
std::string | name_ |
Definition at line 122 of file phase.h.
References mim::Stage::annex(), mim::Repl::Repl(), and mim::Stage::world().
|
inline |
|
finalvirtual |
Invoked if your Stage has additional args.
Reimplemented from mim::Stage.
Definition at line 59 of file phase.cpp.
References apply(), mim::Stage::create(), mim::Stage::driver(), mim::Repl::Repl(), and repls().
void mim::ReplMan::apply | ( | Repls && | repls | ) |
|
inlinefinalvirtual |
Dito, but invoked by Stage::recreate.
Reimplemented from mim::Stage.
Definition at line 127 of file phase.h.
References apply(), and ReplMan().
Referenced by apply().
|
inline |
Definition at line 130 of file phase.h.
Referenced by mim::PhaseMan::apply(), apply(), and apply().