| /llvm-project-15.0.7/llvm/test/Transforms/Reassociate/ |
| H A D | pointer-collision-non-determinism.ll | 76 %tmp5 = fadd fast float %arg, %tmp4 77 %tmp6 = fmul fast float %tmp5, %arg 78 %tmp7 = fadd fast float %tmp6, %arg 79 %tmp8 = fmul fast float %tmp7, %arg 80 %tmp9 = fadd fast float %arg, %tmp8 81 %tmp10 = fmul fast float %tmp9, %arg 82 %tmp11 = fadd fast float %tmp10, %arg 83 %tmp12 = fmul fast float %tmp11, %arg 84 %tmp13 = fadd fast float %tmp12, %arg 85 %tmp14 = fmul fast float %tmp13, %arg [all …]
|
| H A 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 …]
|
| H A D | fast-basictest.ll | 4 ; - InstCombine/fast-basictest.ll 5 ; - PhaseOrdering/fast-basictest.ll 7 ; - Reassociate/fast-basictest.ll 202 %A = fneg fast float %X 451 %3 = fneg fast float %a 512 %c = fneg fast float %z 516 %g = fneg fast float %f 538 ; - fadd fast x, 0 561 %c = fneg fast float %d 563 %f = fneg fast float %e [all …]
|
| H A D | fast-fp-commute.ll | 9 ; CHECK-NEXT: [[TMP2:%.*]] = fmul fast float [[Y]], [[X]] 15 %1 = fmul fast float %x, %y 16 %2 = fmul fast float %y, %x 17 %3 = fsub fast float %1, %2 26 ; CHECK-NEXT: [[TMP2:%.*]] = fmul fast float [[Y]], [[X]] 30 %1 = fmul fast float %x, %y 31 %2 = fmul fast float %y, %x 32 %3 = fsub fast float %1, %2 42 %1 = fmul fast float %x, %y 43 %2 = fmul fast float %y, %x [all …]
|
| H A D | 2019-08-22-FNegAssert.ll | 7 ; CHECK-NEXT: [[TMP5:%.*]] = fneg fast float [[ARG:%.*]] 10 ; CHECK-NEXT: [[TMP3:%.*]] = fadd fast float [[TMP2_NEG]], [[TMP1]] 11 ; CHECK-NEXT: [[TMP4:%.*]] = fmul fast float [[TMP3]], [[TMP3]] 13 ; CHECK-NEXT: [[TMP7:%.*]] = fadd fast float [[TMP4]], [[TMP6]] 16 %tmp1 = fsub fast float %arg3, %arg2 17 %tmp2 = fadd fast float %arg, -5.000000e+02 18 %tmp3 = fsub fast float %tmp1, %tmp2 19 %tmp4 = fmul fast float %tmp3, %tmp3 20 %tmp5 = fneg fast float %arg 21 %tmp6 = fdiv fast float %tmp5, %arg1 [all …]
|
| H A D | reassoc-intermediate-fnegs.ll | 14 %t1 = fmul fast half %b, 0xH4200 ; 3*b 15 %t2 = fmul fast half %a, 0xH4500 ; 5*a 16 %t3 = fmul fast half %b, 0xH4000 ; 2*b 17 %t4 = fsub fast half %t2, %t1 ; 5 * a - 3 * b 18 %t5 = fsub fast half %t3, %t4 ; 2 * b - ( 5 * a - 3 * b) 27 ; CHECK-NEXT: [[T5:%.*]] = fadd fast half [[B:%.*]], [[T2]] 30 %t1 = fmul fast half %b, 0xH4200 ; 3*b 31 %t2 = fmul fast half %a, 0xH4500 ; 5*a 32 %t3 = fmul fast half %b, 0xH4000 ; 2*b 33 %t4 = fadd fast half %t2, %t1 ; 5 * a + 3 * b [all …]
|
| H A D | fast-multistep.ll | 8 ; CHECK-NEXT: [[REASS_ADD1:%.*]] = fadd fast float [[C:%.*]], [[B:%.*]] 9 ; CHECK-NEXT: [[REASS_MUL2:%.*]] = fmul fast float [[A:%.*]], [[A]] 13 %t0 = fmul fast float %a, %b 14 %t1 = fmul fast float %a, %t0 ; a*(a*b) 15 %t2 = fmul fast float %a, %c 16 %t3 = fmul fast float %a, %t2 ; a*(a*c) 17 %t4 = fadd fast float %t1, %t3 30 %t0 = fmul fast float %a, %b 31 %t1 = fmul fast float %a, %c 32 %t2 = fadd fast float %t1, %d ; a*c+d [all …]
|
| H A D | mixed-fast-nonfast-fp.ll | 13 %mul1 = fmul fast float %a, %c 14 %mul2 = fmul fast float %a, %b 16 %mul4 = fmul fast float %a, %c 17 %add1 = fadd fast float %mul1, %mul3 18 %add2 = fadd fast float %mul4, %mul2 19 %add3 = fadd fast float %add1, %add2 26 ; CHECK-NEXT: [[MUL2:%.*]] = fmul fast float [[B:%.*]], [[A]] 29 ; CHECK-NEXT: [[ADD1:%.*]] = fadd fast float [[MUL1]], [[MUL3]] 35 %mul2 = fmul fast float %a, %b 38 %add1 = fadd fast float %mul1, %mul3 [all …]
|
| H A D | factorize-again.ll | 10 ; CHECK-NEXT: [[REASS_ADD2:%.*]] = fadd fast float [[TMP3]], [[TMP2]] 15 ; CHECK-NEXT: [[MUL36:%.*]] = fmul fast float [[TMP5]], 1.500000e+00 23 %5 = fmul fast float undef, %4 24 %6 = fmul fast float %2, %4 25 %7 = fmul fast float %3, %4 26 %8 = fmul fast float %5, undef 27 %9 = fmul fast float %6, undef 28 %10 = fmul fast float %7, undef 29 %11 = fadd fast float %8, %9 30 %12 = fadd fast float %11, %10 [all …]
|
| /llvm-project-15.0.7/llvm/test/Transforms/SLPVectorizer/X86/ |
| H A D | vectorize-pair-path.ll | 36 %i01 = fdiv fast double %a, 7.0 37 %i02 = fmul fast double %i01, 3.0 40 %i05 = fmul fast double %i04, 4.0 41 %i06 = fdiv fast double %i05, 1.4 43 %i08 = fdiv fast double %b, 5.0 47 %i12 = fmul fast double %i10, %i11 48 %i13 = fsub fast double %i12, 11.0 49 %i14 = fmul fast double %i13, 12.0 50 %i15 = fdiv fast double %i14, 1.4 52 %i17 = fadd fast double %i16, %c [all …]
|
| H A D | horizontal-list.ll | 47 %mul4 = fmul fast float %2, %1 51 %mul4.1 = fmul fast float %4, %3 55 %mul4.2 = fmul fast float %6, %5 59 %mul4.3 = fmul fast float %8, %7 113 %mul4 = fmul fast float %2, %1 180 %mul = fmul fast float %2, %1 183 %mul.1 = fmul fast float %4, %3 187 %mul.2 = fmul fast float %7, %6 230 %mul = fmul fast float %2, %1 299 %mul = fmul fast float %1, %0 [all …]
|
| H A D | reverse_extract_elements.ll | 14 %mul = fmul fast float %vecext, %vecext1 18 %add.1 = fadd fast float %mul.1, %mul 22 %add.2 = fadd fast float %mul.2, %add.1 26 %add.3 = fadd fast float %mul.3, %add.2 48 %add.1 = fadd fast double %mul.1, %mul 52 %add.2 = fadd fast double %mul.2, %add.1 56 %add.3 = fadd fast double %mul.3, %add.2 78 %add.1 = fadd fast float %mul.1, %mul 82 %add.2 = fadd fast float %mul.2, %add.1 86 %add.3 = fadd fast float %mul.3, %add.2 [all …]
|
| H A D | extracts-with-undefs.ll | 37 %mul.i478.i = fmul fast double %phi1, 0.000000e+00 38 %mul7.i485.i = fmul fast double undef, 0.000000e+00 39 %add8.i.i = fadd fast double %mul.i478.i, %mul7.i485.i 47 %cmp145.i = fcmp fast olt double %phi1, 0.000000e+00 49 %cmp152.i = fcmp fast olt double %phi2, 0.000000e+00 51 %mul166.i = fmul fast double 0.000000e+00, %0 52 %mul177.i = fmul fast double %mul166.i, 0.000000e+00 53 %add178.i = fadd fast double %mul177.i, 0.000000e+00 54 %mul181.i = fmul fast double 0.000000e+00, %1 55 %mul182.i = fmul fast double %mul181.i, 0.000000e+00 [all …]
|
| H A D | slp-fma-loss.ll | 29 %mul0 = fmul fast double 0.000000e+00, %cvt0 30 %add0 = fadd fast double %mul0, %phi0 32 %add1 = fadd fast double %mul1, %add0 34 %add2 = fadd fast double %mul2, %add1 36 %add3 = fadd fast double %mul3, %add2 62 %mul0 = fmul fast double 7.000000e+00, %cvt0 63 %add0 = fadd fast double %mul0, %cvt0 65 %add1 = fadd fast double %mul1, %add0 66 %mul2 = fmul fast double 2.200000e-02, %cvt0 67 %add2 = fadd fast double %mul2, %add1 [all …]
|
| /llvm-project-15.0.7/llvm/test/Transforms/InstCombine/ |
| H A D | pow-4.ll | 24 %1 = call fast double @llvm.pow.f64(double %x, double 3.000000e+00) 38 %1 = call fast float @llvm.pow.f32(float %x, float 4.000000e+00) 52 %1 = call fast double @llvm.pow.f64(double %x, double 4.000000e+00) 94 %1 = call fast float @llvm.pow.f32(float %x, float -1.900000e+01) 104 %1 = call fast double @llvm.pow.f64(double %x, double 1.123000e+01) 118 %1 = call fast float @llvm.pow.f32(float %x, float 3.200000e+01) 183 %1 = call fast double @pow(double %x, double 5.000000e-01) 199 %1 = call fast double @pow(double %x, double -5.000000e-01) 215 %1 = call fast float @llvm.pow.f32(float %x, float -0.850000e+01) 258 %call = call fast double @pow(double %dx, double 0.5) [all …]
|
| H A D | fadd-fsub-factor.ll | 65 %t2 = fmul fast double %y, %z 79 %t1 = fmul fast float %x, %z 80 %t2 = fmul fast float %y, %z 205 %t1 = fmul fast float %z, %x 206 %t2 = fmul fast float %y, %z 284 %t1 = fdiv fast float %x, %z 327 %t1 = fdiv fast float %z, %y 328 %t2 = fdiv fast float %z, %x 342 %t1 = fdiv fast float %z, %y 567 %bc = fmul fast half %b, %c [all …]
|
| H A D | double-float-shrink-1.ll | 21 %call = call fast double @acos(double %conv) 33 %call = call fast double @acos(double %conv) 44 %call = call fast double @acosh(double %conv) 56 %call = call fast double @acosh(double %conv) 68 %call = call fast double @asin(double %conv) 80 %call = call fast double @asin(double %conv) 115 %call = call fast double @atan(double %conv) 127 %call = call fast double @atan(double %conv) 185 %call = call fast double @exp(double %conv) 197 %call = call fast double @exp(double %conv) [all …]
|
| H A D | log-pow.ll | 10 %pow = call fast double @pow(double %x, double %y) 11 %log = call fast double @log(double %pow) 21 %pow = call fast float @powf(float %x, float %y) 22 %log = call fast float @llvm.log10.f32(float %pow) 44 %log = call fast double @log(double %pow) 64 %exp = call fast double @exp(double %x) 65 %log = call fast double @log10(double %exp) 84 %exp = call fast float @exp10f(float %x) 85 %log = call fast float @log2f(float %exp) 96 %log = call fast double @log(double %exp) [all …]
|
| H A D | fast-basictest.ll | 4 ; - InstCombine/fast-basictest.ll 5 ; - PhaseOrdering/fast-basictest.ll 7 ; - Reassociate/fast-basictest.ll 99 %B = fmul fast float %A, %Y 110 %A = fneg fast float %X 320 %A = fneg fast float %X1 447 %3 = fneg fast float %a 509 %c = fneg fast float %z 513 %g = fneg fast float %f 570 %c = fneg fast float %d [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AArch64/ |
| H A D | PBQP-chain.ll | 27 %mul = fmul fast double %1, %0 29 %mul7 = fmul fast double %2, %0 34 %mul.1 = fmul fast double %4, %3 38 %mul7.1 = fmul fast double %5, %3 44 %mul.2 = fmul fast double %7, %6 48 %mul7.2 = fmul fast double %8, %6 54 %mul.3 = fmul fast double %10, %9 58 %mul7.3 = fmul fast double %11, %9 64 %mul.4 = fmul fast double %13, %12 74 %mul.5 = fmul fast double %16, %15 [all …]
|
| H A 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 51 %mul7 = fmul fast double %1, %3 53 %mul8 = fmul fast double %2, %3 105 %mul = fmul fast double %0, %1 145 %mul = fmul fast double %0, %1 200 %mul = fmul fast float %0, %1 202 %mul8 = fmul fast float %5, %6 203 %mul9 = fmul fast float %1, %2 [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/X86/ |
| H A D | pr47517.ll | 16 %fmul1 = fmul fast float %zero, %src 17 %fadd1 = fadd fast float %fmul1, %zero 19 %fmul3 = fmul fast float %fmul2, %fmul2 23 %fadd3 = fadd fast float %fmul2, %src 37 %add = fadd fast float %x, 750.0 38 %sub = fsub fast float %x, %add 39 %mul = fmul fast float %sub, %sub 40 %mul2 = fmul fast float %mul, %sub 41 %add2 = fadd fast float %mul2, 1.0 42 %add3 = fadd fast float %mul2, %add2 [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/ |
| H A D | simplify-libcalls.ll | 9 ; GCN-POSTLINK: call fast float @_Z3sinf( 10 ; GCN-POSTLINK: call fast float @_Z3cosf( 11 ; GCN-PRELINK: call fast float @_Z6sincosfPf( 12 ; GCN-NATIVE: call fast float @_Z10native_sinf( 13 ; GCN-NATIVE: call fast float @_Z10native_cosf( 17 %call = call fast float @_Z3sinf(float %tmp) 19 %call2 = call fast float @_Z3cosf(float %tmp) 233 ; GCN: %__pow2 = fmul fast float %tmp, %tmp 453 ; GCN: fdiv fast float 1.000000e+00, %tmp 518 ; GCN: %fmaadd = fadd fast float %tmp, %y [all …]
|
| /llvm-project-15.0.7/llvm/test/Transforms/SimplifyCFG/AArch64/ |
| H A D | prefer-fma.ll | 16 ; CHECK: %3 = fmul fast double %1, %2 19 %3 = fmul fast double %1, %2 20 %mul = fadd fast double 1.000000e+00, %3 27 ; CHECK: %mul1 = fmul fast double %1, %2 30 %mul1 = fmul fast double %1, %4 31 %sub1 = fsub fast double %mul1, %0 48 %8 = fmul fast double %6, 3.0000000e+00 49 %mul2 = fsub fast double %7, %8 59 %mul3 = fmul fast double %6, 3.0000000e+00 68 %add = fadd fast double %9, %10 [all …]
|
| /llvm-project-15.0.7/llvm/test/Transforms/PhaseOrdering/ |
| H A D | fast-basictest.ll | 7 ; - InstCombine/fast-basictest.ll 8 ; - PhaseOrdering/fast-basictest.ll 10 ; - Reassociate/fast-basictest.ll 107 %2 = fadd fast float %b, %1 109 %4 = fadd fast float %2, %3 119 %2 = fadd fast float %b, %1 120 %3 = fneg fast float %a 121 %4 = fadd fast float %2, %3 168 %d = fmul fast float %a, %b 188 %c = fneg fast float %z [all …]
|