Changes between Version 40 and Version 41 of IR


Ignore:
Timestamp:
11/23/15 17:30:52 (10 years ago)
Author:
zmanchun
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • IR

    v40 v41  
    178178* `$defined(e)` : is `e` defined? Type is `$bool`
    179179* `$hasNextIn((i, j, k…), dom)`: an expression of boolean type, testing if the domain `dom` contains any element after `(i, j, k, ...)`
     180* `$nextIn((i, j, k…), dom)`: an expression of integer tuple type, the value is the tuple in the domain `dom` after `(i, j, k, ...)`
    180181* `e1+e2` : addition.   One of the following must hold:
    181182 * `e1` and `e2` have the same numeric type.  Note that there are no "automatic conversions" as there are in C.  If the original expressions have different types, explicit casts must be inserted. 
     
    230231 * **Is there a need to add annotations for "true" or "false" branch, etc.?**  If so, we can just make these parameters to the Noop.
    231232* Return: `return;` and `return e;`
    232 * Atomic_enter: `$atomic_enter`
    233 * Atomic_exit: `$atomic_exit`
    234 * Parfor_spawn: `$parfor_spawn(int i,j,..: dom) f(i,j,...)`
    235 * For_dom_enter (for domains): `$for_enter(i,j,k..: dom)`
     233* Atomic_enter: `$atomic_enter;`
     234* Atomic_exit: `$atomic_exit;`
     235* Parfor_spawn: `$parfor_spawn(int i,j,..: dom) f(i,j,...);`
     236* For_dom_enter (for domains): `$for_enter(i,j,k..: dom);`
    236237
    237238
     
    323324
    324325== Libraries ==
    325