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/cluster/clusterGraph.sig
ViewVC logotype

Annotation of /sml/trunk/src/MLRISC/cluster/clusterGraph.sig

Parent Directory Parent Directory | Revision Log Revision Log


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

1 : monnier 467 (*
2 :     * This gives a cluster a graph view so that all graph based algorithms
3 :     * can be applied on the cluster. The view is readonly though.
4 :     *
5 :     * -- Allen
6 :     *)
7 :     signature CLUSTER_GRAPH =
8 :     sig
9 :    
10 :     structure F : FLOWGRAPH
11 :     structure W : FREQ
12 :     sharing F.W = W
13 :    
14 :     type clusterInfo
15 :    
16 :     type clusterGraph = (F.block,W.freq ref,clusterInfo) Graph.graph
17 :    
18 :     val clusterGraph : F.cluster -> clusterGraph
19 :    
20 :     val cluster : clusterGraph -> F.cluster
21 :     val table : clusterGraph -> F.block Array.array
22 :     val isTakenBranch : W.freq ref Graph.edge -> bool
23 :     val nodeFreq : F.block -> W.freq ref
24 :    
25 :     end

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