scop.c: extract out expr_collect_access
[pet.git] / tests / unsigned1.scop
blob1b4979122df9d482f276e35965e7901aa5d367db
1 start: 60
2 end: 256
3 context: '{  :  }'
4 arrays:
5 - context: '{  :  }'
6   extent: '{ a[] }'
7   element_type: int
8   element_size: 4
9 statements:
10 - line: 10
11   domain: '{ S_0[i, j, k] : (exists (e0: i >= 0 and i <= 199 and j >= 0 and j <= 199
12     and k >= 0 and k <= 255 and 256e0 <= k and 256e0 >= 1 - i - j + k and j <= 2147483647
13     - i)) or (i >= 0 and i <= 199 and j >= 0 and j <= 199 and k >= 0 and k <= 255
14     and j >= 256 - i and j <= 2147483647 - i) }'
15   schedule: '{ S_0[i, j, k] -> [0, i, j, o3] : (exists (e0 = floor((-k + o3)/256):
16     256e0 = -k + o3 and o3 >= 0 and o3 <= -1 + i + j and j <= 2147483647 - i and k
17     >= 0 and k <= 255)) or (exists (e0 = floor((-k + o3)/256): 256e0 = -k + o3 and
18     o3 >= 0 and o3 >= i + j and j >= 256 - i and j <= 2147483647 - i and k >= 0 and
19     k <= 255)) }'
20   body:
21     type: binary
22     operation: =
23     arguments:
24     - type: access
25       relation: '{ S_0[i, j, k] -> a[] }'
26       index: '{ S_0[i, j, k] -> a[] }'
27       reference: __pet_ref_0
28       read: 0
29       write: 1
30     - type: access
31       relation: '{ S_0[i, j, k] -> [5] }'
32       index: '{ S_0[i, j, k] -> [(5)] }'
33       reference: __pet_ref_1
34       read: 1
35       write: 0