pet_stmt: use pet_tree to represent statement body
[pet.git] / tests / generic_condition.scop
blob6a310c2efa9b99303ef1d320c15ff7adfb188737
1 start: 35
2 end: 101
3 indent: "\t"
4 context: '[N] -> {  : N <= 2147483647 and N >= -2147483648 }'
5 arrays:
6 - context: '{  :  }'
7   extent: '[N] -> { a[] }'
8   element_type: int
9   element_size: 4
10 statements:
11 - line: 8
12   domain: '[N] -> { S_0[i] : N <= -1 and i >= 0 }'
13   schedule: '[N] -> { S_0[i] -> [0, i] }'
14   body:
15     type: expression
16     expr:
17       type: op
18       operation: =
19       arguments:
20       - type: access
21         relation: '[N] -> { S_0[i] -> a[] }'
22         index: '[N] -> { S_0[i] -> a[] }'
23         reference: __pet_ref_0
24         read: 0
25         write: 1
26       - type: int
27         value: 5