Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Annotation of /sml/trunk/src/MLRISC/scheduling/regionBuilder.sig
ViewVC logotype

Annotation of /sml/trunk/src/MLRISC/scheduling/regionBuilder.sig

Parent Directory Parent Directory | Revision Log Revision Log


Revision 695 - (view) (download) (as text)

1 : leunga 695 (*
2 :     * This module partitions the IR according to some partitioning criteria
3 :     * and frequency. This is used mainly for global scheduling.
4 :     *
5 :     * -- Allen
6 :     *)
7 :    
8 :     signature REGION_BUILDER =
9 :     sig
10 :     structure IR : MLRISC_IR
11 :    
12 :     val regionBuilder :
13 :     { maxBlocks : int,
14 :     maxInstrs : int,
15 :     minFreqRatio : real,
16 :     sideEntries : bool, (* can the region has side entries *)
17 :     traceOnly : bool, (* no splits or merges? *)
18 :     internalBackEdges : bool, (* can the region has internal back edges*)
19 :     insertDummyBlocks : bool
20 :     } ->
21 :     IR.IR ->
22 :     ({ir : IR.IR, (* The entire program *)
23 :     region : IR.cfg, (* The subregion in question *)
24 :     numberOfInstructions : int,
25 :     blockIdTbl : int Array.array
26 :     } -> unit
27 :     ) -> unit
28 :    
29 :     end

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0