pet_stmt: use pet_tree to represent statement body
[pet.git] / tests / piecewise.scop
blobb6e92a219ccd605d9d8d6c713371b2c27d1fcc33
1 start: 56
2 end: 174
3 indent: "\t"
4 context: '[N] -> {  : N <= 2147483647 and N >= 0 }'
5 arrays:
6 - context: '[N] -> {  : N >= 0 }'
7   extent: '[N] -> { a[i0, i1] : i1 >= 0 and i0 >= 0 and i1 <= -1 + N }'
8   element_type: int
9   element_size: 4
10 statements:
11 - line: 8
12   domain: '[N] -> { S_0[i, j] : j >= i and i >= 0 and j <= -1 + N }'
13   schedule: '[N] -> { S_0[i, j] -> [0, i, j] }'
14   body:
15     type: expression
16     expr:
17       type: op
18       operation: =
19       arguments:
20       - type: access
21         relation: '[N] -> { S_0[i, j] -> a[i, j] }'
22         index: '[N] -> { S_0[i, j] -> a[(i), (j)] }'
23         reference: __pet_ref_0
24         read: 0
25         write: 1
26       - type: access
27         relation: '[N] -> { S_0[i, j] -> a[-1 + i, 0] : i >= 1; S_0[0, j] -> a[0,
28           0] }'
29         index: '[N] -> { S_0[i, j] -> a[((-1 + i) : i >= 1; (0) : i = 0), (0)] }'
30         reference: __pet_ref_1
31         read: 1
32         write: 0