pet_scop: keep track of schedule tree
[pet.git] / tests / dec3.scop
blob619efc26567629a71d94f8ee1adb62e2da0b296b
1 start: 38
2 end: 113
3 indent: "\t"
4 context: '[N] -> {  : N <= 2147483647 and N >= 0 }'
5 schedule: '{ domain: "[N] -> { S_0[i] : N <= 2147483648 and i >= 0 and i <= -1 + N
6   }", child: { schedule: "[N] -> L_0[{ S_0[i] -> [(-i)] }]" } }'
7 arrays:
8 - context: '[N] -> {  : N >= 0 }'
9   extent: '[N] -> { a[i0] : i0 >= 0 and i0 <= -1 + N }'
10   element_type: int
11   element_size: 4
12 statements:
13 - line: 8
14   domain: '[N] -> { S_0[i] : i <= -1 + N and i >= 0 }'
15   schedule: '[N] -> { S_0[i] -> [0, -i] }'
16   body:
17     type: expression
18     expr:
19       type: op
20       operation: =
21       arguments:
22       - type: access
23         index: '[N] -> { S_0[i] -> a[(i)] }'
24         reference: __pet_ref_0
25         read: 0
26         write: 1
27       - type: access
28         index: '[N] -> { S_0[i] -> [(i)] }'
29         reference: __pet_ref_1
30         read: 1
31         write: 0