export pet_expr_new_cast
[pet.git] / tests / while_inc.scop
blobd3c5088fe4603ac3c96b56e6d3e27f6230b18fb0
1 start: 31
2 end: 109
3 indent: "\t"
4 context: '{  :  }'
5 arrays:
6 - context: '{  :  }'
7   extent: '{ __pet_test_0[t] : t >= 0 }'
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: '{ T[i0] : i0 >= 0 }'
14   element_type: int
15   element_size: 4
16 - context: '{  :  }'
17   extent: '{ i[] }'
18   element_type: int
19   element_size: 4
20 statements:
21 - line: 5
22   domain: '{ S_0[] }'
23   schedule: '{ S_0[] -> [0] }'
24   body:
25     type: expression
26     expr:
27       type: op
28       operation: =
29       arguments:
30       - type: access
31         index: '{ S_0[] -> i[] }'
32         reference: __pet_ref_0
33         read: 0
34         write: 1
35       - type: int
36         value: 0
37 - line: 6
38   domain: '{ [S_1[t] -> [1]] : t >= 0 }'
39   schedule: '{ S_1[t] -> [1, t, 0] }'
40   body:
41     type: expression
42     expr:
43       type: op
44       operation: =
45       arguments:
46       - type: access
47         index: '{ S_1[t] -> __pet_test_0[(t)] }'
48         reference: __pet_ref_2
49         read: 0
50         write: 1
51       - type: op
52         operation: <
53         arguments:
54         - type: access
55           index: '{ S_1[t] -> i[] }'
56           reference: __pet_ref_3
57           read: 1
58           write: 0
59         - type: int
60           value: 100
61   arguments:
62   - type: access
63     index: '{ S_1[t] -> __pet_test_0[((-1 + t) : t >= 1)] }'
64     reference: __pet_ref_1
65     read: 1
66     write: 0
67 - line: 7
68   domain: '{ [S_2[t] -> [1]] : t >= 0 }'
69   schedule: '{ S_2[t] -> [1, t, 1, 0] }'
70   body:
71     type: expression
72     expr:
73       type: op
74       operation: =
75       arguments:
76       - type: access
77         index: '{ [S_2[t] -> [i1]] -> T[((i1) : i1 >= 0)] }'
78         reference: __pet_ref_6
79         read: 0
80         write: 1
81         arguments:
82         - type: access
83           index: '{ S_2[t] -> i[] }'
84           reference: __pet_ref_5
85           read: 1
86           write: 0
87       - type: access
88         index: '{ S_2[t] -> i[] }'
89         reference: __pet_ref_7
90         read: 1
91         write: 0
92   arguments:
93   - type: access
94     index: '{ S_2[t] -> __pet_test_0[(t)] }'
95     reference: __pet_ref_4
96     read: 1
97     write: 0
98 - line: 8
99   domain: '{ [S_3[t] -> [1]] : t >= 0 }'
100   schedule: '{ S_3[t] -> [1, t, 1, 1] }'
101   body:
102     type: expression
103     expr:
104       type: op
105       operation: ++
106       arguments:
107       - type: access
108         index: '{ S_3[t] -> i[] }'
109         reference: __pet_ref_9
110         read: 1
111         write: 1
112   arguments:
113   - type: access
114     index: '{ S_3[t] -> __pet_test_0[(t)] }'
115     reference: __pet_ref_8
116     read: 1
117     write: 0
118 implications:
119 - satisfied: 1
120   extension: '{ __pet_test_0[t] -> __pet_test_0[t''] : t'' <= t and t'' >= 0 }'