pet_scop: keep track of schedule tree
[pet.git] / tests / filter2.scop
blob6fb5cbb17e42305ddafeada57895aa55ace16456
1 start: 37
2 end: 97
3 indent: "\t"
4 context: '{  :  }'
5 schedule: '{ domain: "{ S_0[]; S_1[] }", child: { sequence: [ { filter: "{ S_0[] }"
6   }, { filter: "{ S_1[] }" } ] } }'
7 arrays:
8 - context: '{  :  }'
9   extent: '{ __pet_test_0[] }'
10   value_bounds: '{ [i0] : i0 >= 0 and i0 <= 1 }'
11   element_type: int
12   element_size: 4
13   uniquely_defined: 1
14 - context: '{  :  }'
15   extent: '{ index[] }'
16   element_type: int
17   element_size: 4
18 - context: '{  :  }'
19   extent: '{ test[i0] : i0 >= 0 }'
20   element_type: int
21   element_size: 4
22 statements:
23 - line: 4
24   domain: '{ S_0[] }'
25   schedule: '{ S_0[] -> [0, 0] }'
26   body:
27     type: expression
28     expr:
29       type: op
30       operation: =
31       arguments:
32       - type: access
33         index: '{ S_0[] -> __pet_test_0[] }'
34         reference: __pet_ref_0
35         read: 0
36         write: 1
37       - type: access
38         index: '{ [S_0[] -> [i0]] -> test[((i0) : i0 >= 0)] }'
39         reference: __pet_ref_2
40         read: 1
41         write: 0
42         arguments:
43         - type: access
44           index: '{ S_0[] -> index[] }'
45           reference: __pet_ref_1
46           read: 1
47           write: 0
48 - line: 5
49   domain: '{ [S_1[] -> [1]] }'
50   schedule: '{ S_1[] -> [0, 1] }'
51   body:
52     type: expression
53     expr:
54       type: op
55       operation: =
56       arguments:
57       - type: access
58         index: '{ S_1[] -> index[] }'
59         reference: __pet_ref_4
60         read: 0
61         write: 1
62       - type: int
63         value: 5
64   arguments:
65   - type: access
66     index: '{ S_1[] -> __pet_test_0[] }'
67     reference: __pet_ref_3
68     read: 1
69     write: 0