pet_stmt: use pet_tree to represent statement body
[pet.git] / tests / float.scop
blobfef82460dfed22a18c6c5cd58529d633dd2177b6
1 start: 24
2 end: 75
3 indent: "\t"
4 context: '{  :  }'
5 arrays:
6 - context: '{  :  }'
7   extent: '{ a[] }'
8   element_type: float
9   element_size: 4
10 statements:
11 - line: 6
12   domain: '{ S_0[] }'
13   schedule: '{ S_0[] -> [0] }'
14   body:
15     type: expression
16     expr:
17       type: op
18       operation: =
19       arguments:
20       - type: access
21         relation: '{ S_0[] -> a[] }'
22         index: '{ S_0[] -> a[] }'
23         reference: __pet_ref_0
24         read: 0
25         write: 1
26       - type: double
27         value: 0.333
28         string: 0.333f
29 - line: 7
30   domain: '{ S_1[] }'
31   schedule: '{ S_1[] -> [1] }'
32   body:
33     type: expression
34     expr:
35       type: op
36       operation: =
37       arguments:
38       - type: access
39         relation: '{ S_1[] -> a[] }'
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.