pet_stmt: use pet_tree to represent statement body
[pet.git] / tests / float2.scop
blob7afb4d877fd538ef53bbec02d5013521e9604276
1 start: 41
2 end: 82
3 indent: "\t"
4 context: '{  :  }'
5 arrays:
6 - context: '{  :  }'
7   extent: '{ a[] }'
8   element_type: float
9   element_size: 4
10 - context: '{  :  }'
11   extent: '{ b[] }'
12   element_type: float
13   element_size: 4
14 - context: '{  :  }'
15   extent: '{ c[] }'
16   element_type: float
17   element_size: 4
18 statements:
19 - line: 6
20   domain: '{ S_0[] }'
21   schedule: '{ S_0[] -> [0] }'
22   body:
23     type: expression
24     expr:
25       type: op
26       operation: =
27       arguments:
28       - type: access
29         relation: '{ S_0[] -> c[] }'
30         index: '{ S_0[] -> c[] }'
31         reference: __pet_ref_0
32         read: 0
33         write: 1
34       - type: op
35         operation: /
36         arguments:
37         - type: access
38           relation: '{ S_0[] -> a[] }'
39           index: '{ S_0[] -> a[] }'
40           reference: __pet_ref_1
41           read: 1
42           write: 0
43         - type: access
44           relation: '{ S_0[] -> b[] }'
45           index: '{ S_0[] -> b[] }'
46           reference: __pet_ref_2
47           read: 1
48           write: 0