Module Regalloc_utils
module Array : module type of ArrayLabelsArray operations.
module List : module type of ListLabelsList operations.
val fatal : ('a, Format.formatter, unit, 'b) format4 -> 'aval bool_of_param :
?guard:(bool * string) ->
?default:bool ->
string ->
bool Lazy.tval int_of_param : ?default:int -> string -> int Lazy.tval invariants : bool Lazy.tval verbose : bool Lazy.tval validator_debug : bool Lazy.tval block_temporaries : bool Lazy.tval affinity : bool 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, Format.formatter, unit) format -> 'a;enabled : bool;
}val make_log_function : label:string -> log_functionmodule Instruction : sig ... endval first_instruction_id : Cfg.basic_block -> InstructionId.tval collect_cfg_infos : Cfg_with_layout.t -> cfg_infosval make_log_body_and_terminator :
log_function ->
instr_prefix:(Cfg.basic Cfg.instruction -> string) ->
term_prefix:(Cfg.terminator Cfg.instruction -> string) ->
Cfg.basic_instruction_list ->
Cfg.terminator Cfg.instruction ->
liveness ->
unitval make_log_cfg_with_infos :
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 -> liveness -> unitmodule SpillCosts : sig ... endval check_lengths : of_arg:int -> of_res:int -> 'a Cfg.instruction -> unitval equal_stack_operands_rewrite :
stack_operands_rewrite ->
stack_operands_rewrite ->
booltype spilled_map = Regalloc_substitution.tval is_spilled : spilled_map -> Reg.t -> boolval use_stack_operand : spilled_map -> Reg.t array -> int -> unitval may_use_stack_operands_array : spilled_map -> Reg.t array -> unitval may_use_stack_operands_everywhere :
spilled_map ->
'a Cfg.instruction ->
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