scop.c: expr_embed: use pet_expr_foreach_access_expr
[pet.git] / tests / unsigned2.scop
bloba03c9d87caa0646ef3337c31008671c068e8829f
1 context: '{  :  }'
2 arrays:
3 - context: '{  :  }'
4   extent: '{ a[] }'
5   element_type: int
6 statements:
7 - line: 8
8   domain: '{ S_0[k] : exists (e0 = [(507 - k)/256]: k >= 0 and k <= 255 and 256e0
9     >= 252 - k and 256e0 <= 261 - k) }'
10   schedule: '{ S_0[k] -> [0, o1] : exists (e0 = [(-k + o1)/256]: 256e0 = -k + o1 and
11     o1 >= 252 and k <= 255 and k >= 0 and o1 <= 261) }'
12   body:
13     type: binary
14     operation: =
15     arguments:
16     - type: access
17       relation: '{ S_0[k] -> a[] }'
18       read: 0
19       write: 1
20     - type: access
21       relation: '{ S_0[k] -> [5] }'
22       read: 1
23       write: 0