scop.c: extract out expr_collect_access
[pet.git] / tests / unsigned2.scop
blob611f7c24d858ab5e6a38acae6382053df45e7860
1 start: 40
2 end: 112
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((-6 + k)/256): k >= 0 and k <= 255 and 256e0
12     <= -252 + k and 256e0 >= -261 + k) }'
13   schedule: '{ S_0[k] -> [0, o1] : exists (e0 = floor((-k + o1)/256): 256e0 = -k +
14     o1 and o1 >= 252 and o1 <= 261 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