add reference identifiers to all access expressions
[pet.git] / tests / mod.scop
blob344a124d479a9ac665b2d6c9692bf2ca6a8b029d
1 start: 38
2 end: 123
3 context: '[N] -> {  : N >= 0 and N <= 2147483647 }'
4 arrays:
5 - context: '[N] -> {  : N >= 0 }'
6   extent: '[N] -> { a[i0] : i0 <= -1 + N and i0 >= 0 }'
7   element_type: int
8   element_size: 4
9 statements:
10 - line: 9
11   domain: '[N] -> { S_0[i] : exists (e0 = [(i)/2]: 2e0 = i and i <= -1 + N and i >=
12     0) }'
13   schedule: '[N] -> { S_0[i] -> [0, i] }'
14   body:
15     type: binary
16     operation: =
17     arguments:
18     - type: access
19       relation: '[N] -> { S_0[i] -> a[i] }'
20       reference: __pet_ref_0
21       read: 0
22       write: 1
23     - type: access
24       relation: '[N] -> { S_0[i] -> [i] }'
25       reference: __pet_ref_1
26       read: 1
27       write: 0