Module Regalloc_rewrite
module type State = sig ... endmodule type Utils = sig ... endval rewrite_gen :
(module Regalloc_rewrite.State with type t = 's) ->
(module Regalloc_rewrite.Utils) ->
's ->
Cfg_with_infos.t ->
spilled_nodes:Reg.t list ->
block_temporaries:bool ->
Reg.t list * Reg.t list * boolval prelude :
(module Regalloc_rewrite.Utils) ->
on_fatal_callback:(unit -> unit) ->
Cfg_with_infos.t ->
Regalloc_utils.cfg_infos * Regalloc_stack_slots.t * Regalloc_affinity.tval postlude :
(module Regalloc_rewrite.State with type t = 's) ->
(module Regalloc_rewrite.Utils) ->
's ->
f:(unit -> unit) ->
Cfg_with_infos.t ->
unit