MimIR
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
mim::plug::ll::Emit Class Reference

Pipeline phase for ll.emit. More...

Inheritance diagram for mim::plug::ll::Emit:
[legend]

Public Member Functions

 Emit (World &world, flags_t annex)
void start () override
 Actual entry.
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< Stagerecreate ()
 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< Stagetake_resolved ()
 The Stage to use instead; nullptr means elide.
Worldworld ()
Driverdriver ()
Loglog () const
std::string_view name () const
flags_t annex () const

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< Stagecreate (const Flags2Stages &stages, const Def *def)
template<class A, class P>
static void hook (Flags2Stages &stages)
Protected Attributes inherited from mim::Stage
std::string name_

Detailed Description

Pipeline phase for ll.emit.

Writes the LLVM IR of the fully lowered world to <world>.ll or a.ll.

Definition at line 18 of file ll.cpp.

Constructor & Destructor Documentation

◆ Emit()

mim::plug::ll::Emit::Emit ( World & world,
flags_t annex )
inline

Definition at line 20 of file ll.cpp.

References mim::Stage::annex(), mim::Phase::Phase(), and mim::Stage::world().

Member Function Documentation

◆ start()

void mim::plug::ll::Emit::start ( )
inlineoverridevirtual

Actual entry.

Implements mim::Phase.

Definition at line 23 of file ll.cpp.

References mim::Stage::name(), mim::World::name(), and mim::Stage::world().


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