1
|
open Format
|
2
|
open Lustre_types
|
3
|
open Machine_code_types
|
4
|
open C_backend_common
|
5
|
|
6
|
module type MODIFIERS_HDR = sig
|
7
|
module GhostProto : MODIFIERS_GHOST_PROTO
|
8
|
|
9
|
val pp_machine_decl_prefix : formatter -> machine_t -> unit
|
10
|
|
11
|
val pp_predicates : formatter -> machine_t list -> unit
|
12
|
|
13
|
val pp_import_arrow : formatter -> unit -> unit
|
14
|
|
15
|
val pp_machine_alloc_decl : formatter -> machine_t -> unit
|
16
|
end
|
17
|
|
18
|
module EmptyMod : MODIFIERS_HDR
|
19
|
|
20
|
module Main (Mod : MODIFIERS_HDR) : sig
|
21
|
val pp_header_from_header : formatter -> string -> top_decl list -> unit
|
22
|
|
23
|
val pp_alloc_header :
|
24
|
formatter -> string -> machine_t list -> dep_t list -> unit
|
25
|
end
|