postpone introduction of access relations
[pet.git] / tests / mod2.scop
blob656eff1cb2e9569b70494ff3a87723ab51be572e
1 start: 38
2 end: 127
3 indent: "\t"
4 context: '[N] -> {  : N >= 0 and N <= 2147483647 }'
5 arrays:
6 - context: '[N] -> {  : N >= 0 }'
7   extent: '[N] -> { a[i0] : i0 <= -1 + N and i0 >= 0 }'
8   element_type: int
9   element_size: 4
10 statements:
11 - line: 9
12   domain: '[N] -> { S_0[i] : exists (e0 = floor((i)/2): 2e0 = i and i <= -1 + N and
13     i >= 0) }'
14   schedule: '[N] -> { S_0[i] -> [0, i] }'
15   body:
16     type: expression
17     expr:
18       type: op
19       operation: =
20       arguments:
21       - type: access
22         index: '[N] -> { S_0[i] -> a[(i)] }'
23         reference: __pet_ref_0
24         read: 0
25         write: 1
26       - type: op
27         operation: '%'
28         arguments:
29         - type: access
30           index: '[N] -> { S_0[i] -> [(i)] }'
31           reference: __pet_ref_1
32           read: 1
33           write: 0
34         - type: int
35           value: 3