update test case outputs
[pet.git] / tests / for_while_init.scop
blob4a1ce1027c1c8bbf1333df2fe3ee7253065db161
1 start: 83
2 end: 231
3 indent: "\t"
4 context: '[n] -> {  : n <= 2147483647 and n >= -2147483648 }'
5 schedule: '{ domain: "[n] -> { S_6[x1] : x1 >= 0 and x1 <= -1 + n; S_2[x1, t] : x1
6   >= 0 and x1 <= -1 + n and t >= 0; S2[x1, t] : x1 >= 0 and x1 <= -1 + n and t >=
7   0; S1[x1] : x1 >= 0 and x1 <= -1 + n; S_5[x1] : x1 >= 0 and x1 <= -1 + n; S_1[x1]
8   : x1 >= 0 and x1 <= -1 + n; R[x1] : x1 >= 0 and x1 <= -1 + n; S_4[x1, t] : x1 >=
9   0 and x1 <= -1 + n and t >= 0 }", child: { schedule: "[n] -> L_0[{ S_6[x1] -> [(x1)];
10   S_2[x1, t] -> [(x1)]; S2[x1, t] -> [(x1)]; S1[x1] -> [(x1)]; S_5[x1] -> [(x1)];
11   S_1[x1] -> [(x1)]; R[x1] -> [(x1)]; S_4[x1, t] -> [(x1)] }]", child: { sequence:
12   [ { filter: "[n] -> { S1[x1] }" }, { filter: "[n] -> { S_5[x1] }" }, { filter: "[n]
13   -> { S_1[x1] }" }, { filter: "[n] -> { S_2[x1, t]; S2[x1, t]; S_4[x1, t] }", child:
14   { schedule: "[n] -> L_1[{ S_2[x1, t] -> [(t)]; S2[x1, t] -> [(t)]; S_4[x1, t] ->
15   [(t)] }]", child: { sequence: [ { filter: "[n] -> { S_2[x1, t] }" }, { filter: "[n]
16   -> { S2[x1, t] }" }, { filter: "[n] -> { S_4[x1, t] }" } ] } } }, { filter: "[n]
17   -> { S_6[x1] }" }, { filter: "[n] -> { R[x1] }" } ] } } }'
18 arrays:
19 - context: '{  :  }'
20   extent: '[n] -> { __pet_test_0[x1, t] : x1 >= 0 and x1 <= -1 + n and t >= 0 }'
21   value_bounds: '{ [i0] : i0 >= 0 and i0 <= 1 }'
22   element_type: int
23   element_size: 4
24   uniquely_defined: 1
25 - context: '{  :  }'
26   extent: '[n] -> { x2[] }'
27   element_type: int
28   element_size: 4
29   declared: 1
30 - context: '{  :  }'
31   extent: '[n] -> { s[] }'
32   element_type: int
33   element_size: 4
34 statements:
35 - line: 12
36   domain: '[n] -> { S1[x1] : x1 >= 0 and x1 <= -1 + n }'
37   body:
38     type: expression
39     expr:
40       type: op
41       operation: =
42       arguments:
43       - type: access
44         index: '[n] -> { S1[x1] -> s[] }'
45         reference: __pet_ref_0
46         read: 0
47         write: 1
48       - type: call
49         name: f
50 - line: 13
51   domain: '[n] -> { S_5[x1] : x1 >= 0 and x1 <= -1 + n }'
52   body:
53     type: expression
54     expr:
55       type: op
56       operation: kill
57       arguments:
58       - type: access
59         killed: '[n] -> { S_5[x1] -> x2[] }'
60         index: '[n] -> { S_5[x1] -> x2[] }'
61         reference: __pet_ref_1
62         kill: 1
63 - line: 13
64   domain: '[n] -> { S_1[x1] : x1 >= 0 and x1 <= -1 + n }'
65   body:
66     type: expression
67     expr:
68       type: op
69       operation: =
70       arguments:
71       - type: access
72         index: '[n] -> { S_1[x1] -> x2[] }'
73         reference: __pet_ref_2
74         read: 0
75         write: 1
76       - type: access
77         index: '[n] -> { S_1[x1] -> s[] }'
78         reference: __pet_ref_3
79         read: 1
80         write: 0
81 - line: 13
82   domain: '[n] -> { [S_2[x1, t] -> [1]] : x1 >= 0 and x1 <= -1 + n and t >= 0 }'
83   body:
84     type: expression
85     expr:
86       type: op
87       operation: =
88       arguments:
89       - type: access
90         index: '[n] -> { S_2[x1, t] -> __pet_test_0[(x1), (t)] }'
91         reference: __pet_ref_5
92         read: 0
93         write: 1
94       - type: call
95         name: P
96         arguments:
97         - type: access
98           index: '[n] -> { S_2[x1, t] -> [(x1)] }'
99           reference: __pet_ref_6
100           read: 1
101           write: 0
102         - type: access
103           index: '[n] -> { S_2[x1, t] -> x2[] }'
104           reference: __pet_ref_7
105           read: 1
106           write: 0
107   arguments:
108   - type: access
109     index: '[n] -> { S_2[x1, t] -> __pet_test_0[(x1), ((-1 + t) : t >= 1)] }'
110     reference: __pet_ref_4
111     read: 1
112     write: 0
113 - line: 14
114   domain: '[n] -> { [S2[x1, t] -> [1]] : x1 >= 0 and x1 <= -1 + n and t >= 0 }'
115   body:
116     type: expression
117     expr:
118       type: op
119       operation: =
120       arguments:
121       - type: access
122         index: '[n] -> { S2[x1, t] -> s[] }'
123         reference: __pet_ref_9
124         read: 0
125         write: 1
126       - type: call
127         name: g
128         arguments:
129         - type: access
130           index: '[n] -> { S2[x1, t] -> s[] }'
131           reference: __pet_ref_10
132           read: 1
133           write: 0
134   arguments:
135   - type: access
136     index: '[n] -> { S2[x1, t] -> __pet_test_0[(x1), (t)] }'
137     reference: __pet_ref_8
138     read: 1
139     write: 0
140 - line: 13
141   domain: '[n] -> { [S_4[x1, t] -> [1]] : x1 >= 0 and x1 <= -1 + n and t >= 0 }'
142   body:
143     type: expression
144     expr:
145       type: op
146       operation: +=
147       arguments:
148       - type: access
149         index: '[n] -> { S_4[x1, t] -> x2[] }'
150         reference: __pet_ref_12
151         read: 0
152         write: 1
153       - type: int
154         value: 1
155   arguments:
156   - type: access
157     index: '[n] -> { S_4[x1, t] -> __pet_test_0[(x1), (t)] }'
158     reference: __pet_ref_11
159     read: 1
160     write: 0
161 - line: 13
162   domain: '[n] -> { S_6[x1] : x1 >= 0 and x1 <= -1 + n }'
163   body:
164     type: expression
165     expr:
166       type: op
167       operation: kill
168       arguments:
169       - type: access
170         killed: '[n] -> { S_6[x1] -> x2[] }'
171         index: '[n] -> { S_6[x1] -> x2[] }'
172         reference: __pet_ref_13
173         kill: 1
174 - line: 16
175   domain: '[n] -> { R[x1] : x1 >= 0 and x1 <= -1 + n }'
176   body:
177     type: expression
178     expr:
179       type: call
180       name: h
181       arguments:
182       - type: access
183         index: '[n] -> { R[x1] -> s[] }'
184         reference: __pet_ref_14
185         read: 1
186         write: 0
187 implications:
188 - satisfied: 1
189   extension: '[n] -> { __pet_test_0[x1, t] -> __pet_test_0[x1, t''] : t'' <= t and
190     x1 >= 0 and x1 <= -1 + n and t'' >= 0 }'