scop.c: extract out expr_collect_access
[pet.git] / tests / tobi1.scop
blobc4b5a39ec2e28a117b8110dff2c47f7b19f297d9
1 start: 47
2 end: 131
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[i] : exists (e0, e1 = floor((i - 65e0)/256): 256e1 = i - 65e0 and
12     i >= 0 and i <= 255 and e0 >= 0 and e0 <= 15) }'
13   schedule: '{ S_0[i] -> [0, o1] : exists (e0 = floor((-12545i + o1)/16640): 16640e0
14     = -12545i + o1 and o1 >= 0 and o1 <= 1039 and i >= 0 and i <= 255) }'
15   body:
16     type: binary
17     operation: =
18     arguments:
19     - type: access
20       relation: '{ S_0[i] -> a[] }'
21       index: '{ S_0[i] -> a[] }'
22       reference: __pet_ref_0
23       read: 0
24       write: 1
25     - type: access
26       relation: '{ S_0[i] -> [5] }'
27       index: '{ S_0[i] -> [(5)] }'
28       reference: __pet_ref_1
29       read: 1
30       write: 0