Debian Codegraph @

lib/mlrisc-lib/MLRISC/scheduling/globalSchedulingAlgo.sig

raw
1 (*
2 * Various global scheduling algorithm have this signature
3 *
4 * -- Allen
5 *)
6
7 signature GLOBAL_SCHEDULING_ALGORITHM =
8 sig
9
10 structure IR : MLRISC_IR
11 structure CFG : CONTROL_FLOW_GRAPH
12 structure DDG : SCHEDULER_DDG
13 sharing DDG.I = CFG.I
14 sharing IR.CFG = CFG
15
16 val schedule : DDG.SchedProps.cpu_info (* architecture *) ->
17 { ir : IR.IR, (* The overall IR *)
18 region : IR.cfg, (* Subregion for scheduling *)
19 numberOfInstructions : int,
20 blockIdTbl : int Array.array
21 } -> unit
22
23 end