Module Regalloc_utils
module Array : module type of Stdlib.ArrayLabelsArray operations.
module List : module type of Stdlib.ListLabelsList operations.
val fatal : ('a, Stdlib.Format.formatter, unit, 'b) Stdlib.format4 -> 'aval bool_of_param :
?guard:(bool * string) ->
?default:bool ->
string ->
bool Stdlib.Lazy.tval invariants : bool Stdlib.Lazy.tval verbose : bool Stdlib.Lazy.tval validator_debug : bool Stdlib.Lazy.tval block_temporaries : bool Stdlib.Lazy.tval affinity : bool Stdlib.Lazy.ttype liveness = Cfg_with_infos.livenesstype log_function = {indent : unit -> unit;dedent : unit -> unit;reset_indentation : unit -> unit;log : 'a. ?no_eol:unit -> ('a, Stdlib.Format.formatter, unit) Stdlib.format -> 'a;enabled : bool;
}val make_log_function : label:string -> Regalloc_utils.log_functionmodule Instruction : sig ... endval first_instruction_id : Cfg.basic_block -> InstructionId.tval collect_cfg_infos : Cfg_with_layout.t -> Regalloc_utils.cfg_infosval make_log_body_and_terminator :
Regalloc_utils.log_function ->
instr_prefix:(Cfg.basic Cfg.instruction -> string) ->
term_prefix:(Cfg.terminator Cfg.instruction -> string) ->
Cfg.basic_instruction_list ->
Cfg.terminator Cfg.instruction ->
Regalloc_utils.liveness ->
unitval make_log_cfg_with_infos :
Regalloc_utils.log_function ->
instr_prefix:(Cfg.basic Cfg.instruction -> string) ->
term_prefix:(Cfg.terminator Cfg.instruction -> string) ->
Cfg_with_infos.t ->
unitmodule Move : sig ... endmodule Insert_skipping_name_for_debugger : sig ... endval simplify_cfg : Cfg_with_layout.t -> Cfg_with_layout.tval save_cfg : string -> Cfg_with_layout.t -> unitval update_live_fields : Cfg_with_layout.t -> Regalloc_utils.liveness -> unitmodule SpillCosts : sig ... endval check_lengths : of_arg:int -> of_res:int -> 'a Cfg.instruction -> unitval equal_stack_operands_rewrite :
Regalloc_utils.stack_operands_rewrite ->
Regalloc_utils.stack_operands_rewrite ->
booltype spilled_map = Regalloc_substitution.tval is_spilled : Regalloc_utils.spilled_map -> Reg.t -> boolval use_stack_operand :
Regalloc_utils.spilled_map ->
Reg.t array ->
int ->
unitval may_use_stack_operands_array :
Regalloc_utils.spilled_map ->
Reg.t array ->
unitval may_use_stack_operands_everywhere :
Regalloc_utils.spilled_map ->
'a Cfg.instruction ->
Regalloc_utils.stack_operands_rewriteval occurs_instruction : _ Cfg.instruction -> Reg.t -> boolval occurs_block_body : Cfg.basic_block -> Reg.t -> boolval occurs_block : Cfg.basic_block -> Reg.t -> bool