Documentation
Lean
.
Compiler
.
IR
.
ElimDeadVars
Search
return to top
source
Imports
Lean.Compiler.IR.Basic
Lean.Compiler.IR.FreeVars
Imported by
Lean
.
IR
.
reshapeWithoutDead
Lean
.
IR
.
reshapeWithoutDead
.
reshape
Lean
.
IR
.
FnBody
.
elimDead
Lean
.
IR
.
Decl
.
elimDead
source
def
Lean
.
IR
.
reshapeWithoutDead
(
bs
:
Array
FnBody
)
(
term
:
FnBody
)
:
FnBody
Equations
Instances For
source
partial def
Lean
.
IR
.
reshapeWithoutDead
.
reshape
(
bs
:
Array
FnBody
)
(
b
:
FnBody
)
(
used
:
IndexSet
)
:
FnBody
source
partial def
Lean
.
IR
.
FnBody
.
elimDead
(
b
:
FnBody
)
:
FnBody
source
def
Lean
.
IR
.
Decl
.
elimDead
(
d
:
Decl
)
:
Decl
Eliminate dead let-declarations and join points
Equations
Instances For