pet_expr_filter: avoid introduction of constraints in index expression
[pet.git] / tests / inf4.scop
blob0bb14d20d342152c4ea3a1b06746cbe6329e887d
1 start: 74
2 end: 216
3 context: '[N] -> {  : N >= 8 and N <= 16 }'
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 - context: '[N] -> {  : N >= 0 }'
10   extent: '[N] -> { b[i0] : i0 <= -1 + N and i0 >= 0 }'
11   element_type: int
12   element_size: 4
13 statements:
14 - line: 12
15   domain: '[N] -> { S_0[i, j] : j >= 0 and i >= 0 and j <= -1 + N }'
16   schedule: '[N] -> { S_0[i, j] -> [0, i, 0, j] }'
17   body:
18     type: op
19     operation: =
20     arguments:
21     - type: access
22       relation: '[N] -> { S_0[i, j] -> a[j] }'
23       index: '[N] -> { S_0[i, j] -> a[(j)] }'
24       reference: __pet_ref_0
25       read: 0
26       write: 1
27     - type: int
28       value: 0
29 - line: 14
30   domain: '[N] -> { S_1[i, j] : j >= 0 and i >= 0 and j <= -1 + N }'
31   schedule: '[N] -> { S_1[i, j] -> [0, i, 1, j] }'
32   body:
33     type: op
34     operation: =
35     arguments:
36     - type: access
37       relation: '[N] -> { S_1[i, j] -> b[j] }'
38       index: '[N] -> { S_1[i, j] -> b[(j)] }'
39       reference: __pet_ref_1
40       read: 0
41       write: 1
42     - type: access
43       relation: '[N] -> { S_1[i, j] -> a[j] }'
44       index: '[N] -> { S_1[i, j] -> a[(j)] }'
45       reference: __pet_ref_2
46       read: 1
47       write: 0