pet_expr_filter: avoid introduction of constraints in index expression
[pet.git] / tests / omega.scop
blob24721c73d729467e3ccb2ab116e22af95c8f2deb
1 start: 38
2 end: 140
3 context: '[N] -> {  : N >= 0 and N <= 2147483647 }'
4 arrays:
5 - context: '[N] -> {  : N >= 0 }'
6   extent: '[N] -> { a[i0] : i0 <= -1 + N and i0 >= 0 }'
7   element_type: int
8   element_size: 4
9 statements:
10 - line: 8
11   domain: '[N] -> { S_0[i] : 2i <= -2 + N and 3i >= N }'
12   schedule: '[N] -> { S_0[i] -> [0, i] }'
13   body:
14     type: op
15     operation: =
16     arguments:
17     - type: access
18       relation: '[N] -> { S_0[i] -> a[o0] : exists (e0 = floor((-i + o0)/5): 5e0 =
19         -i + o0 and o0 <= 4 and o0 >= 0) }'
20       index: '[N] -> { S_0[i] -> a[(i - 5*floor((i)/5))] }'
21       reference: __pet_ref_0
22       read: 0
23       write: 1
24     - type: access
25       relation: '[N] -> { S_0[i] -> [i] }'
26       index: '[N] -> { S_0[i] -> [(i)] }'
27       reference: __pet_ref_1
28       read: 1
29       write: 0