jon.recoil.org

Module Regalloc_utils.SpillCosts

type t
val empty : unit -> Regalloc_utils.SpillCosts.t
val iter : Regalloc_utils.SpillCosts.t -> f:(Reg.t -> int -> unit) -> unit
val for_reg : Regalloc_utils.SpillCosts.t -> Reg.t -> int
val add_to_reg : Regalloc_utils.SpillCosts.t -> Reg.t -> int -> unit
val compute : Cfg_with_infos.t -> flat:bool -> unit -> Regalloc_utils.SpillCosts.t