pet_stmt: use pet_tree to represent statement body
[pet.git] / tests / continue.scop
blobb3a504e2c1336b857aab58f41fdc2162c2721355
1 start: 33
2 end: 182
3 indent: "\t"
4 context: '{  :  }'
5 arrays:
6 - context: '{  :  }'
7   extent: '{ a[i0] : i0 >= 0 and i0 <= 99 }'
8   element_type: int
9   element_size: 4
10 statements:
11 - line: 8
12   domain: '{ S_0[i, j] : i >= 0 and i <= 99 and j <= 99 and j >= 0 }'
13   schedule: '{ S_0[i, j] -> [0, i, j, 0] }'
14   body:
15     type: expression
16     expr:
17       type: op
18       operation: =
19       arguments:
20       - type: access
21         relation: '{ S_0[i, j] -> a[i] }'
22         index: '{ S_0[i, j] -> a[(i)] }'
23         reference: __pet_ref_0
24         read: 0
25         write: 1
26       - type: int
27         value: 0
28 - line: 11
29   domain: '{ S_1[i, j] : (i <= 99 and j >= 0 and j <= -1 + i) or (i >= 0 and j >=
30     1 + i and j <= 99) }'
31   schedule: '{ S_1[i, j] -> [0, i, j, 2] }'
32   body:
33     type: expression
34     expr:
35       type: op
36       operation: =
37       arguments:
38       - type: access
39         relation: '{ S_1[i, j] -> a[i] }'
40         index: '{ S_1[i, j] -> a[(i)] }'
41         reference: __pet_ref_1
42         read: 0
43         write: 1
44       - type: op
45         operation: +
46         arguments:
47         - type: access
48           relation: '{ S_1[i, j] -> [i] }'
49           index: '{ S_1[i, j] -> [(i)] }'
50           reference: __pet_ref_2
51           read: 1
52           write: 0
53         - type: access
54           relation: '{ S_1[i, j] -> [j] }'
55           index: '{ S_1[i, j] -> [(j)] }'
56           reference: __pet_ref_3
57           read: 1
58           write: 0