Structs§
- Codegen
Output - Compiler
- Compile a program from WebAssembly or Miden IR, to Miden Assembly.
- Compiler
Stopped - The compilation pipeline was stopped early
- Context
- Represents the shared state of the IR, used during a compilation session.
- Link
Output
Functions§
- compile
- Run the compiler using the provided [Session]
- compile_
link_ output_ to_ masm - Lowers previously-generated pre-link outputs of the compiler to Miden Assembly/MAST.
- compile_
link_ output_ to_ masm_ with_ pre_ assembly_ stage - Lowers previously-generated pre-link outputs of the compiler to Miden Assembly/MAST, but with an provided callback that will be used as an extra compiler stage just prior to assembly.
- compile_
to_ memory - Same as
compile, but return compiled artifacts to the caller - compile_
to_ memory_ with_ pre_ assembly_ stage - Same as
compile_to_memory, but allows registering a callback which will be used as an extra compiler stage immediately after code generation and prior to assembly, if the linker was run. - compile_
to_ optimized_ hir - Compile the current inputs without lowering to Miden Assembly.
- compile_
to_ unoptimized_ hir - Compile the current inputs without lowering to Miden Assembly and without any IR transformations.