expr.c: access_add_ref_id: avoid using access relation
[pet.git] / tests / label.scop
blob6f60cf0770266557f76c5c519d67ad7d9f02b0f8
1 start: 22
2 end: 71
3 indent: 
4 context: '{  :  }'
5 arrays:
6 - context: '{  :  }'
7   extent: '{ a[] }'
8   element_type: int
9   element_size: 4
10 statements:
11 - line: 6
12   domain: '{ A[] }'
13   schedule: '{ A[] -> [0] }'
14   body:
15     type: expression
16     expr:
17       type: op
18       operation: =
19       arguments:
20       - type: access
21         relation: '{ A[] -> a[] }'
22         index: '{ A[] -> a[] }'
23         reference: __pet_ref_0
24         read: 0
25         write: 1
26       - type: int
27         value: 5
28 - line: 7
29   domain: '{ B[] }'
30   schedule: '{ B[] -> [1] }'
31   body:
32     type: expression
33     expr:
34       type: op
35       operation: =
36       arguments:
37       - type: access
38         relation: '{ B[] -> a[] }'
39         index: '{ B[] -> a[] }'
40         reference: __pet_ref_1
41         read: 0
42         write: 1
43       - type: int
44         value: 7