Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /branches/vis15/src/compiler/tree-ir/tree-ir.sml
ViewVC logotype

Diff of /branches/vis15/src/compiler/tree-ir/tree-ir.sml

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

revision 4380, Mon Aug 8 17:05:58 2016 UTC revision 4386, Tue Aug 9 13:51:49 2016 UTC
# Line 73  Line 73 
73        | S_For of var * exp * exp * block        | S_For of var * exp * exp * block
74        | S_Foreach of var * exp * block        | S_Foreach of var * exp * block
75      (* special Diderot forms *)      (* special Diderot forms *)
76        | S_MapReduce of (var * Reductions.t * block) list * var * StrandSets.t        | S_MapReduce of map_reduce list * var
77        | S_LoadNrrd of var * APITypes.t * string        | S_LoadNrrd of var * APITypes.t * string
78        | S_Input of global_var * string * string option * exp option (* get input *)        | S_Input of global_var * string * string option * exp option (* get input *)
79        | S_InputNrrd of global_var * string * string option * string option (* get image/seq input *)        | S_InputNrrd of global_var * string * string option * string option (* get image/seq input *)
# Line 86  Line 86 
86        | S_Stabilize        | S_Stabilize
87        | S_Die        | S_Die
88    
89        and map_reduce
90          = MapReduce of (var * Reductions.t * func * exp list * StrandSets.t)
91    
92      and exp      and exp
93        = E_Global of global_var        = E_Global of global_var
94        | E_State of exp option * state_var        | E_State of exp option * state_var
# Line 131  Line 134 
134          id : Stamp.stamp,               (* unique ID *)          id : Stamp.stamp,               (* unique ID *)
135          ty : Ty.t,                      (* return type *)          ty : Ty.t,                      (* return type *)
136          paramTys : Ty.t list,           (* parameter types *)          paramTys : Ty.t list,           (* parameter types *)
137            isMapFn : bool,                 (* is the function used in a parallel map? *)
138          needsW : bool,                  (* does the function need the world (e.g., to print) *)          needsW : bool,                  (* does the function need the world (e.g., to print) *)
139          hasG : bool                     (* does the function contain references to globals? *)          hasG : bool                     (* does the function contain references to globals? *)
140        }        }

Legend:
Removed from v.4380  
changed lines
  Added in v.4386

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