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