Home
last modified time | relevance | path

Searched refs:CreateFMul (Results 1 – 25 of 96) sorted by relevance

1234

/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
Dmath_ops.cc39 llvm::Value* input_squared = b->CreateFMul(input_clamped, input_clamped); in EmitFastTanh()
42 numerator = b->CreateFAdd(b->CreateFMul(input_squared, numerator), in EmitFastTanh()
46 numerator = b->CreateFMul(input_clamped, numerator); in EmitFastTanh()
51 b->CreateFAdd(b->CreateFMul(input_squared, denominator), in EmitFastTanh()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Ddot_op_emitter.cc499 b_->CreateFSub(b_->CreateFMul(real(lhs_element), real(rhs_element)), in EmitNaiveLlvmIrGemm()
500 b_->CreateFMul(imag(lhs_element), imag(rhs_element))); in EmitNaiveLlvmIrGemm()
502 b_->CreateFAdd(b_->CreateFMul(real(lhs_element), imag(rhs_element)), in EmitNaiveLlvmIrGemm()
503 b_->CreateFMul(imag(lhs_element), real(rhs_element))); in EmitNaiveLlvmIrGemm()
509 llvm::Value* product = b_->CreateFMul(lhs_element, rhs_element); in EmitNaiveLlvmIrGemm()
566 b_->CreateFMul(get_real(lhs_value), get_real(rhs_value)), in EmitScalarDot()
567 b_->CreateFMul(get_imag(lhs_value), get_imag(rhs_value))); in EmitScalarDot()
569 b_->CreateFMul(get_real(lhs_value), get_imag(rhs_value)), in EmitScalarDot()
570 b_->CreateFMul(get_imag(lhs_value), get_real(rhs_value))); in EmitScalarDot()
575 result = b_->CreateFMul(lhs_value, rhs_value); in EmitScalarDot()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp505 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/clang/lib/CodeGen/
DCGExprComplex.cpp659 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/tensorflow/tensorflow/compiler/xla/service/gpu/
Dir_emitter.cc457 llvm::Value* real_result1 = b->CreateFMul(lhs_real, rhs_real); in MultiplyComplex()
458 llvm::Value* real_result2 = b->CreateFMul(lhs_imag, rhs_imag); in MultiplyComplex()
460 llvm::Value* imag_result1 = b->CreateFMul(lhs_real, rhs_imag); in MultiplyComplex()
461 llvm::Value* imag_result2 = b->CreateFMul(lhs_imag, rhs_real); in MultiplyComplex()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DNoFolder.h85 Instruction *CreateFMul(Constant *LHS, Constant *RHS) const { in CreateFMul() function
86 return BinaryOperator::CreateFMul(LHS, RHS); in CreateFMul()
DConstantFolder.h52 Constant *CreateFMul(Constant *LHS, Constant *RHS) const { in CreateFMul() function
DTargetFolder.h68 Constant *CreateFMul(Constant *LHS, Constant *RHS) const { in CreateFMul() function
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DNoFolder.h98 Instruction *CreateFMul(Constant *LHS, Constant *RHS) const { in CreateFMul() function
99 return BinaryOperator::CreateFMul(LHS, RHS); in CreateFMul()
DConstantFolder.h59 Constant *CreateFMul(Constant *LHS, Constant *RHS) const { in CreateFMul() function
/external/llvm/include/llvm/IR/
DNoFolder.h85 Instruction *CreateFMul(Constant *LHS, Constant *RHS) const { in CreateFMul() function
86 return BinaryOperator::CreateFMul(LHS, RHS); in CreateFMul()
DConstantFolder.h52 Constant *CreateFMul(Constant *LHS, Constant *RHS) const { in CreateFMul() function
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPULibCalls.cpp842 Value *nval = B.CreateFMul(opr0, nval1, "__div2mul"); in fold_divide()
917 Value *nval = B.CreateFMul(opr0, opr0, "__pow2"); in fold_pow()
982 valx2 = valx2 ? B.CreateFMul(valx2, valx2, "__powx2") : opr0; in fold_pow()
984 nval = nval ? B.CreateFMul(nval, valx2, "__powprod") : valx2; in fold_pow()
1113 nval = B.CreateFMul(opr1, nval, "__ylogx"); in fold_pow()
1236 Value *nval = B.CreateFMul(opr0, opr1, "fmamul"); in fold_fma_mad()
DAMDGPUCodeGenPrepare.cpp559 Value *FQM = Builder.CreateFMul(FA, RCP); in expandDivRem24()
670 Value *RCP_SCALE = Builder.CreateFMul(RCP_F32, UINT_MAX_PLUS_1); in expandDivRem32()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp1073 Value *RealReal = B.CreateFMul(Real, Real); in optimizeCAbs()
1074 Value *ImagImag = B.CreateFMul(Imag, Imag); in optimizeCAbs()
1117 InnerChain[Exp] = B.CreateFMul(getPow(InnerChain, AddChain[Exp][0], B), in getPow()
1212 Value *FMul = B.CreateFMul(BaseFn->getArgOperand(0), Expo, "mul"); in optimizePow()
1241 return B.CreateFMul(Base, Base, "square"); in optimizePow()
1277 InnerChain[2] = B.CreateFMul(Base, Base, "square"); in optimizePow()
1405 return B.CreateFMul(OpC->getArgOperand(1), in optimizeLog()
1412 return B.CreateFMul( in optimizeLog()
1483 return B.CreateFMul(FabsCall, SqrtCall); in optimizeSqrt()
/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp983 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/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp289 return BinaryOperator::CreateFMul(Op0v, Op1v); in visitFMul()
570 return BinaryOperator::CreateFMul(Op0, RFP); in visitFDiv()
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter3/
Dtoy.cpp372 case '*': return Builder.CreateFMul(L, R, "multmp"); in Codegen()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DTargetFolder.h67 Constant *CreateFMul(Constant *LHS, Constant *RHS) const { in CreateFMul() function
/external/llvm/include/llvm/Analysis/
DTargetFolder.h68 Constant *CreateFMul(Constant *LHS, Constant *RHS) const { in CreateFMul() function
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter4/
Dtoy.cpp380 case '*': return Builder.CreateFMul(L, R, "multmp"); in Codegen()
/external/llvm/examples/Kaleidoscope/Chapter3/
Dtoy.cpp425 return Builder.CreateFMul(L, R, "multmp"); in codegen()
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/Chapter3/
Dtoy.cpp436 return Builder.CreateFMul(L, R, "multmp"); in codegen()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DIRBuilderTest.cpp278 F = Builder.CreateFMul(F, F); in TEST_F()
288 F = Builder.CreateFMul(F, F); in TEST_F()
/external/llvm/examples/Kaleidoscope/Chapter4/
Dtoy.cpp452 return Builder.CreateFMul(L, R, "multmp"); in codegen()

1234