Thorin 1.9.0
The Higher ORder INtermediate representation
Loading...
Searching...
No Matches
thorin::ll Namespace Reference

Classes

struct  BB
 
class  Emitter
 

Functions

void emit (World &, std::ostream &)
 
int compile (World &, std::string name)
 
int compile (World &, std::string ll, std::string out)
 
int compile_and_run (World &, std::string name, std::string args={})
 

Function Documentation

◆ compile() [1/2]

int thorin::ll::compile ( World world,
std::string  ll,
std::string  out 
)

Definition at line 1079 of file ll.cpp.

References emit(), thorin::fmt(), and thorin::sys::system().

◆ compile() [2/2]

int thorin::ll::compile ( World world,
std::string  name 
)

Definition at line 1070 of file ll.cpp.

References compile().

Referenced by compile(), and compile_and_run().

◆ compile_and_run()

int thorin::ll::compile_and_run ( World world,
std::string  name,
std::string  args = {} 
)

Definition at line 1087 of file ll.cpp.

References compile(), thorin::error(), and thorin::sys::run().

◆ emit()

void thorin::ll::emit ( World world,
std::ostream &  ostream 
)

Definition at line 1065 of file ll.cpp.

References thorin::Phase::run().

Referenced by compile(), and thorin_get_plugin().