add reference identifiers to all access expressions
[pet.git] / tests / break5.scop
bloba6d857dac5b78a89f91ae51fc97c697a153bae8a
1 start: 33
2 end: 269
3 context: '{  :  }'
4 arrays:
5 - context: '{  :  }'
6   extent: '{ a[i0] : i0 >= 0 and i0 <= 99 }'
7   element_type: int
8   element_size: 4
9 statements:
10 - line: 8
11   domain: '{ S_0[i, j] : (i >= 0 and i <= 99 and j >= 0 and j <= 99 and j <= i and
12     j <= 150 - i) or (i >= 0 and i <= 9 and j >= 0 and j <= 99 and j >= 1 + i and
13     j <= 150 - i) or (i >= 0 and i <= 89 and j >= 151 - i and j <= 99 and j <= i)
14     }'
15   schedule: '{ S_0[i, j] -> [0, i, j, 0] }'
16   body:
17     type: binary
18     operation: =
19     arguments:
20     - type: access
21       relation: '{ S_0[i, j] -> a[i] }'
22       reference: __pet_ref_0
23       read: 0
24       write: 1
25     - type: access
26       relation: '{ S_0[i, j] -> [0] }'
27       reference: __pet_ref_1
28       read: 1
29       write: 0
30 - line: 17
31   domain: '{ S_1[i, j] : i >= 10 and i <= 99 and j >= 0 and j <= 60 and j <= -1 +
32     i and j <= 149 - i }'
33   schedule: '{ S_1[i, j] -> [0, i, j, 5] }'
34   body:
35     type: binary
36     operation: =
37     arguments:
38     - type: access
39       relation: '{ S_1[i, j] -> a[i] }'
40       reference: __pet_ref_2
41       read: 0
42       write: 1
43     - type: binary
44       operation: +
45       arguments:
46       - type: access
47         relation: '{ S_1[i, j] -> [i] }'
48         reference: __pet_ref_3
49         read: 1
50         write: 0
51       - type: access
52         relation: '{ S_1[i, j] -> [j] }'
53         reference: __pet_ref_4
54         read: 1
55         write: 0