Lines Matching +full:0 +full:x64
2 ; RUN: llc < %s -mtriple=x86_64-- | FileCheck %s --check-prefix=X64
5 ; X64-LABEL: test_mul_by_1:
6 ; X64: # %bb.0:
7 ; X64-NEXT: movl %edi, %eax
8 ; X64-NEXT: # kill: def $al killed $al killed $eax
9 ; X64-NEXT: retq
15 ; X64-LABEL: test_mul_by_2:
16 ; X64: # %bb.0:
17 ; X64-NEXT: # kill: def $edi killed $edi def $rdi
18 ; X64-NEXT: leal (%rdi,%rdi), %eax
19 ; X64-NEXT: # kill: def $al killed $al killed $eax
20 ; X64-NEXT: retq
26 ; X64-LABEL: test_mul_by_3:
27 ; X64: # %bb.0:
28 ; X64-NEXT: # kill: def $edi killed $edi def $rdi
29 ; X64-NEXT: leal (%rdi,%rdi,2), %eax
30 ; X64-NEXT: # kill: def $al killed $al killed $eax
31 ; X64-NEXT: retq
37 ; X64-LABEL: test_mul_by_4:
38 ; X64: # %bb.0:
39 ; X64-NEXT: # kill: def $edi killed $edi def $rdi
40 ; X64-NEXT: leal (,%rdi,4), %eax
41 ; X64-NEXT: # kill: def $al killed $al killed $eax
42 ; X64-NEXT: retq
48 ; X64-LABEL: test_mul_by_5:
49 ; X64: # %bb.0:
50 ; X64-NEXT: # kill: def $edi killed $edi def $rdi
51 ; X64-NEXT: leal (%rdi,%rdi,4), %eax
52 ; X64-NEXT: # kill: def $al killed $al killed $eax
53 ; X64-NEXT: retq
59 ; X64-LABEL: test_mul_by_6:
60 ; X64: # %bb.0:
61 ; X64-NEXT: # kill: def $edi killed $edi def $rdi
62 ; X64-NEXT: addl %edi, %edi
63 ; X64-NEXT: leal (%rdi,%rdi,2), %eax
64 ; X64-NEXT: # kill: def $al killed $al killed $eax
65 ; X64-NEXT: retq
71 ; X64-LABEL: test_mul_by_7:
72 ; X64: # %bb.0:
73 ; X64-NEXT: # kill: def $edi killed $edi def $rdi
74 ; X64-NEXT: leal (,%rdi,8), %eax
75 ; X64-NEXT: subl %edi, %eax
76 ; X64-NEXT: # kill: def $al killed $al killed $eax
77 ; X64-NEXT: retq
83 ; X64-LABEL: test_mul_by_8:
84 ; X64: # %bb.0:
85 ; X64-NEXT: # kill: def $edi killed $edi def $rdi
86 ; X64-NEXT: leal (,%rdi,8), %eax
87 ; X64-NEXT: # kill: def $al killed $al killed $eax
88 ; X64-NEXT: retq
94 ; X64-LABEL: test_mul_by_9:
95 ; X64: # %bb.0:
96 ; X64-NEXT: # kill: def $edi killed $edi def $rdi
97 ; X64-NEXT: leal (%rdi,%rdi,8), %eax
98 ; X64-NEXT: # kill: def $al killed $al killed $eax
99 ; X64-NEXT: retq
105 ; X64-LABEL: test_mul_by_10:
106 ; X64: # %bb.0:
107 ; X64-NEXT: # kill: def $edi killed $edi def $rdi
108 ; X64-NEXT: addl %edi, %edi
109 ; X64-NEXT: leal (%rdi,%rdi,4), %eax
110 ; X64-NEXT: # kill: def $al killed $al killed $eax
111 ; X64-NEXT: retq
117 ; X64-LABEL: test_mul_by_11:
118 ; X64: # %bb.0:
119 ; X64-NEXT: # kill: def $edi killed $edi def $rdi
120 ; X64-NEXT: leal (%rdi,%rdi,4), %eax
121 ; X64-NEXT: leal (%rdi,%rax,2), %eax
122 ; X64-NEXT: # kill: def $al killed $al killed $eax
123 ; X64-NEXT: retq
129 ; X64-LABEL: test_mul_by_12:
130 ; X64: # %bb.0:
131 ; X64-NEXT: # kill: def $edi killed $edi def $rdi
132 ; X64-NEXT: shll $2, %edi
133 ; X64-NEXT: leal (%rdi,%rdi,2), %eax
134 ; X64-NEXT: # kill: def $al killed $al killed $eax
135 ; X64-NEXT: retq
141 ; X64-LABEL: test_mul_by_13:
142 ; X64: # %bb.0:
143 ; X64-NEXT: # kill: def $edi killed $edi def $rdi
144 ; X64-NEXT: leal (%rdi,%rdi,2), %eax
145 ; X64-NEXT: leal (%rdi,%rax,4), %eax
146 ; X64-NEXT: # kill: def $al killed $al killed $eax
147 ; X64-NEXT: retq
153 ; X64-LABEL: test_mul_by_14:
154 ; X64: # %bb.0:
155 ; X64-NEXT: movl %edi, %eax
156 ; X64-NEXT: shll $4, %eax
157 ; X64-NEXT: subl %edi, %eax
158 ; X64-NEXT: subl %edi, %eax
159 ; X64-NEXT: # kill: def $al killed $al killed $eax
160 ; X64-NEXT: retq
166 ; X64-LABEL: test_mul_by_15:
167 ; X64: # %bb.0:
168 ; X64-NEXT: # kill: def $edi killed $edi def $rdi
169 ; X64-NEXT: leal (%rdi,%rdi,4), %eax
170 ; X64-NEXT: leal (%rax,%rax,2), %eax
171 ; X64-NEXT: # kill: def $al killed $al killed $eax
172 ; X64-NEXT: retq
178 ; X64-LABEL: test_mul_by_16:
179 ; X64: # %bb.0:
180 ; X64-NEXT: movl %edi, %eax
181 ; X64-NEXT: shlb $4, %al
182 ; X64-NEXT: # kill: def $al killed $al killed $eax
183 ; X64-NEXT: retq
189 ; X64-LABEL: test_mul_by_17:
190 ; X64: # %bb.0:
191 ; X64-NEXT: # kill: def $edi killed $edi def $rdi
192 ; X64-NEXT: movl %edi, %eax
193 ; X64-NEXT: shll $4, %eax
194 ; X64-NEXT: addl %edi, %eax
195 ; X64-NEXT: # kill: def $al killed $al killed $eax
196 ; X64-NEXT: retq
202 ; X64-LABEL: test_mul_by_18:
203 ; X64: # %bb.0:
204 ; X64-NEXT: # kill: def $edi killed $edi def $rdi
205 ; X64-NEXT: addl %edi, %edi
206 ; X64-NEXT: leal (%rdi,%rdi,8), %eax
207 ; X64-NEXT: # kill: def $al killed $al killed $eax
208 ; X64-NEXT: retq
214 ; X64-LABEL: test_mul_by_19:
215 ; X64: # %bb.0:
216 ; X64-NEXT: # kill: def $edi killed $edi def $rdi
217 ; X64-NEXT: leal (%rdi,%rdi,8), %eax
218 ; X64-NEXT: leal (%rdi,%rax,2), %eax
219 ; X64-NEXT: # kill: def $al killed $al killed $eax
220 ; X64-NEXT: retq
226 ; X64-LABEL: test_mul_by_20:
227 ; X64: # %bb.0:
228 ; X64-NEXT: # kill: def $edi killed $edi def $rdi
229 ; X64-NEXT: shll $2, %edi
230 ; X64-NEXT: leal (%rdi,%rdi,4), %eax
231 ; X64-NEXT: # kill: def $al killed $al killed $eax
232 ; X64-NEXT: retq
238 ; X64-LABEL: test_mul_by_21:
239 ; X64: # %bb.0:
240 ; X64-NEXT: # kill: def $edi killed $edi def $rdi
241 ; X64-NEXT: leal (%rdi,%rdi,4), %eax
242 ; X64-NEXT: leal (%rdi,%rax,4), %eax
243 ; X64-NEXT: # kill: def $al killed $al killed $eax
244 ; X64-NEXT: retq
250 ; X64-LABEL: test_mul_by_22:
251 ; X64: # %bb.0:
252 ; X64-NEXT: # kill: def $edi killed $edi def $rdi
253 ; X64-NEXT: leal (%rdi,%rdi,4), %eax
254 ; X64-NEXT: leal (%rdi,%rax,4), %eax
255 ; X64-NEXT: addl %edi, %eax
256 ; X64-NEXT: # kill: def $al killed $al killed $eax
257 ; X64-NEXT: retq
263 ; X64-LABEL: test_mul_by_23:
264 ; X64: # %bb.0:
265 ; X64-NEXT: # kill: def $edi killed $edi def $rdi
266 ; X64-NEXT: leal (%rdi,%rdi,2), %eax
267 ; X64-NEXT: shll $3, %eax
268 ; X64-NEXT: subl %edi, %eax
269 ; X64-NEXT: # kill: def $al killed $al killed $eax
270 ; X64-NEXT: retq
276 ; X64-LABEL: test_mul_by_24:
277 ; X64: # %bb.0:
278 ; X64-NEXT: # kill: def $edi killed $edi def $rdi
279 ; X64-NEXT: shll $3, %edi
280 ; X64-NEXT: leal (%rdi,%rdi,2), %eax
281 ; X64-NEXT: # kill: def $al killed $al killed $eax
282 ; X64-NEXT: retq
288 ; X64-LABEL: test_mul_by_25:
289 ; X64: # %bb.0:
290 ; X64-NEXT: # kill: def $edi killed $edi def $rdi
291 ; X64-NEXT: leal (%rdi,%rdi,4), %eax
292 ; X64-NEXT: leal (%rax,%rax,4), %eax
293 ; X64-NEXT: # kill: def $al killed $al killed $eax
294 ; X64-NEXT: retq
300 ; X64-LABEL: test_mul_by_26:
301 ; X64: # %bb.0:
302 ; X64-NEXT: # kill: def $edi killed $edi def $rdi
303 ; X64-NEXT: leal (%rdi,%rdi,4), %eax
304 ; X64-NEXT: leal (%rax,%rax,4), %eax
305 ; X64-NEXT: addl %edi, %eax
306 ; X64-NEXT: # kill: def $al killed $al killed $eax
307 ; X64-NEXT: retq
313 ; X64-LABEL: test_mul_by_27:
314 ; X64: # %bb.0:
315 ; X64-NEXT: # kill: def $edi killed $edi def $rdi
316 ; X64-NEXT: leal (%rdi,%rdi,8), %eax
317 ; X64-NEXT: leal (%rax,%rax,2), %eax
318 ; X64-NEXT: # kill: def $al killed $al killed $eax
319 ; X64-NEXT: retq
325 ; X64-LABEL: test_mul_by_28:
326 ; X64: # %bb.0:
327 ; X64-NEXT: # kill: def $edi killed $edi def $rdi
328 ; X64-NEXT: leal (%rdi,%rdi,8), %eax
329 ; X64-NEXT: leal (%rax,%rax,2), %eax
330 ; X64-NEXT: addl %edi, %eax
331 ; X64-NEXT: # kill: def $al killed $al killed $eax
332 ; X64-NEXT: retq
338 ; X64-LABEL: test_mul_by_29:
339 ; X64: # %bb.0:
340 ; X64-NEXT: # kill: def $edi killed $edi def $rdi
341 ; X64-NEXT: leal (%rdi,%rdi,8), %eax
342 ; X64-NEXT: leal (%rax,%rax,2), %eax
343 ; X64-NEXT: addl %edi, %eax
344 ; X64-NEXT: addl %edi, %eax
345 ; X64-NEXT: # kill: def $al killed $al killed $eax
346 ; X64-NEXT: retq
352 ; X64-LABEL: test_mul_by_30:
353 ; X64: # %bb.0:
354 ; X64-NEXT: movl %edi, %eax
355 ; X64-NEXT: shll $5, %eax
356 ; X64-NEXT: subl %edi, %eax
357 ; X64-NEXT: subl %edi, %eax
358 ; X64-NEXT: # kill: def $al killed $al killed $eax
359 ; X64-NEXT: retq
365 ; X64-LABEL: test_mul_by_31:
366 ; X64: # %bb.0:
367 ; X64-NEXT: movl %edi, %eax
368 ; X64-NEXT: shll $5, %eax
369 ; X64-NEXT: subl %edi, %eax
370 ; X64-NEXT: # kill: def $al killed $al killed $eax
371 ; X64-NEXT: retq
377 ; X64-LABEL: test_mul_by_32:
378 ; X64: # %bb.0:
379 ; X64-NEXT: movl %edi, %eax
380 ; X64-NEXT: shlb $5, %al
381 ; X64-NEXT: # kill: def $al killed $al killed $eax
382 ; X64-NEXT: retq
388 ; X64-LABEL: test_mul_by_37:
389 ; X64: # %bb.0:
390 ; X64-NEXT: # kill: def $edi killed $edi def $rdi
391 ; X64-NEXT: leal (%rdi,%rdi,8), %eax
392 ; X64-NEXT: leal (%rdi,%rax,4), %eax
393 ; X64-NEXT: # kill: def $al killed $al killed $eax
394 ; X64-NEXT: retq
400 ; X64-LABEL: test_mul_by_41:
401 ; X64: # %bb.0:
402 ; X64-NEXT: # kill: def $edi killed $edi def $rdi
403 ; X64-NEXT: leal (%rdi,%rdi,4), %eax
404 ; X64-NEXT: leal (%rdi,%rax,8), %eax
405 ; X64-NEXT: # kill: def $al killed $al killed $eax
406 ; X64-NEXT: retq
412 ; X64-LABEL: test_mul_by_62:
413 ; X64: # %bb.0:
414 ; X64-NEXT: movl %edi, %eax
415 ; X64-NEXT: shll $6, %eax
416 ; X64-NEXT: subl %edi, %eax
417 ; X64-NEXT: subl %edi, %eax
418 ; X64-NEXT: # kill: def $al killed $al killed $eax
419 ; X64-NEXT: retq
425 ; X64-LABEL: test_mul_by_66:
426 ; X64: # %bb.0:
427 ; X64-NEXT: # kill: def $edi killed $edi def $rdi
428 ; X64-NEXT: movl %edi, %eax
429 ; X64-NEXT: shll $6, %eax
430 ; X64-NEXT: leal (%rax,%rdi,2), %eax
431 ; X64-NEXT: # kill: def $al killed $al killed $eax
432 ; X64-NEXT: retq
438 ; X64-LABEL: test_mul_by_73:
439 ; X64: # %bb.0:
440 ; X64-NEXT: # kill: def $edi killed $edi def $rdi
441 ; X64-NEXT: leal (%rdi,%rdi,8), %eax
442 ; X64-NEXT: leal (%rdi,%rax,8), %eax
443 ; X64-NEXT: # kill: def $al killed $al killed $eax
444 ; X64-NEXT: retq
450 ; X64-LABEL: test_mul_by_520:
451 ; X64: # %bb.0:
452 ; X64-NEXT: # kill: def $edi killed $edi def $rdi
453 ; X64-NEXT: leal (,%rdi,8), %eax
454 ; X64-NEXT: # kill: def $al killed $al killed $eax
455 ; X64-NEXT: retq
461 ; X64-LABEL: test_mul_by_neg10:
462 ; X64: # %bb.0:
463 ; X64-NEXT: # kill: def $edi killed $edi def $rdi
464 ; X64-NEXT: addl %edi, %edi
465 ; X64-NEXT: leal (%rdi,%rdi,4), %eax
466 ; X64-NEXT: negl %eax
467 ; X64-NEXT: # kill: def $al killed $al killed $eax
468 ; X64-NEXT: retq
474 ; X64-LABEL: test_mul_by_neg36:
475 ; X64: # %bb.0:
476 ; X64-NEXT: # kill: def $edi killed $edi def $rdi
477 ; X64-NEXT: shll $2, %edi
478 ; X64-NEXT: leal (%rdi,%rdi,8), %eax
479 ; X64-NEXT: negl %eax
480 ; X64-NEXT: # kill: def $al killed $al killed $eax
481 ; X64-NEXT: retq