pet_scop: keep track of schedule tree
[pet.git] / tests / label.scop
blobd3f244254487caf3afae1769534ea7d2c891d1d8
1 start: 22
2 end: 71
3 indent: 
4 context: '{  :  }'
5 schedule: '{ domain: "{ B[]; A[] }", child: { sequence: [ { filter: "{ A[] }" }, {
6   filter: "{ B[] }" } ] } }'
7 arrays:
8 - context: '{  :  }'
9   extent: '{ a[] }'
10   element_type: int
11   element_size: 4
12 statements:
13 - line: 6
14   domain: '{ A[] }'
15   schedule: '{ A[] -> [0] }'
16   body:
17     type: expression
18     expr:
19       type: op
20       operation: =
21       arguments:
22       - type: access
23         index: '{ A[] -> a[] }'
24         reference: __pet_ref_0
25         read: 0
26         write: 1
27       - type: int
28         value: 5
29 - line: 7
30   domain: '{ B[] }'
31   schedule: '{ B[] -> [1] }'
32   body:
33     type: expression
34     expr:
35       type: op
36       operation: =
37       arguments:
38       - type: access
39         index: '{ B[] -> a[] }'
40         reference: __pet_ref_1
41         read: 0
42         write: 1
43       - type: int
44         value: 7