pet_scop: keep track of schedule tree
[pet.git] / tests / call5.scop
blob350cd1e3d06e8633ec1a3aff708716e6a6a1898a
1 start: 141
2 end: 208
3 indent: "\t"
4 context: '[n] -> {  : n >= 4 and n <= 2147483647 }'
5 schedule: '{ domain: "{ S_0[]; S_1[] }", child: { sequence: [ { filter: "{ S_0[] }"
6   }, { filter: "{ S_1[] }" } ] } }'
7 arrays:
8 - context: '[n] -> {  : n >= 0 }'
9   extent: '[n] -> { A[i0] : i0 >= 0 and i0 <= -1 + n }'
10   element_type: int
11   element_size: 4
12 statements:
13 - line: 10
14   domain: '[n] -> { S_0[] }'
15   schedule: '{ S_0[] -> [0] }'
16   body:
17     type: expression
18     expr:
19       type: op
20       operation: assume
21       arguments:
22       - type: access
23         index: '[n] -> { S_0[] -> [(1)] }'
24         reference: __pet_ref_0
25         read: 1
26         write: 0
27 - line: 11
28   domain: '[n] -> { S_1[] }'
29   schedule: '{ S_1[] -> [1] }'
30   body:
31     type: expression
32     expr:
33       type: call
34       name: foo
35       arguments:
36       - type: int
37         value: 0
38       - type: access
39         may_read: '[n] -> { S_1[] -> A[o0] : o0 <= 3 and o0 >= 0 }'
40         may_write: '[n] -> { S_1[] -> A[o0] : o0 <= 3 and o0 >= 0 }'
41         must_write: '[n] -> { S_1[] -> A[o0] : o0 <= 3 and o0 >= 0 }'
42         index: '[n] -> { S_1[] -> A[] }'
43         depth: 1
44         reference: __pet_ref_1
45         read: 1
46         write: 1