|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Minimal example that builds HIR and IR manually without using the MVP parser. More...
Go to the source code of this file.
Functions | |
| int | main () |
Minimal example that builds HIR and IR manually without using the MVP parser.
Definition in file compiler_builder_example.cc.
| int main | ( | void | ) |
Definition at line 43 of file compiler_builder_example.cc.
References Aleph::Compiler_IR_Builder::add_global_slot(), Aleph::Compiler_IR_Builder::add_local_slot(), Aleph::Compiler_HIR_Builder::add_parameter(), Aleph::DynArray< T >::append(), Aleph::Compiler_HIR_Builder::append_argument(), Aleph::Compiler_HIR_Builder::append_function(), Aleph::Compiler_IR_Builder::append_function(), Aleph::Compiler_HIR_Builder::append_statement(), Aleph::Compiler_HIR_Builder::append_top_level_statement(), Aleph::blossom_maximum_cardinality_matching(), Aleph::compiler_dump_hir_module(), Aleph::compiler_dump_ir_module(), Aleph::Compiler_IR_Builder::create_block(), Aleph::Compiler_IR_Builder::emit_binary(), Aleph::Compiler_IR_Builder::emit_call(), Aleph::Compiler_IR_Builder::emit_constant(), Aleph::Compiler_IR_Builder::emit_function_ref(), Aleph::Compiler_IR_Builder::emit_load_local(), Aleph::Compiler_IR_Builder::emit_store_global(), Aleph::exit(), Aleph::Compiler_Type_Context::integer_type(), Aleph::Compiler_HIR_Builder::make_binary(), Aleph::Compiler_HIR_Builder::make_block(), Aleph::Compiler_HIR_Builder::make_call(), Aleph::Compiler_HIR_Builder::make_function(), Aleph::Compiler_IR_Builder::make_function(), Aleph::Compiler_Type_Context::make_function_type(), Aleph::Compiler_HIR_Builder::make_integer_constant(), Aleph::Compiler_HIR_Builder::make_let_stmt(), Aleph::Compiler_IR_Builder::make_module(), Aleph::Compiler_HIR_Builder::make_module(), Aleph::Compiler_HIR_Builder::make_return_stmt(), Aleph::Compiler_HIR_Builder::make_variable(), Aleph::Compiler_HIR_Builder::set_body(), Aleph::Compiler_IR_Builder::set_entry_block(), Aleph::Compiler_IR_Builder::set_exit(), Aleph::Compiler_IR_Builder::set_exit_block(), Aleph::Compiler_IR_Builder::set_jump(), Aleph::Compiler_IR_Builder::set_return(), Aleph::Compiler_IR_Builder::set_top_level(), Aleph::sum(), and y.