summaryrefslogtreecommitdiff
path: root/base/BubbleSort.regalloc
blob: bd27d17977bc8bf1e36edc86a62fba8586caf973 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
func Main
  in 0, out 0, callee-saves 0, spills 0
Live In:
  t.0: 11-12 15-17
  t.1: 16-17
  t.2: 18
Linear Range:
  t.0: 10-17
  t.1: 15-17
  t.2: 17-18
Allocation:
  t.0: t0
  t.1: t1
  t.2: t1

func BBS.Start
  in 0, out 0, callee-saves 1, spills 0
Live In:
  this: 22-34
  sz: 22-24
  t.0: 23-24
  aux01:
  t.1: 26-27
  t.2: 30-31
  t.3: 33-34
Linear Range:
  this: 21-34 (cross call)
  sz: 21-24
  t.0: 22-24
  t.1: 25-27
  t.2: 29-31
  t.3: 32-34
Allocation:
  this: s0
  sz: t0
  t.0: t1
  t.1: t1
  t.2: t1
  t.3: t1

func BBS.Sort
  in 0, out 0, callee-saves 0, spills 0
Live In:
  this: 38-51 54-56 59-63 66-68 71-78 81-83 86-90 93-95 98-101 104-106 109-114 117-119 122-133
  t.0: 39
  i: 40-51 54-56 59-63 66-68 71-78 81-83 86-90 93-95 98-101 104-106 109-114 117-119 122-133
  aux02: 42-51 54-56 59-63 66-68 71-78 81-83 86-90 93-95 98-101 104-106 109-114 117-119 122-133
  t.1: 43
  j: 46-51 54-56 59-63 66-68 71-78 81-83 86-90 93-95 98-101 104-106 109-114 117-119 122-130
  t.2: 47
  t.3: 48
  aux07: 50-51 54-56 59
  t.4: 51 54-56 59-60
  t.5: 55-56 60-61
  aux04: 62-63 66-68 71-74
  t.6: 63 66-68 71-72
  t.7: 67-68 72-73
  aux05: 74
  t.8: 75
  aux06: 77-78 81-83 86-90 93-95 98
  t.9: 78 81-83 86-87
  t.10: 82-83 87-88
  t: 89-90 93-95 98-101 104-106 109-114 117-119 122-124
  t.11: 90 93-95 98-99
  t.12: 94-95 99-101 104-106 109-112
  t.13: 101 104-106 109-110
  t.14: 105-106 110-111
  t.15: 112
  t.16: 114 117-119 122-123
  t.17: 118-119 123-124
  nt:
Linear Range:
  this: 37-133
  t.0: 38-39
  i: 39-133
  aux02: 40-133
  t.1: 42-43
  j: 44-130
  t.2: 46-47
  t.3: 47-48
  aux07: 49-59
  t.4: 50-60
  t.5: 54-61
  aux04: 61-74
  t.6: 62-72
  t.7: 66-73
  aux05: 73-74
  t.8: 74-75
  aux06: 76-98
  t.9: 77-87
  t.10: 81-88
  t: 88-124
  t.11: 89-99
  t.12: 93-112
  t.13: 100-110
  t.14: 104-111
  t.15: 111-112
  t.16: 113-123
  t.17: 117-124
Allocation:
  this: t0
  t.0: t1
  i: t1
  aux02: t2
  t.1: t3
  j: t3
  t.2: t4
  t.3: t4
  aux07: t4
  t.4: t5
  t.5: t6
  aux04: t6
  t.6: t5
  t.7: t4
  aux05: t4
  t.8: t4
  aux06: t4
  t.9: t6
  t.10: t5
  t: t5
  t.11: t6
  t.12: t7
  t.13: t6
  t.14: t4
  t.15: t4
  t.16: t4
  t.17: t7

func BBS.Print
  in 0, out 0, callee-saves 0, spills 0
Live In:
  this: 138-144 147-149 152-157
  j: 140-144 147-149 152-157
  t.0: 141
  t.1: 142
  t.2: 144 147-149 152-153
  t.3: 148-149 153-154
  t.4: 155
Linear Range:
  this: 137-157
  j: 138-157
  t.0: 140-141
  t.1: 141-142
  t.2: 143-153
  t.3: 147-154
  t.4: 154-155
Allocation:
  this: t0
  j: t1
  t.0: t2
  t.1: t2
  t.2: t2
  t.3: t3
  t.4: t3

func BBS.Init
  in 0, out 0, callee-saves 1, spills 0
Live In:
  this: 162-166 169-171 174-178 181-183 186-190 193-195 198-202 205-207 210-214 217-219 222-226 229-231 234-238 241-243 246-250 253-255 258-262 265-267 270-273
  sz: 162-163
  t.0: 164
  t.1: 166 169-171 174-175
  t.2: 170-171 175-176
  t.3: 178 181-183 186-187
  t.4: 182-183 187-188
  t.5: 190 193-195 198-199
  t.6: 194-195 199-200
  t.7: 202 205-207 210-211
  t.8: 206-207 211-212
  t.9: 214 217-219 222-223
  t.10: 218-219 223-224
  t.11: 226 229-231 234-235
  t.12: 230-231 235-236
  t.13: 238 241-243 246-247
  t.14: 242-243 247-248
  t.15: 250 253-255 258-259
  t.16: 254-255 259-260
  t.17: 262 265-267 270-271
  t.18: 266-267 271-272
  t.19: 274 277-279 282-283
  t.20: 278-279 283-284
Linear Range:
  this: 161-273 (cross call)
  sz: 161-163
  t.0: 163-164
  t.1: 165-175
  t.2: 169-176
  t.3: 177-187
  t.4: 181-188
  t.5: 189-199
  t.6: 193-200
  t.7: 201-211
  t.8: 205-212
  t.9: 213-223
  t.10: 217-224
  t.11: 225-235
  t.12: 229-236
  t.13: 237-247
  t.14: 241-248
  t.15: 249-259
  t.16: 253-260
  t.17: 261-271
  t.18: 265-272
  t.19: 273-283
  t.20: 277-284
Allocation:
  this: s0
  sz: t0
  t.0: t0
  t.1: t0
  t.2: t1
  t.3: t1
  t.4: t0
  t.5: t0
  t.6: t1
  t.7: t1
  t.8: t0
  t.9: t0
  t.10: t1
  t.11: t1
  t.12: t0
  t.13: t0
  t.14: t1
  t.15: t1
  t.16: t0
  t.17: t0
  t.18: t1
  t.19: t1
  t.20: t0

func AllocArray
  in 0, out 0, callee-saves 0, spills 0
Live In:
  size: 288-291
  bytes: 289-290
  v: 291-292
Linear Range:
  size: 287-291
  bytes: 288-290
  v: 290-292
Allocation:
  size: t0
  bytes: t1
  v: t1