scop.c: extract out expr_collect_access
[pet.git] / tests / generic_condition2.scop
blob15a97b173b83b37838d953ad3832438ab9adabd9
1 start: 38
2 end: 144
3 context: '{  :  }'
4 arrays:
5 - context: '{  :  }'
6   extent: '{ a[] }'
7   element_type: int
8   element_size: 4
9 statements:
10 - line: 9
11   domain: '{ S_0[i, j] : (exists (e0 = floor((2 + 4i)/5): i >= 3 and i <= 4 and j
12     >= i and j <= 2147483647 and 5e0 <= 5i - j and 5e0 <= 2 + 4i and 5e0 >= -2 + 4i))
13     or (i >= 0 and i <= 2 and j >= i and j <= 0) }'
14   schedule: '{ S_0[i, j] -> [0, i, j] }'
15   body:
16     type: binary
17     operation: =
18     arguments:
19     - type: access
20       relation: '{ S_0[i, j] -> a[] }'
21       index: '{ S_0[i, j] -> a[] }'
22       reference: __pet_ref_0
23       read: 0
24       write: 1
25     - type: access
26       relation: '{ S_0[i, j] -> [5] }'
27       index: '{ S_0[i, j] -> [(5)] }'
28       reference: __pet_ref_1
29       read: 1
30       write: 0