scop.c: extract out expr_collect_access
[pet.git] / tests / generic_condition.scop
blob57f82af3f6d4c56f12f5a67a98abcee5151da437
1 start: 35
2 end: 101
3 context: '[N] -> {  : N <= 2147483647 and N >= -2147483648 }'
4 arrays:
5 - context: '{  :  }'
6   extent: '[N] -> { a[] }'
7   element_type: int
8   element_size: 4
9 statements:
10 - line: 8
11   domain: '[N] -> { S_0[i] : N <= -1 and i >= 0 }'
12   schedule: '[N] -> { S_0[i] -> [0, i] }'
13   body:
14     type: binary
15     operation: =
16     arguments:
17     - type: access
18       relation: '[N] -> { S_0[i] -> a[] }'
19       index: '[N] -> { S_0[i] -> a[] }'
20       reference: __pet_ref_0
21       read: 0
22       write: 1
23     - type: access
24       relation: '[N] -> { S_0[i] -> [5] }'
25       index: '[N] -> { S_0[i] -> [(5)] }'
26       reference: __pet_ref_1
27       read: 1
28       write: 0