Skip to main content

Module pipeline

Module pipeline 

Source

Structs§

PipelineStats
Statistics from a pipeline run.

Constants§

MAX_PIPELINE_ITERATIONS
Maximum number of iterations for the pipeline to avoid infinite loops.

Functions§

default_passes
Returns the default optimization pass sequence. Order: BetaReduce → Inline → CaseReduce → Dce → PartialEval.
optimize
Run the default optimization pipeline to fixed point.
run_pass_to_fixpoint
Run a single pass to fixed point (convenience). Returns the number of times the pass reported a change.
run_pipeline
Run a sequence of passes to fixed point. Keeps iterating until no pass reports a change or MAX_PIPELINE_ITERATIONS is reached. Returns stats about how many iterations and per-pass invocations.