jon.recoil.org

Module Regalloc_ls_state

module DLL = Oxcaml_utils.Doubly_linked_list
type t
val make : stack_slots:Regalloc_stack_slots.t -> affinity:Regalloc_affinity.t -> Regalloc_ls_state.t
val iter_intervals : Regalloc_ls_state.t -> f:(Regalloc_ls_utils.Interval.t -> unit) -> unit
val fold_intervals : Regalloc_ls_state.t -> f:('a -> Regalloc_ls_utils.Interval.t -> 'a) -> init:'a -> 'a
val release_expired_intervals : Regalloc_ls_state.t -> pos:int -> unit
val set_ls_order : Regalloc_ls_state.t -> instruction_id:InstructionId.t -> ls_order:int -> unit
val get_ls_order : Regalloc_ls_state.t -> instruction_id:InstructionId.t -> int
val ls_order_mapping : Regalloc_ls_state.t -> InstructionId.t -> int
val invariant_intervals : Regalloc_ls_state.t -> Cfg_with_infos.t -> unit
val invariant_active : Regalloc_ls_state.t -> unit