Like ClosedMutPhase but computes a Nest for each NestPhase::visit. More...
#include <mim/phase.h>
Public Member Functions | |
| NestPhase (World &world, std::string name, bool elide_empty, bool schedule=false) | |
| NestPhase (World &world, flags_t annex, bool elide_empty, bool schedule=false) | |
| const Nest & | nest () const |
| virtual void | visit (const Nest &)=0 |
| Public Member Functions inherited from mim::ClosedMutPhase< Def > | |
| ClosedMutPhase (World &world, std::string name, bool elide_empty, bool schedule=false) | |
| bool | elide_empty () const |
| bool | schedule () const |
| Public Member Functions inherited from mim::Phase | |
| Phase (World &world, std::string name) | |
| Phase (World &world, flags_t annex) | |
| bool | todo () const |
| void | invalidate (bool todo=true) |
| Signals that another round of fixed-point iteration is required, either as part of. | |
| virtual void | run () |
| Entry point and generates some debug output; invokes Phase::start. | |
| Public Member Functions inherited from mim::Stage | |
| 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. | |
| virtual void | apply (const App *) |
| Invoked if your Stage has additional args. | |
| virtual void | apply (Stage &) |
| Dito, but invoked by Stage::recreate. | |
| virtual bool | redirects () const |
| If true, Stage::create uses take_resolved(). | |
| virtual std::unique_ptr< Stage > | take_resolved () |
| The Stage to use instead; nullptr means elide. | |
| World & | world () |
| Driver & | driver () |
| Log & | log () const |
| std::string_view | name () const |
| flags_t | annex () const |
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. | |
| Static Public Member Functions inherited from mim::Stage | |
| static std::unique_ptr< Stage > | create (const Flags2Stages &stages, const Def *def) |
| template<class A, class P> | |
| static void | hook (Flags2Stages &stages) |
| Protected Member Functions inherited from mim::ClosedMutPhase< Def > | |
| void | start () override |
| Actual entry. | |
| virtual void | visit (Def *)=0 |
| Def * | root () const |
| Protected Attributes inherited from mim::Stage | |
| std::string | name_ |
Like ClosedMutPhase but computes a Nest for each NestPhase::visit.
|
inline |
Definition at line 421 of file phase.h.
References mim::ClosedMutPhase< Def >::ClosedMutPhase(), mim::ClosedMutPhase< Def >::elide_empty(), mim::Stage::name(), mim::ClosedMutPhase< Def >::schedule(), and mim::Stage::world().
|
inline |
Definition at line 423 of file phase.h.
References mim::Stage::annex(), mim::ClosedMutPhase< Def >::ClosedMutPhase(), mim::ClosedMutPhase< Def >::elide_empty(), mim::ClosedMutPhase< Def >::schedule(), and mim::Stage::world().
|
inline |
|
pure virtual |
Implemented in mim::Emitter< Value, Type, BB, Child >, mim::Emitter< std::string, std::string, BB, Emitter >, and mim::plug::mem::phase::AddMem.
Referenced by visit().
|
inlinefinalprivate |