jon.recoil.org

Module Flambda2_simplify.Upwards_acc

type t

Print a upwards accumulator to a formatter.

Extract the environment component of the given upwards accumulator.

Return the lifted constants that still need to be placed (i.e. have Let-expressions made for them) on the upwards traversal.

Replace the accumulator of lifted constants.

val no_lifted_constants : Flambda2_simplify.Upwards_acc.t -> bool

Map the environment component of the given upwards accumulator.

Replace the environment component of the given upwards accumulator.

Note that this only includes uses of value slots in projections.

This function exists as an optimisation to reduce allocation.

val generate_phantom_lets : Flambda2_simplify.Upwards_acc.t -> bool
val resimplify : Flambda2_simplify.Upwards_acc.t -> bool