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