Documentation

Lean.Compiler.LCNF.CSE

Common Sub-expression Elimination

Equations
  • One or more equations did not get rendered due to their size.
@[inline]
Equations
@[inline]
Equations
@[inline]
Equations
  • One or more equations did not get rendered due to their size.
def Lean.Compiler.LCNF.Code.cse (shouldElimFunDecls : Bool) (code : Code) :
Equations
partial def Lean.Compiler.LCNF.Code.cse.goFunDecl (shouldElimFunDecls : Bool) (decl : FunDecl) :
partial def Lean.Compiler.LCNF.Code.cse.go (shouldElimFunDecls : Bool) (code : Code) :
def Lean.Compiler.LCNF.Decl.cse (shouldElimFunDecls : Bool) (decl : Decl) :

Common sub-expression elimination

Equations
  • One or more equations did not get rendered due to their size.
def Lean.Compiler.LCNF.cse (phase : Phase := Phase.base) (shouldElimFunDecls : Bool := false) (occurrence : Nat := 0) :
Equations