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