scop.c: extract out expr_collect_access
[pet.git] / tests / tobi2.scop
blob69f01532763c6ec5d23c3f6e41d4420b091ba721
1 start: 102
2 end: 201
3 context: '[N] -> {  : N >= 0 and N <= 4294967295 }'
4 arrays:
5 - context: '{  :  }'
6   extent: '[N] -> { a[] }'
7   element_type: int
8   element_size: 4
9 statements:
10 - line: 10
11   domain: '[N] -> { S_0[i] : exists (e0 = floor((10 + N)/4294967296): i <= 19 and
12     4294967296e0 <= 9 + N - i and i >= 0 and 4294967296e0 <= 10 + N and 4294967296e0
13     >= -4294967285 + N) }'
14   schedule: '[N] -> { S_0[i] -> [0, i] }'
15   body:
16     type: binary
17     operation: =
18     arguments:
19     - type: access
20       relation: '[N] -> { S_0[i] -> a[] }'
21       index: '[N] -> { S_0[i] -> a[] }'
22       reference: __pet_ref_0
23       read: 0
24       write: 1
25     - type: access
26       relation: '[N] -> { S_0[i] -> [5] }'
27       index: '[N] -> { S_0[i] -> [(5)] }'
28       reference: __pet_ref_1
29       read: 1
30       write: 0