This module contains a pass for propagating user provided borrows as far forward in the function as possible. This analysis is used to inform the reset-reuse insertion as to avoid inserting reset-reuse on values that the user explicitly requested to be borrowed.
@[implicit_reducible]
Equations
@[implicit_reducible]
Equations
Equations
- Lean.Compiler.LCNF.instBEqOwnedness.beq x✝ y✝ = (x✝.ctorIdx == y✝.ctorIdx)
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Lean.Compiler.LCNF.Decl.applyOwnedness
(decl : Decl Purity.impure)
(values : Std.HashMap FVarId Ownedness)
:
Equations
- One or more equations did not get rendered due to their size.