Expand description
IR lowering passes: HIR→MIR and MIR→LIR.
These passes transform between the compiler’s intermediate representations, flattening structured control flow and performing instruction selection.
Re-exports§
pub use hir_to_mir::lower_kernel;pub use mir_to_lir::lower_function;
Modules§
- hir_
to_ mir - HIR to MIR lowering: flattens structured control flow into a CFG and constructs SSA form with explicit basic blocks and terminators.
- mir_
to_ lir - MIR to LIR lowering: instruction selection and structured control flow emission.