add reference identifiers to all access expressions
[pet.git] / tests / while_affine.scop
blob340e192dbb5d85c1f49ac0ebe210c58abe467b32
1 start: 42
2 end: 206
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 - context: '[N] -> {  : N >= 0 }'
10   extent: '[N] -> { b[i0] : i0 <= -1 + N and i0 >= 0 }'
11   element_type: int
12   element_size: 4
13 statements:
14 - line: 9
15   domain: '[N] -> { S_0[99, t, j] : j >= 0 and t >= 0 and j <= -1 + N }'
16   schedule: '[N] -> { S_0[i, t, j] -> [0, i, t, 0, j] }'
17   body:
18     type: binary
19     operation: =
20     arguments:
21     - type: access
22       relation: '[N] -> { S_0[i, t, j] -> a[j] }'
23       reference: __pet_ref_0
24       read: 0
25       write: 1
26     - type: access
27       relation: '[N] -> { S_0[i, t, j] -> [0] }'
28       reference: __pet_ref_1
29       read: 1
30       write: 0
31 - line: 11
32   domain: '[N] -> { S_1[99, t, j] : j >= 0 and t >= 0 and j <= -1 + N }'
33   schedule: '[N] -> { S_1[i, t, j] -> [0, i, t, 1, j] }'
34   body:
35     type: binary
36     operation: =
37     arguments:
38     - type: access
39       relation: '[N] -> { S_1[i, t, j] -> b[j] }'
40       reference: __pet_ref_2
41       read: 0
42       write: 1
43     - type: access
44       relation: '[N] -> { S_1[i, t, j] -> a[j] }'
45       reference: __pet_ref_3
46       read: 1
47       write: 0