expr.c: access_add_ref_id: avoid using access relation
[pet.git] / tests / inc2.scop
blob584f7b5dded744e3b8ff29554b58a09a0a3aad0e
1 start: 38
2 end: 107
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] : exists (e0 = floor((i)/3): 3e0 = i and i <= -1 + N and
13     i >= 0) }'
14   schedule: '[N] -> { S_0[i] -> [0, i] }'
15   body:
16     type: expression
17     expr:
18       type: op
19       operation: =
20       arguments:
21       - type: access
22         relation: '[N] -> { S_0[i] -> a[i] }'
23         index: '[N] -> { S_0[i] -> a[(i)] }'
24         reference: __pet_ref_0
25         read: 0
26         write: 1
27       - type: access
28         relation: '[N] -> { S_0[i] -> [i] }'
29         index: '[N] -> { S_0[i] -> [(i)] }'
30         reference: __pet_ref_1
31         read: 1
32         write: 0