pet_expr_is_equal: compare index expressions up to reordering of parameters
[pet.git] / tests / assume.scop
blob15011e56252be2ea3845a2a3154030f7f152240e
1 start: 64
2 end: 206
3 context: '[S, n, m] -> {  : m >= 1 + n and m <= 2147483648 - n and S >= 0 and S <=
4   2147483647 and n >= -2147483648 and m <= 2147483647 }'
5 arrays:
6 - context: '[S] -> {  : S >= 0 }'
7   extent: '[S, n, m] -> { D[i0] : i0 <= -1 + S and i0 >= 0 }'
8   element_type: int
9   element_size: 4
10 statements:
11 - line: 4
12   domain: '[S, n, m] -> { S_0[] }'
13   schedule: '{ S_0[] -> [0] }'
14   body:
15     type: op
16     operation: assume
17     arguments:
18     - type: access
19       relation: '[S, n, m] -> { S_0[] -> [1] }'
20       index: '[S, n, m] -> { S_0[] -> [(1)] }'
21       reference: __pet_ref_0
22       read: 1
23       write: 0
24 - line: 6
25   domain: '[S, n, m] -> { S_1[i] : i <= -1 + n and i >= 0 }'
26   schedule: '[n] -> { S_1[i] -> [1, i, 0] }'
27   body:
28     type: op
29     operation: =
30     arguments:
31     - type: access
32       relation: '[S, n, m] -> { S_1[i] -> D[i] }'
33       index: '[S, n, m] -> { S_1[i] -> D[(i)] }'
34       reference: __pet_ref_1
35       read: 0
36       write: 1
37     - type: access
38       relation: '[S, n, m] -> { S_1[i] -> D[m + i] }'
39       index: '[S, n, m] -> { S_1[i] -> D[(m + i)] }'
40       reference: __pet_ref_2
41       read: 1
42       write: 0