pet_stmt: use pet_tree to represent statement body
[pet.git] / tests / scalar.scop
blob884bf52add64955591707d6a5876b86f281a7bc9
1 start: 22
2 end: 59
3 indent: "\t"
4 context: '{  :  }'
5 arrays:
6 - context: '{  :  }'
7   extent: '{ a[] }'
8   element_type: int
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: int
27         value: 5