update test case outputs
[pet.git] / tests / quasi_affine.scop
blob423534caefbf324ba40ec9ca8e131e90ec313a36
1 start: 84
2 end: 218
3 context: '[N] -> {  : N <= 2147483647 and N >= 0 }'
4 arrays:
5 - context: '{  :  }'
6   extent: '[N] -> { in[] }'
7   element_type: int
8   element_size: 4
9 - context: '[N] -> {  : N >= 0 }'
10   extent: '[N] -> { A[i0] : i0 <= -1 + N and i0 >= 0 }'
11   element_type: int
12   element_size: 4
13 - context: '{  :  }'
14   extent: '[N] -> { out[] }'
15   element_type: int
16   element_size: 4
17 statements:
18 - line: 14
19   domain: '[N] -> { S_0[] }'
20   schedule: '{ S_0[] -> [0, 0] }'
21   body:
22     type: binary
23     operation: =
24     arguments:
25     - type: access
26       relation: '[N] -> { S_0[] -> A[0] }'
27       read: 0
28       write: 1
29     - type: access
30       relation: '[N] -> { S_0[] -> in[] }'
31       read: 1
32       write: 0
33 - line: 16
34   domain: '[N] -> { S_1[i] : i <= N and i >= 1 }'
35   schedule: '[N] -> { S_1[i] -> [0, 1, i, 0] }'
36   body:
37     type: binary
38     operation: =
39     arguments:
40     - type: access
41       relation: '[N] -> { S_1[i] -> A[i] }'
42       read: 0
43       write: 1
44     - type: call
45       name: f
46       arguments:
47       - type: call
48         name: g
49         arguments:
50         - type: access
51           relation: '[N] -> { S_1[i] -> A[o0] : 2o0 >= -1 + i and 2o0 <= i }'
52           read: 1
53           write: 0
54 - line: 18
55   domain: '[N] -> { S_2[] }'
56   schedule: '{ S_2[] -> [0, 2] }'
57   body:
58     type: binary
59     operation: =
60     arguments:
61     - type: access
62       relation: '[N] -> { S_2[] -> out[] }'
63       read: 0
64       write: 1
65     - type: call
66       name: g
67       arguments:
68       - type: access
69         relation: '[N] -> { S_2[] -> A[N] }'
70         read: 1
71         write: 0