scop.c: access_collect_params: avoid using access relation
[pet.git] / tests / loop6.scop
blob2c3d140b76fd05545f394cf895598fe6d6556761
1 start: 30
2 end: 137
3 indent: "\t"
4 context: '[n] -> {  : n >= 0 and n <= 2147483647 }'
5 arrays:
6 - context: '[n] -> {  : n >= 0 }'
7   extent: '[n] -> { a[i0] : i0 <= -1 + n and i0 >= 0 }'
8   element_type: int
9   element_size: 4
10 statements:
11 - line: 8
12   domain: '[n] -> { S_0[i] : i >= 0 and i <= 2147483547 and i <= n }'
13   schedule: '[n] -> { S_0[i] -> [0, i] }'
14   body:
15     type: expression
16     expr:
17       type: op
18       operation: =
19       arguments:
20       - type: access
21         relation: '[n] -> { S_0[i] -> a[i] }'
22         index: '[n] -> { S_0[i] -> a[(i)] }'
23         reference: __pet_ref_0
24         read: 0
25         write: 1
26       - type: int
27         value: 0