pet_scop: keep track of schedule tree
[pet.git] / tests / if1.scop
blobeb499f50d4ed6e1a44f4e693b26d9fb2013cfa33
1 start: 22
2 end: 73
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: '{ a[] }'
16   element_type: int
17   element_size: 4
18 statements:
19 - line: 6
20   domain: '{ S_0[] }'
21   schedule: '{ S_0[] -> [0, 0] }'
22   body:
23     type: expression
24     expr:
25       type: op
26       operation: =
27       arguments:
28       - type: access
29         index: '{ S_0[] -> __pet_test_0[] }'
30         reference: __pet_ref_0
31         read: 0
32         write: 1
33       - type: op
34         operation: <<
35         arguments:
36         - type: int
37           value: 1
38         - type: int
39           value: 0
40 - line: 7
41   domain: '{ [S_1[] -> [1]] }'
42   schedule: '{ S_1[] -> [0, 1] }'
43   body:
44     type: expression
45     expr:
46       type: op
47       operation: =
48       arguments:
49       - type: access
50         index: '{ S_1[] -> a[] }'
51         reference: __pet_ref_2
52         read: 0
53         write: 1
54       - type: int
55         value: 1
56   arguments:
57   - type: access
58     index: '{ S_1[] -> __pet_test_0[] }'
59     reference: __pet_ref_1
60     read: 1
61     write: 0