Thorin 1.9.0
The Higher ORder INtermediate representation
Loading...
Searching...
No Matches
thorin::Cleanup Class Reference

Removes unreachable and dead code by rebuilding the whole World into a new one and swapping afterwards. More...

#include <thorin/phase/phase.h>

Inheritance diagram for thorin::Cleanup:
[legend]

Public Member Functions

 Cleanup (World &world)
 
void start () override
 Actual entry.
 
- Public Member Functions inherited from thorin::Phase
 Phase (World &world, std::string_view name, bool dirty)
 
virtual ~Phase ()=default
 
Worldworld ()
 
std::string_view name () const
 
bool is_dirty () const
 
virtual void run ()
 Entry point and generates some debug output; invokes Phase::start.
 

Additional Inherited Members

- Static Public Member Functions inherited from thorin::Phase
template<class P , class... Args>
static void run (Args &&... args)
 Runs a single Phase.
 
- Protected Attributes inherited from thorin::Phase
Worldworld_
 
std::string name_
 
bool dirty_
 

Detailed Description

Removes unreachable and dead code by rebuilding the whole World into a new one and swapping afterwards.

Definition at line 64 of file phase.h.

Constructor & Destructor Documentation

◆ Cleanup()

thorin::Cleanup::Cleanup ( World world)
inline

Definition at line 66 of file phase.h.

Member Function Documentation

◆ start()

void thorin::Cleanup::start ( )
overridevirtual

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