/external/llvm/test/Transforms/Reassociate/ |
D | fast-basictest.ll | 6 ; CHECK-NEXT: fsub fast float -0.000000e+00, %arg 9 %tmp1 = fsub fast float -1.200000e+01, %arg 10 %tmp2 = fadd fast float %tmp1, 1.200000e+01 29 ; CHECK-NEXT: %reg117 = fadd fast float %reg109, %reg1111 32 %reg115 = fadd fast float %reg109, -3.000000e+01 33 %reg116 = fadd fast float %reg115, %reg1111 34 %reg117 = fadd fast float %reg116, 3.000000e+01 46 ; CHECK: fadd fast float 47 ; CHECK: fadd fast float 48 ; CHECK-NOT: fadd fast float [all …]
|
D | fast-mightymul.ll | 5 %t0 = fmul fast float %x, %x 6 %t1 = fmul fast float %t0, %t0 7 %t2 = fmul fast float %t1, %t1 8 %t3 = fmul fast float %t2, %t2 9 %t4 = fmul fast float %t3, %t3 10 %t5 = fmul fast float %t4, %t4 11 %t6 = fmul fast float %t5, %t5 12 %t7 = fmul fast float %t6, %t6 13 %t8 = fmul fast float %t7, %t7 14 %t9 = fmul fast float %t8, %t8 [all …]
|
D | fast-fp-commute.ll | 7 ; CHECK: fmul fast float %y, %x 8 ; CHECK: fmul fast float %y, %x 9 ; CHECK: fsub fast float %1, %2 13 %1 = fmul fast float %x, %y 14 %2 = fmul fast float %y, %x 15 %3 = fsub fast float %1, %2 23 ; CHECK-NEXT: fmul fast float %y, %x 24 ; CHECK-NEXT: fmul fast float %y, %x 25 ; CHECK-NEXT: fsub fast float %1, %2 28 %1 = fmul fast float %x, %y [all …]
|
D | reassoc-intermediate-fnegs.ll | 3 ; CHECK: [[TMP1:%.*]] = fsub fast half 0xH8000, %a 4 ; CHECK: [[TMP2:%.*]] = fadd fast half %b, [[TMP1]] 5 ; CHECK: fmul fast half [[TMP2]], 0xH4500 9 %tmp1 = fmul fast half %b, 0xH4200 ; 3*b 10 %tmp2 = fmul fast half %a, 0xH4500 ; 5*a 11 %tmp3 = fmul fast half %b, 0xH4000 ; 2*b 12 %tmp4 = fsub fast half %tmp2, %tmp1 ; 5 * a - 3 * b 13 %tmp5 = fsub fast half %tmp3, %tmp4 ; 2 * b - ( 5 * a - 3 * b) 18 ; CHECK: [[TMP1:%tmp.*]] = fmul fast half %a, 0xH4500 19 ; CHECK: [[TMP2:%tmp.*]] = fmul fast half %b, 0xH3C00 [all …]
|
D | fast-ReassociateVector.ll | 6 ; CHECK-NEXT: %tmp = fadd fast <4 x float> %b, %a 7 ; CHECK-NEXT: %tmp1 = fmul fast <4 x float> %tmp, %c 10 %mul = fmul fast <4 x float> %a, %c 11 %mul1 = fmul fast <4 x float> %b, %c 12 %add = fadd fast <4 x float> %mul, %mul1 19 ; CHECK-NEXT: [[TMP1:%tmp.*]] = fadd fast <2 x float> %c, %b 20 ; CHECK-NEXT: [[TMP2:%tmp.*]] = fmul fast <2 x float> %a, %a 21 ; CHECK-NEXT: fmul fast <2 x float> [[TMP2]], [[TMP1]] 24 %t0 = fmul fast <2 x float> %a, %b 25 %t1 = fmul fast <2 x float> %a, %t0 [all …]
|
D | fast-multistep.ll | 6 ; CHECK-NEXT: [[TMP1:%tmp.*]] = fadd fast float %c, %b 7 ; CHECK-NEXT: [[TMP2:%tmp.*]] = fmul fast float %a, %a 8 ; CHECK-NEXT: fmul fast float [[TMP2]], [[TMP1]] 11 %t0 = fmul fast float %a, %b 12 %t1 = fmul fast float %a, %t0 ; a*(a*b) 13 %t2 = fmul fast float %a, %c 14 %t3 = fmul fast float %a, %t2 ; a*(a*c) 15 %t4 = fadd fast float %t1, %t3 22 ; CHECK-NEXT: fadd fast float %c, %b 23 ; CHECK-NEXT: fmul fast float %tmp, %a [all …]
|
D | mixed-fast-nonfast-fp.ll | 5 ; CHECK-NEXT: fmul fast float %c, 2.000000e+00 6 ; CHECK-NEXT: fadd fast float %factor, %b 7 ; CHECK-NEXT: fmul fast float %tmp1, %a 8 ; CHECK-NEXT: fadd fast float %tmp2, %mul3 10 %mul1 = fmul fast float %a, %c 11 %mul2 = fmul fast float %a, %b 13 %mul4 = fmul fast float %a, %c 14 %add1 = fadd fast float %mul1, %mul3 15 %add2 = fadd fast float %mul4, %mul2 16 %add3 = fadd fast float %add1, %add2
|
D | fast-SubReassociate.ll | 21 ; CHECK-NEXT: %Z = fsub fast float %A, %B 24 %W = fadd fast float %B, 5.000000e+00 25 %X = fadd fast float %A, -7.000000e+00 26 %Y = fsub fast float %X, %W 27 %Z = fadd fast float %Y, 1.200000e+01 52 ; CHECK-NEXT: %B.neg = fsub fast float -0.000000e+00, %B 53 ; CHECK-NEXT: %O.neg = fsub fast float %B.neg, %A 54 ; CHECK-NEXT: %P = fsub fast float %O.neg, %C 55 ; CHECK-NEXT: %Q = fadd fast float %P, %D 59 ; %sum = fadd fast float %B, %A [all …]
|
D | fast-ArrayOutOfBounds.ll | 3 ; Not marked as fast, so must not change. 48 %tmp.2 = fadd fast float %a4, %a3 49 %tmp.4 = fadd fast float %tmp.2, %a2 50 %tmp.6 = fadd fast float %tmp.4, %a1 51 %tmp.8 = fadd fast float %tmp.6, %a0 52 %tmp.11 = fadd fast float %a3, %a2 53 %tmp.13 = fadd fast float %tmp.11, %a1 54 %tmp.15 = fadd fast float %tmp.13, %a0 55 %tmp.18 = fadd fast float %a2, %a1 56 %tmp.20 = fadd fast float %tmp.18, %a0 [all …]
|
D | factorize-again.ll | 6 ; CHECK: fadd fast float %3, %2 12 %5 = fmul fast float undef, %4 13 %6 = fmul fast float %2, %4 14 %7 = fmul fast float %3, %4 15 %8 = fmul fast float %5, undef 16 %9 = fmul fast float %6, undef 17 %10 = fmul fast float %7, undef 18 %11 = fadd fast float %8, %9 19 %12 = fadd fast float %11, %10 21 %mul36 = fmul fast float %13, 1.500000e+00
|
/external/llvm/test/Transforms/InstCombine/ |
D | fast-math.ll | 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 [all …]
|
D | double-float-shrink-1.ll | 14 %call = call fast double @acos(double %conv) 18 ; CHECK: call fast float @acosf(float %f) 23 %call = call fast double @acos(double %conv) 26 ; CHECK: call fast double @acos(double %conv) 31 %call = call fast double @acosh(double %conv) 35 ; CHECK: call fast float @acoshf(float %f) 40 %call = call fast double @acosh(double %conv) 43 ; CHECK: call fast double @acosh(double %conv) 48 %call = call fast double @asin(double %conv) 52 ; CHECK: call fast float @asinf(float %f) [all …]
|
D | pow-exp.ll | 4 %call = call fast double @exp(double %x) nounwind readnone 5 %pow = call fast double @llvm.pow.f64(double %call, double %y) 10 ; CHECK-NEXT: %mul = fmul fast double %x, %y 11 ; CHECK-NEXT: %exp = call fast double @exp(double %mul) 15 %call = call fast double @exp2(double %x) nounwind readnone 16 %pow = call fast double @llvm.pow.f64(double %call, double %y) 21 ; CHECK-NEXT: %mul = fmul fast double %x, %y 22 ; CHECK-NEXT: %exp2 = call fast double @exp2(double %mul) 27 %pow = call fast double @llvm.pow.f64(double %call, double %y) 33 ; CHECK-NEXT: %pow = call fast double @llvm.pow.f64(double %call, double %y) [all …]
|
D | log-pow.ll | 4 %pow = call fast double @llvm.pow.f64(double %x, double %y) 5 %call = call fast double @log(double %pow) 10 ; CHECK-NEXT: %log = call fast double @log(double %x) 11 ; CHECK-NEXT: %mul = fmul fast double %log, %y 16 %call = call fast double @log(double %pow) 22 ; CHECK-NEXT: %call = call fast double @log(double %pow) 37 %call2 = call fast double @exp2(double %x) 38 %call3 = call fast double @log(double %call2) 43 ; CHECK-NEXT: %call2 = call fast double @exp2(double %x) 44 ; CHECK-NEXT: %logmul = fmul fast double %x, 0x3FE62E42FEFA39EF [all …]
|
D | fdiv.ll | 28 %div = fdiv fast float %x, 8.0 32 ; CHECK-NEXT: fmul fast float %x, 1.250000e-01 36 %div1 = fdiv fast float %x, %y 37 %div2 = fdiv fast float %div1, %z 40 ; CHECK-NEXT: fmul fast 41 ; CHECK-NEXT: fdiv fast 45 %div1 = fdiv fast float %x, %y 46 %div2 = fdiv fast float %z, %div1 49 ; CHECK-NEXT: fmul fast 50 ; CHECK-NEXT: fdiv fast
|
/external/llvm/test/CodeGen/AArch64/ |
D | PBQP-chain.ll | 1 ; RUN: llc < %s -mcpu=cortex-a57 -mattr=+neon -fp-contract=fast -regalloc=pbqp -pbqp-coalescing | F… 2 ; RUN: llc < %s -mcpu=cortex-a57 -mattr=+neon -fp-contract=fast -regalloc=pbqp -pbqp-coalescing | F… 27 %mul = fmul fast double %1, %0 29 %mul7 = fmul fast double %2, %0 34 %mul.1 = fmul fast double %4, %3 35 %add.1 = fadd fast double %mul.1, %mul 38 %mul7.1 = fmul fast double %5, %3 39 %add8.1 = fadd fast double %mul7.1, %mul7 44 %mul.2 = fmul fast double %7, %6 45 %add.2 = fadd fast double %mul.2, %add.1 [all …]
|
D | aarch64-a57-fp-load-balancing.ll | 47 %mul = fmul fast double %0, %1 48 %add = fadd fast double %mul, %4 49 %mul5 = fmul fast double %1, %2 50 %add6 = fadd fast double %mul5, %add 51 %mul7 = fmul fast double %1, %3 52 %sub = fsub fast double %add6, %mul7 53 %mul8 = fmul fast double %2, %3 54 %add9 = fadd fast double %mul8, %sub 62 %mul15 = fmul fast double %6, %7 63 %mul16 = fmul fast double %0, %5 [all …]
|
D | arm64-fma-combines.ll | 12 %fmul = fmul fast double %tmp1, %tmp1 13 %fmul2 = fmul fast double %tmp2, 0x3F94AFD6A052BF5B 14 %fadd = fadd fast double %fmul, %fmul2 26 %add = fadd fast double %tmp3, %tmp3 27 %mul = fmul fast double %add, %fadd 30 %add2 = fadd fast <2 x double> %e2, <double 3.000000e+00, double -3.000000e+00> 33 %mul2 = fmul fast <2 x double> %add2,<double 3.000000e+00, double -3.000000e+00> 36 %add3 = fadd fast <2 x double> %mul2, <double 3.000000e+00, double -3.000000e+00> 37 %mulx = fmul fast <2 x double> %add2, %e2 38 %addx = fadd fast <2 x double> %mulx, %e4 [all …]
|
D | arm64-fml-combines.ll | 18 %add = fadd fast double %tmp1, %tmp1 19 %mul = fmul fast double %add, %add 22 %sub2 = fsub fast <2 x double> %e2, <double 3.000000e+00, double -3.000000e+00> 25 %mul2 = fmul fast <2 x double> %sub2,<double 3.000000e+00, double -3.000000e+00> 28 %sub3 = fsub fast <2 x double> <double 3.000000e+00, double -3.000000e+00>, %mul2 29 %mulx = fmul fast <2 x double> %sub2, %e2 30 %subx = fsub fast <2 x double> %e4, %mulx 33 %e9 = fmul fast <2 x double> %subx, %sub3 36 %mul3 = fmul fast double %mul, %e10 37 %sub4 = fsub fast double %mul, %mul3 [all …]
|
/external/llvm/test/Transforms/SimplifyCFG/AArch64/ |
D | prefer-fma.ll | 16 ; CHECK: %3 = fmul fast double %1, %2 17 ; CHECK-NEXT: %mul = fadd fast double 1.000000e+00, %3 19 %3 = fmul fast double %1, %2 20 %mul = fadd fast double 1.000000e+00, %3 27 ; CHECK: %mul1 = fmul fast double %1, %2 28 ; CHECK-NEXT: %sub1 = fsub fast double %mul1, %0 30 %mul1 = fmul fast double %1, %4 31 %sub1 = fsub fast double %mul1, %0 44 ; CHECK: %7 = fmul fast double %5, 3.000000e+00 45 ; CHECK-NEXT: %mul2 = fsub fast double %6, %7 [all …]
|
/external/llvm/test/CodeGen/ARM/ |
D | vminmaxnm.ll | 9 %cmp = fcmp fast olt float %a, %b 18 %cmp = fcmp fast ole double %a, %b 27 %cmp = fcmp fast ogt float %a, %b 36 %cmp = fcmp fast oge double %a, %b 45 %cmp = fcmp fast ult float %a, %b 54 %cmp = fcmp fast ule float %a, %b 63 %cmp = fcmp fast ugt float %a, %b 72 %cmp = fcmp fast uge double %a, %b 81 %cmp = fcmp fast ogt float %a, %b 90 %cmp = fcmp fast oge float %a, %b [all …]
|
D | 2016-05-01-RegScavengerAssert.ll | 45 %add = fadd fast float 0.000000e+00, %2 47 %add21 = fadd fast float 0.000000e+00, %3 48 %mul3.i = fmul fast float %add21, %TM.sroa.8.0.copyload 49 %add.i = fadd fast float 0.000000e+00, %TM.sroa.11.0.copyload 50 %add5.i = fadd fast float %add.i, %mul3.i 51 %conv6.i = fdiv fast float 1.000000e+00, %add5.i 52 %mul8.i = fmul fast float %add, %TM.sroa.0.0.copyload 53 %add11.i = fadd fast float %mul8.i, %TM.sroa.9.0.copyload 54 %add13.i = fadd fast float %add11.i, 0.000000e+00 56 %mul14.i = fmul fast float %add13.i, %4 [all …]
|
/external/llvm/test/Transforms/SLPVectorizer/AArch64/ |
D | commute.ll | 13 ; CHECK: %5 = fsub fast <2 x float> %2, %4 14 ; CHECK: %6 = fmul fast <2 x float> %5, %5 17 ; CHECK: %add = fadd fast float %7, %8 28 %sub = fsub fast float %conv, %0 31 %sub10 = fsub fast float %conv5, %1 32 %mul11 = fmul fast float %sub, %sub 33 %mul12 = fmul fast float %sub10, %sub10 34 %add = fadd fast float %mul11, %mul12 48 ; CHECK: %5 = fsub fast <2 x float> %2, %4 49 ; CHECK: %6 = fmul fast <2 x float> %5, %5 [all …]
|
/external/llvm/test/CodeGen/AMDGPU/ |
D | fmul-2-combine-multi-use.ll | 15 %a11 = fadd fast float %y, -1.0 17 %a13 = fadd fast float %x, -1.0 21 %a17 = fmul fast float %a16, 2.0 22 %a18 = fmul fast float %a17, %a17 23 %a19 = fmul fast float %a18, %a17 24 %a20 = fsub fast float 1.0, %a19 37 %mul2 = fmul fast float %x, 2.0 38 %mad = fadd fast float %mul2, %y 53 %mul2 = fmul fast float %x.abs, 2.0 54 %mad = fadd fast float %mul2, %y [all …]
|
/external/llvm/test/CodeGen/Mips/Fast-ISel/ |
D | check-disabled-mcpus.ll | 2 ; RUN: -fast-isel-verbose <%s 2>&1 | FileCheck %s 4 ; RUN: -fast-isel-verbose <%s 2>&1 | FileCheck %s 6 ; RUN: -fast-isel-verbose <%s 2>&1 | FileCheck %s 9 ; RUN: -fast-isel-verbose <%s 2>&1 | FileCheck %s 11 ; RUN: -fast-isel-verbose <%s 2>&1 | FileCheck %s 14 ; RUN: -fast-isel-verbose <%s 2>&1 | FileCheck %s 16 ; RUN: -fast-isel-verbose <%s 2>&1 | FileCheck %s 18 ; RUN: -fast-isel-verbose <%s 2>&1 | FileCheck %s 20 ; RUN: -fast-isel-verbose <%s 2>&1 | FileCheck %s 22 ; RUN: -fast-isel-verbose <%s 2>&1 | FileCheck %s
|