add reference identifiers to all access expressions
[pet.git] / tests / scalar_inc.scop
blob6451c9a98e8c0c2210b9d462abd093e8b025e5c4
1 start: 22
2 end: 65
3 context: '{  :  }'
4 arrays:
5 - context: '{  :  }'
6   extent: '{ a[] }'
7   element_type: int
8   element_size: 4
9 statements:
10 - line: 6
11   domain: '{ S_0[] }'
12   schedule: '{ S_0[] -> [0] }'
13   body:
14     type: binary
15     operation: =
16     arguments:
17     - type: access
18       relation: '{ S_0[] -> a[] }'
19       reference: __pet_ref_0
20       read: 0
21       write: 1
22     - type: access
23       relation: '{ S_0[] -> [5] }'
24       reference: __pet_ref_1
25       read: 1
26       write: 0
27 - line: 7
28   domain: '{ S_1[] }'
29   schedule: '{ S_1[] -> [1] }'
30   body:
31     type: unary
32     operation: ++
33     arguments:
34     - type: access
35       relation: '{ S_1[] -> a[] }'
36       reference: __pet_ref_2
37       read: 1
38       write: 1