update test case outputs
[pet.git] / tests / for_while_unsigned.scop
blob169c2985ce62f0f78f403c535dd6d60e0f688fad
1 start: 83
2 end: 244
3 context: '[n] -> {  : n <= 2147483647 and n >= -2147483648 }'
4 arrays:
5 - context: '{  :  }'
6   extent: '[n] -> { __pet_test_0[x1, x2] : exists (e0 = [(x2)/3]: 3e0 = x2 and x1
7     <= -1 + n and x1 >= 0 and x2 <= 9) }'
8   value_bounds: '{ [i0] : i0 >= 0 and i0 <= 1 }'
9   element_type: int
10   element_size: 4
11   uniquely_defined: 1
12 - context: '{  :  }'
13   extent: '[n] -> { s[] }'
14   element_type: int
15   element_size: 4
16 statements:
17 - line: 12
18   domain: '[n] -> { S1[x1] : x1 <= -1 + n and x1 >= 0 }'
19   schedule: '[n] -> { S1[x1] -> [0, x1, 0] }'
20   body:
21     type: binary
22     operation: =
23     arguments:
24     - type: access
25       relation: '[n] -> { S1[x1] -> s[] }'
26       read: 0
27       write: 1
28     - type: call
29       name: f
30 - line: 13
31   domain: '[n] -> { [S_1[x1, x2] -> [1]] : exists (e0 = [(x2)/3]: 3e0 = x2 and x1
32     <= -1 + n and x1 >= 0 and x2 <= 9) }'
33   schedule: '[n] -> { S_1[x1, x2] -> [0, x1, 1, -x2, 0] }'
34   body:
35     type: binary
36     operation: =
37     arguments:
38     - type: access
39       relation: '[n] -> { S_1[x1, x2] -> __pet_test_0[x1, x2] }'
40       read: 0
41       write: 1
42     - type: call
43       name: P
44       arguments:
45       - type: access
46         relation: '[n] -> { S_1[x1, x2] -> [x1] }'
47         read: 1
48         write: 0
49       - type: access
50         relation: '[n] -> { S_1[x1, x2] -> [o0] : exists (e0 = [(-x2 + o0)/256]: 256e0
51           = -x2 + o0 and o0 <= 255 and o0 >= 0) }'
52         read: 1
53         write: 0
54   arguments:
55   - type: access
56     relation: '[n] -> { S_1[x1, x2] -> __pet_test_0[x1, o1] : exists (e0 = [(o1)/3]:
57       3e0 = o1 and o1 >= 3 + x2 and o1 <= 9) }'
58     read: 1
59     write: 0
60 - line: 14
61   domain: '[n] -> { [S2[x1, x2] -> [1]] : exists (e0 = [(x2)/3]: 3e0 = x2 and x1 <=
62     -1 + n and x1 >= 0 and x2 <= 9) }'
63   schedule: '[n] -> { S2[x1, x2] -> [0, x1, 1, -x2, 1, 0] }'
64   body:
65     type: binary
66     operation: =
67     arguments:
68     - type: access
69       relation: '[n] -> { S2[x1, x2] -> s[] }'
70       read: 0
71       write: 1
72     - type: call
73       name: g
74       arguments:
75       - type: access
76         relation: '[n] -> { S2[x1, x2] -> s[] }'
77         read: 1
78         write: 0
79   arguments:
80   - type: access
81     relation: '[n] -> { S2[x1, x2] -> __pet_test_0[x1, o1] : exists (e0 = [(o1)/3]:
82       3e0 = o1 and o1 >= x2 and o1 <= 9) }'
83     read: 1
84     write: 0
85 - line: 16
86   domain: '[n] -> { R[x1] : x1 <= -1 + n and x1 >= 0 }'
87   schedule: '[n] -> { R[x1] -> [0, x1, 2] }'
88   body:
89     type: call
90     name: h
91     arguments:
92     - type: access
93       relation: '[n] -> { R[x1] -> s[] }'
94       read: 1
95       write: 0