postpone introduction of access relations
[pet.git] / tests / inf2.scop
blobe35ad2c676a7517d61e1fa67d1d5f9717e88848c
1 start: 74
2 end: 208
3 indent: '    '
4 context: '[N] -> {  : N >= 8 and N <= 16 }'
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 - context: '[N] -> {  : N >= 0 }'
11   extent: '[N] -> { b[i0] : i0 <= -1 + N and i0 >= 0 }'
12   element_type: int
13   element_size: 4
14 statements:
15 - line: 12
16   domain: '[N] -> { S_0[t, j] : j >= 0 and t >= 0 and j <= -1 + N }'
17   schedule: '[N] -> { S_0[t, j] -> [0, t, 0, j] }'
18   body:
19     type: expression
20     expr:
21       type: op
22       operation: =
23       arguments:
24       - type: access
25         index: '[N] -> { S_0[t, j] -> a[(j)] }'
26         reference: __pet_ref_0
27         read: 0
28         write: 1
29       - type: int
30         value: 0
31 - line: 14
32   domain: '[N] -> { S_1[t, j] : j >= 0 and t >= 0 and j <= -1 + N }'
33   schedule: '[N] -> { S_1[t, j] -> [0, t, 1, j] }'
34   body:
35     type: expression
36     expr:
37       type: op
38       operation: =
39       arguments:
40       - type: access
41         index: '[N] -> { S_1[t, j] -> b[(j)] }'
42         reference: __pet_ref_1
43         read: 0
44         write: 1
45       - type: access
46         index: '[N] -> { S_1[t, j] -> a[(j)] }'
47         reference: __pet_ref_2
48         read: 1
49         write: 0