pet_scop: keep track of schedule tree
[pet.git] / tests / call4.scop
blob77963a74ce31e0a9820b080582e232a83e642044
1 start: 100
2 end: 147
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: '{ s[] }'
10   element_type: int
11   element_size: 4
12   declared: 1
13   exposed: 1
14 statements:
15 - line: 14
16   domain: '{ S_0[] }'
17   schedule: '{ S_0[] -> [0] }'
18   body:
19     type: expression
20     expr:
21       type: op
22       operation: kill
23       arguments:
24       - type: access
25         killed: '{ S_0[] -> s[] }'
26         index: '{ S_0[] -> s[] }'
27         reference: __pet_ref_0
28         kill: 1
29 - line: 15
30   domain: '{ S_1[] }'
31   schedule: '{ S_1[] -> [1] }'
32   body:
33     type: expression
34     expr:
35       type: call
36       name: foo
37       arguments:
38       - type: op
39         operation: '&'
40         arguments:
41         - type: access
42           may_read: '{ S_1[] -> s[] }'
43           may_write: '{ S_1[] -> s[] }'
44           must_write: '{  }'
45           index: '{ S_1[] -> s[] }'
46           reference: __pet_ref_1
47           read: 1
48           write: 1