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 /sml/trunk/src/MLRISC/flowgraph/cfg.sig
ViewVC logotype

Diff of /sml/trunk/src/MLRISC/flowgraph/cfg.sig

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

revision 1124, Thu Mar 7 19:49:22 2002 UTC revision 1125, Thu Mar 7 21:04:13 2002 UTC
# Line 14  Line 14 
14     structure P : PSEUDO_OPS     structure P : PSEUDO_OPS
15     structure I : INSTRUCTIONS     structure I : INSTRUCTIONS
16    
17     structure W : FREQ    (* used to represent frequency of execution; we use reals because some
18       * static prediction methods produce such.
19     type weight = W.freq     *)
20       type weight = real
21    
22     datatype block_kind =     datatype block_kind =
23         START          (* entry node *)         START          (* entry node *)
# Line 119  Line 120 
120     *  Methods for manipulating basic blocks     *  Methods for manipulating basic blocks
121     *     *
122     *========================================================================*)     *========================================================================*)
123     val newBlock          : int * W.freq ref -> block (* empty *)     val newBlock          : int * weight ref -> block    (* empty *)
124     val newStart          : int * W.freq ref -> block          (* start node *)     val newStart          : int * weight ref -> block    (* start node *)
125     val newStop           : int * W.freq ref -> block          (* stop node *)     val newStop           : int * weight ref -> block    (* stop node *)
126     val copyBlock         : int * block -> block       (* copy a block *)     val copyBlock         : int * block -> block       (* copy a block *)
127     val defineLabel       : block -> Label.label       (* define a label *)     val defineLabel       : block -> Label.label       (* define a label *)
128     val insns             : block -> I.instruction list ref     val insns             : block -> I.instruction list ref
129     val freq              : block -> W.freq ref     val freq              : block -> weight ref
130     val branchOf          : edge_info -> bool option     val branchOf          : edge_info -> bool option
131    
132                 (* emit assembly *)                 (* emit assembly *)

Legend:
Removed from v.1124  
changed lines
  Added in v.1125

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