Lines Matching refs:fast
6 %mul = fmul fast float %a, 0x3FF3333340000000
7 %mul1 = fmul fast float %mul, 0x4002666660000000
10 ; CHECK: fmul fast float %a, 0x4006147AE0000000
17 ; CHECK: %mul = fmul fast float %a, 0x3FF3333340000000
18 %mul = fmul fast float %a, 0x3FF3333340000000
25 ; CHECK: fmul fast float %a, 0x4006147AE0000000
27 %mul1 = fmul fast float %mul, 0x4002666660000000
33 %t1 = fmul fast double 2.000000e+00, %f1
34 %t2 = fadd fast double %f1, %t1
37 ; CHECK: fmul fast double %f1, 3.000000e+00
44 %add = fadd fast float %sub, %sub1
47 ; CHECK: %1 = fadd fast float %f1, %f2
48 ; CHECK: fsub fast float 9.000000e+00, %1
54 %add1 = fadd fast float %add, 5.000000e+00
57 ; CHECK: fadd fast float %f1, 9.000000e+00
62 %t1 = fadd fast float %f1, %f1
63 %t2 = fadd fast float %f1, %t1
66 ; CHECK: fmul fast float %f1, 3.000000e+00
71 %t1 = fmul fast float %f1, 5.000000e+00
72 %t2 = fadd fast float %f1, %f1
73 %t3 = fadd fast float %t1, %t2
76 ; CHECK: fmul fast float %f1, 7.000000e+00
81 %t1 = fadd fast float %f1, %f1
82 %t2 = fadd fast float %f1, %f1
83 %t3 = fadd fast float %t1, %t2
86 ; CHECK: fmul fast float %f1, 4.000000e+00
92 %t3 = fsub fast float %f1, %t1
96 ; CHECK: fsub fast float -0.000000e+00, %f2
105 %t1 = fadd fast float 2.000000e+00, %f1
106 %t2 = fsub fast float %f2, 3.000000e+00
107 %t3 = fadd fast float %t1, %t2
110 ; CHECK: %t3 = fadd fast float %t2, -1.000000e+00
116 %conv3 = fadd fast float %f1, -1.000000e+00
117 %add = fadd fast float %conv3, %conv3
118 %add2 = fadd fast float %add, %conv3
125 %t1 = fsub fast double %f1, %f2
126 %t2 = fadd fast double %f1, %f2
127 %t3 = fsub fast double %t1, %t2
135 %mul = fmul fast float %x, 7.000000e+00
136 %sub = fsub fast float %mul, %x
139 ; CHECK: fmul fast float %x, 6.000000e+00
145 %neg = fsub fast float -0.0, %x
146 %add = fadd fast float %neg, %y
149 ; CHECK: fsub fast float %y, %x
155 %neg = fsub fast float -0.0, %y
156 %add = fadd fast float %x, %neg
159 ; CHECK: fsub fast float %x, %y
166 %plus = fadd fast float %x, %y
167 %minus = fsub fast float %x, %y
171 ; CHECK: fsub fast float
173 ; CHECK: fadd fast float
189 %t3 = fmul fast float %t2, 5.0e+3
192 ; CHECK: %1 = fmul fast float %f1, 3.000000e+07
193 ; CHECK: %t3 = fadd fast float %1, 1.000000e+07
201 %t3 = fmul fast double %t2, 0x10000000000000
205 ; CHECK: %1 = fdiv fast double %f1, 0x7FE8000000000000
206 ; CHECK: fadd fast double %1, 0x69000000000000
214 %t3 = fmul fast double %t2, 0x10000000000000
218 ; CHECK: fmul fast double %t2, 0x10000000000000
225 %t3 = fmul fast float %t2, 5.0e+3
228 ; CHECK: %1 = fmul fast float %f1, 3.000000e+07
229 ; CHECK: %t3 = fsub fast float 1.000000e+07, %1
235 %t3 = fmul fast float %t1, 6.0e+3
238 ; CHECK: fdiv fast float 1.200000e+07, %f1
244 %div = fdiv fast float 1.000000e+00, %f1
246 %mul = fmul fast float %div, 2.000000e+00
250 ; CHECK: fmul fast
256 %t3 = fmul fast float %t1, 6.0e+3
259 ; CHECK: fmul fast float %f1, 3.000000e+00
264 %t3 = fmul fast <4 x float> %t1, <float 6.0e+3, float 6.0e+3, float 2.0e+3, float 1.0e+3>
267 ; CHECK: fmul fast <4 x float> %f1, <float 3.000000e+00, float 2.000000e+00, float 1.000000e+00, fl…
274 %t3 = fmul fast <4 x float> %t1, %constExprMul
283 %t3 = fmul fast float %t1, 0x3810000000000000
286 ; CHECK: fmul fast float %t1, 0x3810000000000000
294 %t3 = fmul fast float %t1, 0x3810000000000000
297 ; CHECK: fdiv fast float %f1, 0x47E8000000000000
303 %mul1 = fmul fast float %mul, %f1
306 ; CHECK: fmul fast float %f1, %f1
312 %mul1 = fmul fast float %mul, %f1
316 ; CHECK: fmul fast float %mul, %f1
350 %div1 = fdiv fast float %div, 0x4002666660000000
356 ; CHECK: fmul fast float %x, 0x3FD7303B60000000
362 %div1 = fdiv fast float %mul, 0x4002666660000000
369 ; CHECK: fmul fast float %x, 0x3FE0B21660000000
374 %div1 = fdiv fast <2 x float> %mul, <float 2.0, float 3.0>
378 ; CHECK: fmul fast <2 x float> %x, <float 3.000000e+00, float 3.000000e+00>
385 %div1 = fdiv fast float %div, 0x4002666660000000
403 %t2 = fdiv fast float %t1, %f3
412 %t2 = fdiv fast float %f3, %t1
421 %t2 = fdiv fast float 15.0e0, %t1
424 ; CHECK: fdiv fast float 5.000000e+00, %x
430 %t2 = fdiv fast float 15.0e0, %t1
433 ; CHECK: fdiv fast float 4.500000e+01, %x
439 %t2 = fdiv fast float 15.0e0, %t1
442 ; CHECK: fmul fast float %x, 5.000000e+00
452 %t1 = fmul fast float %x, %z
453 %t2 = fmul fast float %y, %z
454 %t3 = fadd fast float %t1, %t2
457 ; CHECK: fmul fast float %1, %z
462 %t1 = fmul fast float %z, %x
463 %t2 = fmul fast float %y, %z
464 %t3 = fsub fast float %t1, %t2
467 ; CHECK: fmul fast float %1, %z
472 %t2 = fmul fast float %z, %y
473 %t1 = fmul fast float %z, %x
474 %t3 = fsub fast float %t1, %t2
477 ; CHECK: fmul fast float %1, %z
482 %t1 = fmul fast float %x, %z
483 %t2 = fmul fast float %z, %y
484 %t3 = fsub fast float %t1, %t2
487 ; CHECK: fmul fast float %1, %z
492 %t1 = fdiv fast float %x, %y
493 %t2 = fdiv fast float %x, %z
494 %t3 = fadd fast float %t1, %t2
497 ; CHECK: fadd fast float %t1, %t2
502 %t1 = fdiv fast float %x, %y
503 %t2 = fdiv fast float %z, %x
504 %t3 = fadd fast float %t1, %t2
507 ; CHECK: fadd fast float %t1, %t2
512 %t1 = fdiv fast float %y, %x
513 %t2 = fdiv fast float %z, %x
514 %t3 = fadd fast float %t1, %t2
517 ; CHECK: fdiv fast float %1, %x
522 %t1 = fdiv fast float %y, %x
523 %t2 = fdiv fast float %z, %x
524 %t3 = fsub fast float %t1, %t2
527 ; CHECK: fdiv fast float %1, %x
532 %t1 = fdiv fast float 0x3810000000000000, %x
533 %t2 = fdiv fast float 0x3800000000000000, %x
534 %t3 = fadd fast float %t1, %t2
537 ; CHECK: fdiv fast float 0x3818000000000000, %x
542 %t1 = fdiv fast float 0x3810000000000000, %x
543 %t2 = fdiv fast float 0x3800000000000000, %x
544 %t3 = fsub fast float %t1, %t2
547 ; CHECK: %t3 = fsub fast float %t1, %t2
562 %mul = fmul fast double %x, %x
563 %sqrt = call fast double @llvm.sqrt.f64(double %mul)
567 ; CHECK-NEXT: %fabs = call fast double @llvm.fabs.f64(double %x)
575 %mul = fmul fast double %y, %x
576 %mul2 = fmul fast double %mul, %x
577 %sqrt = call fast double @llvm.sqrt.f64(double %mul2)
581 ; CHECK-NEXT: %fabs = call fast double @llvm.fabs.f64(double %x)
582 ; CHECK-NEXT: %sqrt1 = call fast double @llvm.sqrt.f64(double %y)
583 ; CHECK-NEXT: %1 = fmul fast double %fabs, %sqrt1
588 %mul = fmul fast double %x, %y
589 %mul2 = fmul fast double %mul, %x
590 %sqrt = call fast double @llvm.sqrt.f64(double %mul2)
594 ; CHECK-NEXT: %fabs = call fast double @llvm.fabs.f64(double %x)
595 ; CHECK-NEXT: %sqrt1 = call fast double @llvm.sqrt.f64(double %y)
596 ; CHECK-NEXT: %1 = fmul fast double %fabs, %sqrt1
601 %mul = fmul fast double %x, %x
602 %mul2 = fmul fast double %mul, %y
603 %sqrt = call fast double @llvm.sqrt.f64(double %mul2)
607 ; CHECK-NEXT: %fabs = call fast double @llvm.fabs.f64(double %x)
608 ; CHECK-NEXT: %sqrt1 = call fast double @llvm.sqrt.f64(double %y)
609 ; CHECK-NEXT: %1 = fmul fast double %fabs, %sqrt1
614 %mul = fmul fast double %y, %x
615 %mul2 = fmul fast double %x, %mul
616 %sqrt = call fast double @llvm.sqrt.f64(double %mul2)
620 ; CHECK-NEXT: %fabs = call fast double @llvm.fabs.f64(double %x)
621 ; CHECK-NEXT: %sqrt1 = call fast double @llvm.sqrt.f64(double %y)
622 ; CHECK-NEXT: %1 = fmul fast double %fabs, %sqrt1
627 %mul = fmul fast double %x, %y
628 %mul2 = fmul fast double %x, %mul
629 %sqrt = call fast double @llvm.sqrt.f64(double %mul2)
633 ; CHECK-NEXT: %fabs = call fast double @llvm.fabs.f64(double %x)
634 ; CHECK-NEXT: %sqrt1 = call fast double @llvm.sqrt.f64(double %y)
635 ; CHECK-NEXT: %1 = fmul fast double %fabs, %sqrt1
640 %mul = fmul fast double %x, %x
641 %mul2 = fmul fast double %y, %mul
642 %sqrt = call fast double @llvm.sqrt.f64(double %mul2)
646 ; CHECK-NEXT: %fabs = call fast double @llvm.fabs.f64(double %x)
647 ; CHECK-NEXT: %sqrt1 = call fast double @llvm.sqrt.f64(double %y)
648 ; CHECK-NEXT: %1 = fmul fast double %fabs, %sqrt1
652 ; If any operation is not 'fast', we can't simplify.
656 %mul2 = fmul fast double %mul, %y
657 %sqrt = call fast double @llvm.sqrt.f64(double %mul2)
662 ; CHECK-NEXT: %mul2 = fmul fast double %mul, %y
663 ; CHECK-NEXT: %sqrt = call fast double @llvm.sqrt.f64(double %mul2)
668 %mul = fmul fast double %x, %x
669 %mul2 = fmul fast double %mul, %mul
670 %sqrt = call fast double @llvm.sqrt.f64(double %mul2)
674 ; CHECK-NEXT: %mul = fmul fast double %x, %x
679 %mul = fmul fast double %x, %x
680 %mul2 = fmul fast double %mul, %x
681 %mul3 = fmul fast double %mul2, %mul
682 %sqrt = call fast double @llvm.sqrt.f64(double %mul3)
686 ; CHECK-NEXT: %mul = fmul fast double %x, %x
687 ; CHECK-NEXT: %sqrt1 = call fast double @llvm.sqrt.f64(double %x)
688 ; CHECK-NEXT: %1 = fmul fast double %mul, %sqrt1
699 %mul = fmul fast float %x, %x
700 %sqrt = call fast float @sqrtf(float %mul)
704 ; CHECK-NEXT: %fabs = call fast float @llvm.fabs.f32(float %x)
709 %mul = fmul fast double %x, %x
710 %sqrt = call fast double @sqrt(double %mul)
714 ; CHECK-NEXT: %fabs = call fast double @llvm.fabs.f64(double %x)
719 %mul = fmul fast fp128 %x, %x
720 %sqrt = call fast fp128 @sqrtl(fp128 %mul)
724 ; CHECK-NEXT: %fabs = call fast fp128 @llvm.fabs.f128(fp128 %x)
750 %e = call fast double @fmax(double %c, double %d)
755 ; CHECK-NEXT: fcmp fast ogt float %a, %b
772 %c = call fast double @fmax(double %a, double %b)
776 ; CHECK-NEXT: fcmp fast ogt double %a, %b
806 %c = call fast float @fminf(float %a, float %b)
810 ; CHECK-NEXT: fcmp fast olt float %a, %b
826 %c = call fast fp128 @fminl(fp128 %a, fp128 %b)
830 ; CHECK-NEXT: fcmp fast olt fp128 %a, %b