add encapsulate_dynamic_control option
[pet.git] / tests / encapsulate / while_affine.scop
blob924b38e971d75a7245fbfa09ea1b3337cff3c188
1 start: 42
2 end: 206
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 - 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: 9
16   domain: '[N] -> { S_0[99, t, j] : j >= 0 and t >= 0 and j <= -1 + N }'
17   schedule: '[N] -> { S_0[i, t, j] -> [0, i, t, 0, j] }'
18   body:
19     type: expression
20     expr:
21       type: op
22       operation: =
23       arguments:
24       - type: access
25         relation: '[N] -> { S_0[i, t, j] -> a[j] }'
26         index: '[N] -> { S_0[i, t, j] -> a[(j)] }'
27         reference: __pet_ref_0
28         read: 0
29         write: 1
30       - type: int
31         value: 0
32 - line: 11
33   domain: '[N] -> { S_1[99, t, j] : j >= 0 and t >= 0 and j <= -1 + N }'
34   schedule: '[N] -> { S_1[i, t, j] -> [0, i, t, 1, j] }'
35   body:
36     type: expression
37     expr:
38       type: op
39       operation: =
40       arguments:
41       - type: access
42         relation: '[N] -> { S_1[i, t, j] -> b[j] }'
43         index: '[N] -> { S_1[i, t, j] -> b[(j)] }'
44         reference: __pet_ref_1
45         read: 0
46         write: 1
47       - type: access
48         relation: '[N] -> { S_1[i, t, j] -> a[j] }'
49         index: '[N] -> { S_1[i, t, j] -> a[(j)] }'
50         reference: __pet_ref_2
51         read: 1
52         write: 0