jon.recoil.org

Module Flambda2_simplify.Rebuilt_static_const

Static constants, equipped with free name information, as rebuilt by the simplifier. Definitions of the constants themselves are not kept when not rebuilding terms, but some of the metadata is.

type t
type rebuilt_static_const = t
val print : Format.formatter -> t -> unit
val cost_metrics : t -> Flambda2_terms.Cost_metrics.t
val create_code' : Flambda2_terms.Code.t -> t
val create_mutable_string : Flambda2_simplify_shared.Are_rebuilding_terms.t -> initial_value:string -> t
val create_immutable_string : Flambda2_simplify_shared.Are_rebuilding_terms.t -> string -> t
val is_block : t -> bool
val is_set_of_closures : t -> bool
val is_code : t -> bool
val is_fully_static : t -> bool
val make_code_deleted : t -> if_code_id_is_member_of:Flambda2_identifiers.Code_id.Set.t -> t

This will return None if terms are not being rebuilt.

module Group : sig ... end