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 3862, Sun May 15 15:44:30 2016 UTC revision 3924, Fri Jun 3 17:30:27 2016 UTC
# Line 55  Line 55 
55    
56      and stm      and stm
57        = S_Comment of string list        = S_Comment of string list
58        | S_Assign of bool * var * exp        | S_Assign of bool * var * exp    (* assignment; the boolean is true for var decls *)
59        | S_MAssign of var list * exp        | S_MAssign of var list * exp
60        | S_GAssign of global_var * exp        | S_GAssign of global_var * exp
61        | S_IfThen of exp * block        | S_IfThen of exp * block
62        | S_IfThenElse of exp * block * block        | S_IfThenElse of exp * block * block
63          | S_For of var * exp * exp * block
64        | S_Foreach of var * exp * block        | S_Foreach of var * exp * block
65      (* special Diderot forms *)      (* special Diderot forms *)
66        | S_LoadNrrd of var * string        | S_LoadNrrd of var * APITypes.t * string
67        | S_Input of global_var * string * string option * exp option (* get input *)        | S_Input of global_var * string * string option * exp option (* get input *)
68        | 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 *)
69        | S_New of Atom.atom * exp list   (* new strand creation *)        | S_New of Atom.atom * exp list   (* new strand creation *)
# Line 80  Line 81 
81        | E_Var of var        | E_Var of var
82        | E_Lit of Literal.t        | E_Lit of Literal.t
83        | E_Op of Op.rator * exp list        | E_Op of Op.rator * exp list
84        | E_Vec of int * exp list                 (* vector value; the int is the padded width *)        | E_Vec of int * int * exp list           (* vector value; the ints are the width and the
85                                                     * padded width
86                                                     *)
87        | E_Cons of exp list * Ty.t               (* in-memory tensor value *)        | E_Cons of exp list * Ty.t               (* in-memory tensor value *)
88        | E_Seq of exp list * Ty.t        | E_Seq of exp list * Ty.t
89        | E_Pack of Ty.vec_layout * exp list      (* pack vector pieces into composite vector value *)        | E_Pack of Ty.vec_layout * exp list      (* pack vector pieces into composite vector value *)
90        | E_VLoad of Ty.vec_layout * exp * int    (* load a piece of a composite vector value from        | E_VLoad of Ty.vec_layout * exp * int    (* load a piece of a composite vector value from
91                                                   * a tensor.                                                   * a tensor.  The integer specifies the index of
92                                                     * the piece.
93                                                   *)                                                   *)
94    
95      and global_var = GV of {      and global_var = GV of {

Legend:
Removed from v.3862  
changed lines
  Added in v.3924

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