Documentation
Lean
.
Compiler
.
IR
Search
return to top
source
Imports
Lean.Compiler.IR.Basic
Lean.Compiler.IR.Borrow
Lean.Compiler.IR.Boxing
Lean.Compiler.IR.Checker
Lean.Compiler.IR.CompilerM
Lean.Compiler.IR.ElimDeadBranches
Lean.Compiler.IR.ElimDeadVars
Lean.Compiler.IR.EmitC
Lean.Compiler.IR.EmitLLVM
Lean.Compiler.IR.ExpandResetReuse
Lean.Compiler.IR.Format
Lean.Compiler.IR.LLVMBindings
Lean.Compiler.IR.NormIds
Lean.Compiler.IR.PushProj
Lean.Compiler.IR.RC
Lean.Compiler.IR.ResetReuse
Lean.Compiler.IR.SimpCase
Lean.Compiler.IR.Sorry
Lean.Compiler.IR.ToIR
Lean.Compiler.IR.ToIRType
Lean.Compiler.IR.UnboxResult
Imported by
Lean.Compiler.LCNF.Main
Lean.Compiler
Lean
.
IR
.
compiler
.
reuse
Lean
.
IR
.
compile
Lean
.
IR
.
addBoxedVersionAux
Lean
.
IR
.
addBoxedVersion
source
opaque
Lean
.
IR
.
compiler
.
reuse
:
Lean.Option
Bool
source
@[export lean_ir_compile]
def
Lean
.
IR
.
compile
(
env
:
Environment
)
(
opts
:
Options
)
(
decls
:
Array
Decl
)
:
Log
×
Except
String
Environment
Equations
source
def
Lean
.
IR
.
addBoxedVersionAux
(
decl
:
Decl
)
:
CompilerM
Unit
Equations
source
@[export lean_ir_add_boxed_version]
def
Lean
.
IR
.
addBoxedVersion
(
env
:
Environment
)
(
decl
:
Decl
)
:
Except
String
Environment
Equations