Changes between Version 42 and Version 43 of IR


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

--

Legend:

Unmodified
Added
Removed
Modified
  • IR

    v42 v43  
    177177* `$initval(T)` : initial value of the named type
    178178* `$defined(e)` : is `e` defined? Type is `$bool`
    179 * `$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, ...)`
     179* `$has_next(dom, i, j, k, …)`: an expression of boolean type, testing if the domain `dom` contains any element after `(i, j, k, ...)`
    181180* `e1+e2` : addition.   One of the following must hold:
    182181 * `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. 
     
    200199* `e1<e2`, `e1<=e2`
    201200* `e0(e1,...,en)` : a function call where `e` must evaluate to an abstract or pure system function
    202 * `$forall`, `$exists` : **FILL IN**
     201* `$forall`, `$exists` :  `$forall {int i | e0} a[i] >= 0`
    203202* `e1.i`, some natural number i (tuple read)
    204203* `e1&e2`, `e1|e2`, `e1^e2`, `~e1` : bit-wise operations: arguments are arrays of booleans
     
    237236* Atomic_exit: `$atomic_exit;`
    238237* Parfor_spawn: `$parfor_spawn(int i,j,..: dom) f(i,j,...);`
     238* Domain iterator: `$next(dom, i, j,k,  …)` updates `i`, `j`, `k`, ... to be the value of the inter tuple in `dom` after `(i, j, k, ...)`
    239239* For_dom_enter (for domains): `$for_enter(i,j,k..: dom);`
    240240