replace pet_stmt_from_pet_expr by pet_stmt_from_pet_tree
[pet.git] / tests / scalar_inc.scop
blobd8e5fcefc0a25a7034942488359cf244a3120135
1 start: 22
2 end: 65
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
28 - line: 7
29   domain: '{ S_1[] }'
30   schedule: '{ S_1[] -> [1] }'
31   body:
32     type: expression
33     expr:
34       type: op
35       operation: ++
36       arguments:
37       - type: access
38         relation: '{ S_1[] -> a[] }'
39         index: '{ S_1[] -> a[] }'
40         reference: __pet_ref_1
41         read: 1
42         write: 1