scan.cc: scop_add_while: take isl_id instead of isl_map
[pet.git] / tests / for_while_unsigned.scop
blobaa7a01213c20c1274d701c15a325f3d970b8f9bf
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       reference: __pet_ref_0
27       read: 0
28       write: 1
29     - type: call
30       name: f
31 - line: 13
32   domain: '[n] -> { [S_1[x1, x2] -> [1]] : exists (e0 = [(x2)/3]: 3e0 = x2 and x1
33     <= -1 + n and x1 >= 0 and x2 <= 9) }'
34   schedule: '[n] -> { S_1[x1, x2] -> [0, x1, 1, -x2, 0] }'
35   body:
36     type: binary
37     operation: =
38     arguments:
39     - type: access
40       relation: '[n] -> { S_1[x1, x2] -> __pet_test_0[x1, x2] }'
41       reference: __pet_ref_2
42       read: 0
43       write: 1
44     - type: call
45       name: P
46       arguments:
47       - type: access
48         relation: '[n] -> { S_1[x1, x2] -> [x1] }'
49         reference: __pet_ref_3
50         read: 1
51         write: 0
52       - type: access
53         relation: '[n] -> { S_1[x1, x2] -> [o0] : exists (e0 = [(-x2 + o0)/256]: 256e0
54           = -x2 + o0 and o0 <= 255 and o0 >= 0) }'
55         reference: __pet_ref_4
56         read: 1
57         write: 0
58   arguments:
59   - type: access
60     relation: '[n] -> { S_1[x1, x2] -> __pet_test_0[x1, o1] : exists (e0 = [(o1)/3]:
61       3e0 = o1 and o1 >= 3 + x2 and o1 <= 9) }'
62     reference: __pet_ref_1
63     read: 1
64     write: 0
65 - line: 14
66   domain: '[n] -> { [S2[x1, x2] -> [1]] : exists (e0 = [(x2)/3]: 3e0 = x2 and x1 <=
67     -1 + n and x1 >= 0 and x2 <= 9) }'
68   schedule: '[n] -> { S2[x1, x2] -> [0, x1, 1, -x2, 1, 0] }'
69   body:
70     type: binary
71     operation: =
72     arguments:
73     - type: access
74       relation: '[n] -> { S2[x1, x2] -> s[] }'
75       reference: __pet_ref_6
76       read: 0
77       write: 1
78     - type: call
79       name: g
80       arguments:
81       - type: access
82         relation: '[n] -> { S2[x1, x2] -> s[] }'
83         reference: __pet_ref_7
84         read: 1
85         write: 0
86   arguments:
87   - type: access
88     relation: '[n] -> { S2[x1, x2] -> __pet_test_0[x1, o1] : exists (e0 = [(o1)/3]:
89       3e0 = o1 and o1 >= x2 and o1 <= 9) }'
90     reference: __pet_ref_5
91     read: 1
92     write: 0
93 - line: 16
94   domain: '[n] -> { R[x1] : x1 <= -1 + n and x1 >= 0 }'
95   schedule: '[n] -> { R[x1] -> [0, x1, 2] }'
96   body:
97     type: call
98     name: h
99     arguments:
100     - type: access
101       relation: '[n] -> { R[x1] -> s[] }'
102       reference: __pet_ref_8
103       read: 1
104       write: 0