replace pet_stmt_from_pet_expr by pet_stmt_from_pet_tree
[pet.git] / tests / loop4.scop
blobe6b77ebf7e6635dbb48f4de7522ecf18db4f71f5
1 start: 34
2 end: 127
3 indent: "\t"
4 context: '{  :  }'
5 arrays:
6 - context: '{  :  }'
7   extent: '{ a[i0] : i0 >= 0 and i0 <= 9 }'
8   element_type: int
9   element_size: 4
10 statements:
11 - line: 9
12   domain: '{ S_0[i] : i >= 5 and i <= 6 }'
13   schedule: '{ S_0[i] -> [0, i] }'
14   body:
15     type: expression
16     expr:
17       type: op
18       operation: =
19       arguments:
20       - type: access
21         relation: '{ S_0[i] -> a[i] }'
22         index: '{ S_0[i] -> a[(i)] }'
23         reference: __pet_ref_0
24         read: 0
25         write: 1
26       - type: access
27         relation: '{ S_0[i] -> [i] }'
28         index: '{ S_0[i] -> [(i)] }'
29         reference: __pet_ref_1
30         read: 1
31         write: 0