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