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.
Instances For
def
Lean.Compiler.LCNF.Decl.applyOwnedness
(decl : Decl Purity.impure)
(values : Std.HashMap FVarId Ownedness)
: