Skip to main content

optimize_context_ir

Function optimize_context_ir 

Source
pub fn optimize_context_ir(
    input: &IntermediateRepresentation,
) -> OptimizedContextIrReport
Expand description

Run the existing immutable optimization pipeline over G10-generated Context source functions only. The source-to-slot bindings remain compiler-owned G9/G10 facts; optimization can simplify a source value producer but cannot select, replace, merge, or remove a Context slot.