pet_scop: keep track of schedule tree
[pet.git] / tests / float.scop
blob4777f4fb604c64640fe629a967a1a1c1bb720662
1 start: 24
2 end: 75
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: '{ a[] }'
10   element_type: float
11   element_size: 4
12 statements:
13 - line: 6
14   domain: '{ 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: '{ S_0[] -> a[] }'
24         reference: __pet_ref_0
25         read: 0
26         write: 1
27       - type: double
28         value: 0.333
29         string: 0.333f
30 - line: 7
31   domain: '{ S_1[] }'
32   schedule: '{ S_1[] -> [1] }'
33   body:
34     type: expression
35     expr:
36       type: op
37       operation: =
38       arguments:
39       - type: access
40         index: '{ S_1[] -> a[] }'
41         reference: __pet_ref_1
42         read: 0
43         write: 1
44       - type: double
45         value: 0
46         string: 0.