scop.c: extract out expr_collect_access
[pet.git] / tests / unsigned_break1.scop
blob27e724a2447ecf2c0982e8c221aa71d2d4c49aac
1 start: 40
2 end: 150
3 context: '{  :  }'
4 arrays:
5 - context: '{  :  }'
6   extent: '{ a[] }'
7   element_type: int
8   element_size: 4
9 statements:
10 - line: 8
11   domain: '{ S_0[k] : exists (e0 = floor((-2 + k)/256): k >= 0 and k <= 255 and 256e0
12     <= -252 + k and 256e0 >= -257 + k) }'
13   schedule: '{ S_0[k] -> [0, o1, 0] : exists (e0 = floor((k - o1)/256): 256e0 = k
14     - o1 and o1 >= 252 and o1 <= 257 and k >= 0 and k <= 255) }'
15   body:
16     type: binary
17     operation: =
18     arguments:
19     - type: access
20       relation: '{ S_0[k] -> a[] }'
21       index: '{ S_0[k] -> a[] }'
22       reference: __pet_ref_0
23       read: 0
24       write: 1
25     - type: access
26       relation: '{ S_0[k] -> [5] }'
27       index: '{ S_0[k] -> [(5)] }'
28       reference: __pet_ref_1
29       read: 1
30       write: 0
31 - line: 11
32   domain: '{ S_1[k] : exists (e0 = floor((-2 + k)/256): k >= 2 and k <= 255 and 256e0
33     <= -252 + k and 256e0 >= -257 + k); S_1[0] }'
34   schedule: '{ S_1[k] -> [0, o1, 2] : exists (e0 = floor((k - o1)/256): 256e0 = k
35     - o1 and o1 >= 252 and o1 <= 257 and k >= 0 and k <= 255) }'
36   body:
37     type: binary
38     operation: =
39     arguments:
40     - type: access
41       relation: '{ S_1[k] -> a[] }'
42       index: '{ S_1[k] -> a[] }'
43       reference: __pet_ref_2
44       read: 0
45       write: 1
46     - type: access
47       relation: '{ S_1[k] -> [6] }'
48       index: '{ S_1[k] -> [(6)] }'
49       reference: __pet_ref_3
50       read: 1
51       write: 0