replace PetScan::extract_access by PetScan::extract_index
[pet.git] / tests / mod2.scop
blob1fba0bf7ddb17f942d68417a1c19e0b8bbaa22d7
1 start: 38
2 end: 127
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: 9
11   domain: '[N] -> { S_0[i] : exists (e0 = [(i)/2]: 2e0 = i and i <= -1 + N and i >=
12     0) }'
13   schedule: '[N] -> { S_0[i] -> [0, i] }'
14   body:
15     type: binary
16     operation: =
17     arguments:
18     - type: access
19       relation: '[N] -> { S_0[i] -> a[i] }'
20       reference: __pet_ref_0
21       read: 0
22       write: 1
23     - type: binary
24       operation: '%'
25       arguments:
26       - type: access
27         relation: '[N] -> { S_0[i] -> [i] }'
28         reference: __pet_ref_1
29         read: 1
30         write: 0
31       - type: access
32         relation: '[N] -> { S_0[i] -> [3] }'
33         reference: __pet_ref_2
34         read: 1
35         write: 0