Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Equations
- Lean.Compiler.LCNF.instLTPhase = { lt := fun (l r : Lean.Compiler.LCNF.Phase) => l.toNat < r.toNat }
Equations
- Lean.Compiler.LCNF.instLEPhase = { le := fun (l r : Lean.Compiler.LCNF.Phase) => l.toNat ≤ r.toNat }
Equations
Equations
A single compiler Pass, consisting of the actual pass function operating
on the Decls as well as meta information.
- occurrence : Nat
Which occurrence of the pass in the pipeline this is. Some passes, like simp, can occur multiple times in the pipeline. For most passes this value does not matter.
- phase : Phase
Which phase this
Passis supposed to run in - phaseOut : Phase
Resulting phase.
- shouldAlwaysRunCheck : Bool
Whether IR validation checks should always run after this pass, regardless of configuration options.
- name : Name
The name of the
Pass The actual pass function, operating on the
Decls.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Can be used to install, remove, replace etc. passes by tagging a declaration
of type PassInstaller with the cpass attribute.
- phase : Phase
Affected phase.
Instances For
Equations
Instances For
The PassManager used to store all Passes that will be run within
pipeline.
Passes that happen during the LCNF base phase
Passes that happen during the LCNF mono phase before lambda lifting
Passes that happen during the LCNF mono phase after lambda lifting. Note that lifted lambdas will have been lifted out of the SCC they originated from if possible.
Passes that happen during the LCNF impure phase.
Instances For
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Lean.Compiler.LCNF.PassInstaller.installAtEnd phase p = { phase := phase, install := fun (passes : Array Lean.Compiler.LCNF.Pass) => pure (passes.push p) }
Instances For
Equations
- Lean.Compiler.LCNF.PassInstaller.append phase passesNew = { phase := phase, install := fun (passes : Array Lean.Compiler.LCNF.Pass) => pure (passes ++ passesNew) }
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.