replace PetScan::extract_access by PetScan::extract_index
[pet.git] / tests / loop3.scop
blob7a9f0eb452e28914092000026aec0fc7f963835f
1 start: 34
2 end: 124
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 >= 7 and i <= 9) or (i >= 0 and i <= 4) }'
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       reference: __pet_ref_0
20       read: 0
21       write: 1
22     - type: access
23       relation: '{ S_0[i] -> [i] }'
24       reference: __pet_ref_1
25       read: 1
26       write: 0