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