scop.c: extract out expr_collect_access
[pet.git] / tests / loop5.scop
blobf1325ba3723cc33ee2e1d5d13a6f45af490d0003
1 start: 34
2 end: 110
3 context: '[n, m] -> {  : m <= 2147483645 and n <= 2147483646 and n >= -2147483648
4   and m >= -2147483648 }'
5 arrays:
6 - context: '{  :  }'
7   extent: '[n, m] -> { a[] }'
8   element_type: int
9   element_size: 4
10 statements:
11 - line: 7
12   domain: '[n, m] -> { S_0[i] : i <= m and i >= n }'
13   schedule: '[n, m] -> { S_0[i] -> [0, i] }'
14   body:
15     type: binary
16     operation: =
17     arguments:
18     - type: access
19       relation: '[n, m] -> { S_0[i] -> a[] }'
20       index: '[n, m] -> { S_0[i] -> a[] }'
21       reference: __pet_ref_0
22       read: 0
23       write: 1
24     - type: access
25       relation: '[n, m] -> { S_0[i] -> [5] }'
26       index: '[n, m] -> { S_0[i] -> [(5)] }'
27       reference: __pet_ref_1
28       read: 1
29       write: 0