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 /MLRISC/releases/release-110.64/SSA/ssa-scheduler.sml
ViewVC logotype

Annotation of /MLRISC/releases/release-110.64/SSA/ssa-scheduler.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2126 - (view) (download)
Original Path: MLRISC/trunk/SSA/ssa-scheduler.sml

1 : leunga 695 (*
2 :     * Global DAG Scheduling on the SSA graph.
3 :     *
4 :     * -- Allen (leunga@cs.nyu.edu)
5 :     *)
6 :     functor SSAScheduler(SSA : SSA) : SSA_OPTIMIZATION =
7 :     struct
8 :     structure SSA = SSA
9 :     structure SP = SSA.SP
10 :     structure RTL = SSA.RTL
11 :     structure T = RTL.T
12 :     structure G = Graph
13 :     structure W8A = Word8Array
14 :     structure A = Array
15 :    
16 :     type flowgraph = SSA.ssa
17 :    
18 :     fun error msg = MLRiscErrorMsg.error("SSAScheduler",msg)
19 :    
20 :     val name = "Global Scheduling"
21 :    
22 :     fun run(SSA as G.GRAPH ssa) =
23 :     let val CFG as G.GRAPH cfg = SSA.cfg SSA
24 :     in SSA
25 :     end
26 :     end

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