pet_scop_collect_domains: properly handle statements with arguments
[pet.git] / tests / generic_condition2.scop
blob266fd900750715d8cb2aa2f7b1460db57718f6a9
1 start: 38
2 end: 144
3 indent: "\t"
4 context: '{  :  }'
5 arrays:
6 - context: '{  :  }'
7   extent: '{ a[] }'
8   element_type: int
9   element_size: 4
10 statements:
11 - line: 9
12   domain: '{ S_0[i, j] : exists (e0 = floor((2 + 4i)/5): i >= 0 and i <= 4 and j <=
13     2147483645 and 5e0 <= 2 + 4i and j >= i and 5e0 <= 5i - j and 5e0 >= -2 + 4i)
14     }'
15   schedule: '{ S_0[i, j] -> [0, i, j] }'
16   body:
17     type: expression
18     expr:
19       type: op
20       operation: =
21       arguments:
22       - type: access
23         index: '{ S_0[i, j] -> a[] }'
24         reference: __pet_ref_0
25         read: 0
26         write: 1
27       - type: int
28         value: 5