jon.recoil.org

Module Flambda2_cmx.Exported_code

type t
type raw
include Flambda2_nominal.Contains_ids.S with type t := Flambda2_cmx.Exported_code.t

Gather all table identifiers to export them.

This function raises an exception if the code ID is unbound.

This function is only really for use in unusual cases where there needs to be special handling if a code ID is unbound (see comment in the .ml file)

val remove_unused_value_slots_from_result_types_and_shortcut_aliases : used_value_slots:Flambda2_identifiers.Value_slot.Set.t -> canonicalise:(Flambda2_term_basics.Simple.t -> Flambda2_term_basics.Simple.t) -> Flambda2_cmx.Exported_code.t -> Flambda2_cmx.Exported_code.t
val iter_code : Flambda2_cmx.Exported_code.t -> f:(Flambda2_terms.Code.t -> unit) -> unit
val from_raw : sections:Oxcaml_utils.File_sections.t -> Flambda2_cmx.Exported_code.raw -> Flambda2_cmx.Exported_code.t
val map_raw_index : (int -> int) -> Flambda2_cmx.Exported_code.raw -> Flambda2_cmx.Exported_code.raw