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

SCM Repository

[smlnj] Diff of /MLRISC/trunk/ra/ra-flowgraph.sig
ViewVC logotype

Diff of /MLRISC/trunk/ra/ra-flowgraph.sig

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 467, Wed Nov 10 22:40:46 1999 UTC revision 641, Thu May 11 01:16:45 2000 UTC
# Line 18  Line 18 
18       sharing Spill.I = I       sharing Spill.I = I
19       sharing I.C = C       sharing I.C = C
20    
   
21     type flowgraph     type flowgraph
22    
23       val mode : G.mode
24    
25      (* Extract the regmap from the flowgraph *)      (* Extract the regmap from the flowgraph *)
26     val regmap : flowgraph -> C.regmap     val regmap : flowgraph -> C.regmap
27    
# Line 29  Line 30 
30    
31      (*      (*
32       * Interface for communicating with the new register allocator.       * Interface for communicating with the new register allocator.
33       * It is expected that the service provide will cache enough information       * It is expected that the services will cache enough information
34       * during build so that the rebuild and split phases can be execute       * during build so that the rebuild and spill phases can be execute
35       * quickly.       * quickly.
36       *)       *)
37     val services : flowgraph ->     val services : flowgraph ->
# Line 38  Line 39 
39                        G.move list, (* build the graph *)                        G.move list, (* build the graph *)
40           spill   : {copyInstr : Spill.copyInstr,           spill   : {copyInstr : Spill.copyInstr,
41                      spill     : Spill.spill,                      spill     : Spill.spill,
42                        spillSrc     : Spill.spillSrc,
43                        spillCopyTmp : Spill.spillCopyTmp,
44                      reload    : Spill.reload,                      reload    : Spill.reload,
45                        reloadDst    : Spill.reloadDst,
46                        renameSrc    : Spill.renameSrc,
47                      graph     : G.interferenceGraph,                      graph     : G.interferenceGraph,
48                      nodes     : G.node list,                      nodes     : G.node list,
49                      cellkind  : C.cellkind                      cellkind  : C.cellkind
50                     } -> G.move list,                     } -> G.move list,
51                       (* spill/rebuild the graph *)                       (* spill/rebuild the graph *)
52           freq    : G.programPoint -> W.freq (* execution frequency *)           programPoint : {block:int, instr:int} -> G.programPoint,
53             blockNum     : G.programPoint -> int,
54             instrNum     : G.programPoint -> int
55         }         }
56    
57  end  end

Legend:
Removed from v.467  
changed lines
  Added in v.641

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