/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/ |
D | math_ops.cc | 51 llvm::Value* input_squared = b->CreateFMul(input_clamped, input_clamped); in EmitFastTanh() 54 numerator = b->CreateFAdd(b->CreateFMul(input_squared, numerator), in EmitFastTanh() 58 numerator = b->CreateFMul(input_clamped, numerator); in EmitFastTanh() 63 b->CreateFAdd(b->CreateFMul(input_squared, denominator), in EmitFastTanh()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGExprComplex.cpp | 713 Value *AC = Builder.CreateFMul(Op.LHS.first, Op.RHS.first, "mul_ac"); in EmitBinMul() 714 Value *BD = Builder.CreateFMul(Op.LHS.second, Op.RHS.second, "mul_bd"); in EmitBinMul() 715 Value *AD = Builder.CreateFMul(Op.LHS.first, Op.RHS.second, "mul_ad"); in EmitBinMul() 716 Value *BC = Builder.CreateFMul(Op.LHS.second, Op.RHS.first, "mul_bc"); in EmitBinMul() 769 ResR = Builder.CreateFMul(Op.LHS.first, Op.RHS.first, "mul.rl"); in EmitBinMul() 772 ? Builder.CreateFMul(Op.LHS.second, Op.RHS.first, "mul.il") in EmitBinMul() 773 : Builder.CreateFMul(Op.LHS.first, Op.RHS.second, "mul.ir"); in EmitBinMul() 830 llvm::Value *AC = Builder.CreateFMul(LHSr, RHSr); // a*c in EmitBinDiv() 831 llvm::Value *BD = Builder.CreateFMul(LHSi, RHSi); // b*d in EmitBinDiv() 834 llvm::Value *CC = Builder.CreateFMul(RHSr, RHSr); // c*c in EmitBinDiv() [all …]
|
/external/tensorflow/tensorflow/compiler/xla/service/cpu/ |
D | dot_op_emitter.cc | 642 b_->CreateFSub(b_->CreateFMul(real(lhs_element), real(rhs_element)), in EmitNaiveLlvmIrGemm() 643 b_->CreateFMul(imag(lhs_element), imag(rhs_element))); in EmitNaiveLlvmIrGemm() 645 b_->CreateFAdd(b_->CreateFMul(real(lhs_element), imag(rhs_element)), in EmitNaiveLlvmIrGemm() 646 b_->CreateFMul(imag(lhs_element), real(rhs_element))); in EmitNaiveLlvmIrGemm() 658 llvm::Value* product = b_->CreateFMul(lhs_element, rhs_element); in EmitNaiveLlvmIrGemm() 715 b_->CreateFMul(get_real(lhs_value), get_real(rhs_value)), in EmitScalarDot() 716 b_->CreateFMul(get_imag(lhs_value), get_imag(rhs_value))); in EmitScalarDot() 718 b_->CreateFMul(get_real(lhs_value), get_imag(rhs_value)), in EmitScalarDot() 719 b_->CreateFMul(get_imag(lhs_value), get_real(rhs_value))); in EmitScalarDot() 724 result = b_->CreateFMul(lhs_value, rhs_value); in EmitScalarDot()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineMulDivRem.cpp | 505 R = BinaryOperator::CreateFMul(C1 ? Opnd0 : Opnd1, F); in foldFMulConst() 519 R = BinaryOperator::CreateFMul(Opnd0, F); in foldFMulConst() 626 Instruction *FMulVal = BinaryOperator::CreateFMul(II->getOperand(0), in visitFMul() 655 Value *FMulVal = Builder->CreateFMul(OpX, Log2); in visitFMul() 676 Value *FMul = Builder->CreateFMul(N0, N1); in visitFMul() 683 Value *T = Builder->CreateFMul(N0, Opnd1); in visitFMul() 711 Value *T = Builder->CreateFMul(Opnd1, Opnd1); in visitFMul() 713 Value *R = Builder->CreateFMul(T, Y); in visitFMul() 1240 return BinaryOperator::CreateFMul(Dividend, R); in CvtFDivConstToReciprocal() 1277 Res = BinaryOperator::CreateFMul(X, C); in visitFDiv() [all …]
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
D | ir_emitter.cc | 539 llvm::Value* real_result1 = b->CreateFMul(lhs_real, rhs_real); in MultiplyComplex() 540 llvm::Value* real_result2 = b->CreateFMul(lhs_imag, rhs_imag); in MultiplyComplex() 542 llvm::Value* imag_result1 = b->CreateFMul(lhs_real, rhs_imag); in MultiplyComplex() 543 llvm::Value* imag_result2 = b->CreateFMul(lhs_imag, rhs_real); in MultiplyComplex()
|
/external/clang/lib/CodeGen/ |
D | CGExprComplex.cpp | 659 Value *AC = Builder.CreateFMul(Op.LHS.first, Op.RHS.first, "mul_ac"); in EmitBinMul() 660 Value *BD = Builder.CreateFMul(Op.LHS.second, Op.RHS.second, "mul_bd"); in EmitBinMul() 661 Value *AD = Builder.CreateFMul(Op.LHS.first, Op.RHS.second, "mul_ad"); in EmitBinMul() 662 Value *BC = Builder.CreateFMul(Op.LHS.second, Op.RHS.first, "mul_bc"); in EmitBinMul() 715 ResR = Builder.CreateFMul(Op.LHS.first, Op.RHS.first, "mul.rl"); in EmitBinMul() 718 ? Builder.CreateFMul(Op.LHS.second, Op.RHS.first, "mul.il") in EmitBinMul() 719 : Builder.CreateFMul(Op.LHS.first, Op.RHS.second, "mul.ir"); in EmitBinMul()
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | NoFolder.h | 79 Instruction *CreateFMul(Constant *LHS, Constant *RHS) const override { in CreateFMul() function 80 return BinaryOperator::CreateFMul(LHS, RHS); in CreateFMul()
|
D | IRBuilderFolder.h | 40 virtual Value *CreateFMul(Constant *LHS, Constant *RHS) const = 0;
|
D | MatrixBuilder.h | 214 return B.CreateFMul(LHS, RHS); in CreateScalarMultiply()
|
D | ConstantFolder.h | 61 Constant *CreateFMul(Constant *LHS, Constant *RHS) const override { in CreateFMul() function
|
/external/llvm/include/llvm/IR/ |
D | NoFolder.h | 85 Instruction *CreateFMul(Constant *LHS, Constant *RHS) const { in CreateFMul() function 86 return BinaryOperator::CreateFMul(LHS, RHS); in CreateFMul()
|
D | ConstantFolder.h | 52 Constant *CreateFMul(Constant *LHS, Constant *RHS) const { in CreateFMul() function
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | NoFolder.h | 97 Instruction *CreateFMul(Constant *LHS, Constant *RHS) const { in CreateFMul() function 98 return BinaryOperator::CreateFMul(LHS, RHS); in CreateFMul()
|
D | ConstantFolder.h | 58 Constant *CreateFMul(Constant *LHS, Constant *RHS) const { in CreateFMul() function
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | AMDGPULibCalls.cpp | 848 Value *nval = B.CreateFMul(opr0, nval1, "__div2mul"); in fold_divide() 923 Value *nval = B.CreateFMul(opr0, opr0, "__pow2"); in fold_pow() 989 valx2 = valx2 ? B.CreateFMul(valx2, valx2, "__powx2") : opr0; in fold_pow() 991 nval = nval ? B.CreateFMul(nval, valx2, "__powprod") : valx2; in fold_pow() 1120 nval = B.CreateFMul(opr1, nval, "__ylogx"); in fold_pow() 1239 Value *nval = B.CreateFMul(opr0, opr1, "fmamul"); in fold_fma_mad()
|
D | AMDGPUCodeGenPrepare.cpp | 707 return Builder.CreateFMul(Num, Recip); in optimizeWithRcp() 925 Value *FQM = Builder.CreateFMul(FA, RCP); in expandDivRem24Impl() 1119 Value *ScaledY = Builder.CreateFMul(RcpY, Scale); in expandDivRem32()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPULibCalls.cpp | 853 Value *nval = B.CreateFMul(opr0, nval1, "__div2mul"); in fold_divide() 928 Value *nval = B.CreateFMul(opr0, opr0, "__pow2"); in fold_pow() 994 valx2 = valx2 ? B.CreateFMul(valx2, valx2, "__powx2") : opr0; in fold_pow() 996 nval = nval ? B.CreateFMul(nval, valx2, "__powprod") : valx2; in fold_pow() 1125 nval = B.CreateFMul(opr1, nval, "__ylogx"); in fold_pow() 1244 Value *nval = B.CreateFMul(opr0, opr1, "fmamul"); in fold_fma_mad()
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | SimplifyLibCalls.cpp | 1369 Value *RealReal = B.CreateFMul(Real, Real); in optimizeCAbs() 1370 Value *ImagImag = B.CreateFMul(Imag, Imag); in optimizeCAbs() 1432 InnerChain[Exp] = B.CreateFMul(getPow(InnerChain, AddChain[Exp][0], B), in getPow() 1510 Value *FMul = B.CreateFMul(BaseFn->getArgOperand(0), Expo, "mul"); in replacePowWithExp() 1556 Value *FMul = B.CreateFMul(Expo, ConstantFP::get(Ty, N), "mul"); in replacePowWithExp() 1588 Value *FMul = B.CreateFMul(Log, Expo, "mul"); in replacePowWithExp() 1726 return B.CreateFMul(Base, Base, "square"); in optimizePow() 1767 InnerChain[2] = B.CreateFMul(Base, Base, "square"); in optimizePow() 1776 FMul = B.CreateFMul(FMul, Sqrt); in optimizePow() 1975 Value *MulY = B.CreateFMul(Arg->getArgOperand(1), LogX, "mul"); in optimizeLog() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | SimplifyLibCalls.cpp | 1387 Value *RealReal = B.CreateFMul(Real, Real); in optimizeCAbs() 1388 Value *ImagImag = B.CreateFMul(Imag, Imag); in optimizeCAbs() 1450 InnerChain[Exp] = B.CreateFMul(getPow(InnerChain, AddChain[Exp][0], B), in getPow() 1528 Value *FMul = B.CreateFMul(BaseFn->getArgOperand(0), Expo, "mul"); in replacePowWithExp() 1574 Value *FMul = B.CreateFMul(Expo, ConstantFP::get(Ty, N), "mul"); in replacePowWithExp() 1601 Value *FMul = B.CreateFMul(Log, Expo, "mul"); in replacePowWithExp() 1735 return B.CreateFMul(Base, Base, "square"); in optimizePow() 1773 InnerChain[2] = B.CreateFMul(Base, Base, "square"); in optimizePow() 1782 FMul = B.CreateFMul(FMul, Sqrt); in optimizePow() 1980 Value *MulY = B.CreateFMul(Arg->getArgOperand(1), LogX, "mul"); in optimizeLog() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | LowerMatrixIntrinsics.cpp | 663 return UseFPOp ? Builder.CreateFMul(A, B) : Builder.CreateMul(A, B); in createMulAdd() 673 Value *Mul = Builder.CreateFMul(A, B); in createMulAdd() 831 return Builder.CreateFMul(LHS, RHS); in VisitBinaryOperator()
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyLibCalls.cpp | 983 InnerChain[Exp] = B.CreateFMul(getPow(InnerChain, AddChain[Exp][0], B), in getPow() 1028 Value *FMul = B.CreateFMul(OpC->getArgOperand(0), Op2, "mul"); in optimizePow() 1072 return B.CreateFMul(Op1, Op1, "pow2"); in optimizePow() 1088 InnerChain[2] = B.CreateFMul(Op1, Op1); in optimizePow() 1235 return B.CreateFMul(OpC->getArgOperand(1), in optimizeLog() 1242 return B.CreateFMul( in optimizeLog() 1311 return B.CreateFMul(FabsCall, SqrtCall); in optimizeSqrt()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | TargetFolder.h | 66 Constant *CreateFMul(Constant *LHS, Constant *RHS) const { in CreateFMul() function
|
/external/llvm/include/llvm/Analysis/ |
D | TargetFolder.h | 68 Constant *CreateFMul(Constant *LHS, Constant *RHS) const { in CreateFMul() function
|
/external/llvm-project/llvm/include/llvm/Analysis/ |
D | TargetFolder.h | 67 Constant *CreateFMul(Constant *LHS, Constant *RHS) const override { in CreateFMul() function
|
/external/llvm-project/llvm/examples/Kaleidoscope/Chapter3/ |
D | toy.cpp | 436 return Builder->CreateFMul(L, R, "multmp"); in codegen()
|