pet_scop: keep track of schedule tree
[pet.git] / tests / filter.scop
blob60095a9ad0656a9320cd7e0d0e487fea5a469447
1 start: 46
2 end: 102
3 indent: "\t"
4 context: '{  :  }'
5 schedule: '{ domain: "{ S_0[] }" }'
6 arrays:
7 - context: '{  :  }'
8   extent: '{ a[] }'
9   element_type: int
10   element_size: 4
11 - context: '{  :  }'
12   extent: '{ test[i0] : i0 >= 0 }'
13   element_type: int
14   element_size: 4
15 statements:
16 - line: 7
17   domain: '{ [S_0[] -> [test]] : test <= -1 or test >= 1 }'
18   schedule: '{ S_0[] -> [0] }'
19   body:
20     type: expression
21     expr:
22       type: op
23       operation: =
24       arguments:
25       - type: access
26         index: '{ S_0[] -> a[] }'
27         reference: __pet_ref_1
28         read: 0
29         write: 1
30       - type: int
31         value: 5
32   arguments:
33   - type: access
34     index: '[index] -> { S_0[] -> test[((index) : index >= 0)] }'
35     reference: __pet_ref_0
36     read: 1
37     write: 0