Home
last modified time | relevance | path

Searched refs:CreateMul (Results 1 – 25 of 65) sorted by relevance

123

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp178 return BinaryOperator::CreateMul(RHS, AddOne(C2)); in visitAdd()
183 return BinaryOperator::CreateMul(X, ConstantExpr::getAdd(C1, C2)); in visitAdd()
188 return BinaryOperator::CreateMul(LHS, AddOne(C2)); in visitAdd()
225 return BinaryOperator::CreateMul(W, NewAdd); in visitAdd()
445 Op = Builder->CreateMul(Op, ConstantInt::get(IntPtrTy, Size), in EmitGEPOffset()
634 return BinaryOperator::CreateMul(Op0, CP1); in visitSub()
641 return BinaryOperator::CreateMul(Op0, C); in visitSub()
649 return BinaryOperator::CreateAdd(Op0, Builder->CreateMul(A, B)); in visitSub()
655 Value *NewMul = Builder->CreateMul(A, ConstantExpr::getNeg(CI)); in visitSub()
663 return BinaryOperator::CreateMul(Op1, SubOne(C1)); in visitSub()
[all …]
DInstCombineMulDivRem.cpp118 return BinaryOperator::CreateMul(SI->getOperand(0), in visitMul()
134 Value *Add = Builder->CreateMul(X, CI); in visitMul()
135 return BinaryOperator::CreateAdd(Add, Builder->CreateMul(C1, CI)); in visitMul()
156 BinaryOperator::CreateMul(Sub, in visitMul()
177 return BinaryOperator::CreateMul(Op0v, Op1v); in visitMul()
/external/clang/lib/CodeGen/
DCGExprComplex.cpp723 Value *ResRl = Builder.CreateMul(Op.LHS.first, Op.RHS.first, "mul.rl"); in EmitBinMul()
724 Value *ResRr = Builder.CreateMul(Op.LHS.second, Op.RHS.second, "mul.rr"); in EmitBinMul()
727 Value *ResIl = Builder.CreateMul(Op.LHS.second, Op.RHS.first, "mul.il"); in EmitBinMul()
728 Value *ResIr = Builder.CreateMul(Op.LHS.first, Op.RHS.second, "mul.ir"); in EmitBinMul()
780 llvm::Value *Tmp1 = Builder.CreateMul(LHSr, RHSr); // a*c in EmitBinDiv()
781 llvm::Value *Tmp2 = Builder.CreateMul(LHSi, RHSi); // b*d in EmitBinDiv()
784 llvm::Value *Tmp4 = Builder.CreateMul(RHSr, RHSr); // c*c in EmitBinDiv()
785 llvm::Value *Tmp5 = Builder.CreateMul(RHSi, RHSi); // d*d in EmitBinDiv()
788 llvm::Value *Tmp7 = Builder.CreateMul(LHSi, RHSr); // b*c in EmitBinDiv()
789 llvm::Value *Tmp8 = Builder.CreateMul(LHSr, RHSi); // a*d in EmitBinDiv()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DNoFolder.h72 Instruction *CreateMul(Constant *LHS, Constant *RHS,
74 BinaryOperator *BO = BinaryOperator::CreateMul(LHS, RHS);
DConstantFolder.h48 Constant *CreateMul(Constant *LHS, Constant *RHS,
DTargetFolder.h64 Constant *CreateMul(Constant *LHS, Constant *RHS,
DIRBuilder.h540 Value *CreateMul(Value *LHS, Value *RHS, const Twine &Name = "",
544 return Insert(Folder.CreateMul(LC, RC), Name);
549 return CreateMul(LHS, RHS, Name, false, true);
552 return CreateMul(LHS, RHS, Name, true, false);
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dparallel_loop_emitter.cc85 ir_builder_->CreateMul( in EmitIndexAndSetExitBasicBlock()
/external/llvm/bindings/go/llvm/
Dexecutionengine_test.go53 res_iffalse := builder.CreateMul(n, call_fac, "multmp")
/external/llvm/include/llvm/IR/
DNoFolder.h72 Instruction *CreateMul(Constant *LHS, Constant *RHS,
74 BinaryOperator *BO = BinaryOperator::CreateMul(LHS, RHS);
DConstantFolder.h48 Constant *CreateMul(Constant *LHS, Constant *RHS,
DIRBuilder.h822 Value *CreateMul(Value *LHS, Value *RHS, const Twine &Name = "",
826 return Insert(Folder.CreateMul(LC, RC, HasNUW, HasNSW), Name);
831 return CreateMul(LHS, RHS, Name, false, true);
834 return CreateMul(LHS, RHS, Name, true, false);
/external/llvm/lib/Target/AMDGPU/
DAMDGPUPromoteAlloca.cpp709 Value *Tmp0 = Builder.CreateMul(TCntY, TCntZ, "", true, true); in handleAlloca()
710 Tmp0 = Builder.CreateMul(Tmp0, TIdX); in handleAlloca()
711 Value *Tmp1 = Builder.CreateMul(TIdY, TCntZ, "", true, true); in handleAlloca()
/external/llvm/lib/Transforms/Scalar/
DNaryReassociate.cpp430 RHS = Builder.CreateMul( in tryReassociateGEPAtIndex()
488 NewI = BinaryOperator::CreateMul(LHS, RHS, "", I); in tryReassociatedBinaryOp()
DReassociate.cpp229 static BinaryOperator *CreateMul(Value *S1, Value *S2, const Twine &Name, in CreateMul() function
232 return BinaryOperator::CreateMul(S1, S2, Name, InsertBefore); in CreateMul()
258 BinaryOperator *Res = CreateMul(Neg->getOperand(1), NegOne, "", Neg, Neg); in LowerNegateToMultiply()
934 BinaryOperator::CreateMul(Shl->getOperand(0), MulCst, "", Shl); in ConvertShiftToMul()
1418 Instruction *Mul = CreateMul(TheOp, C, "factor", I, I); in OptimizeAdd()
1598 Instruction *V2 = CreateMul(V, MaxOccVal, "tmp", I, I); in OptimizeAdd()
1692 LHS = Builder.CreateMul(LHS, Ops.pop_back_val()); in buildMultiplyTree()
DSeparateConstOffsetFromGEP.cpp805 Idx = Builder.CreateMul(Idx, ConstantInt::get(IntPtrTy, ElementSize)); in lowerToSingleIndexGEPs()
866 Idx = Builder.CreateMul(Idx, ConstantInt::get(IntPtrTy, ElementSize)); in lowerToArithmetics()
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
Dir_array.cc181 builder->CreateMul(multidim_[i], in SourceIndexOfSlice()
214 builder->CreateMul((*this)[i], builder->getInt64(multiplier), "", in Linearize()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DReassociate.cpp216 Instruction *Res = BinaryOperator::CreateMul(Neg->getOperand(1), Cst, "",Neg); in LowerNegateToMultiply()
532 BinaryOperator::CreateMul(Shl->getOperand(0), MulCst, "", Shl); in ConvertShiftToMul()
736 Mul = BinaryOperator::CreateMul(TheOp, Mul, "factor", I); in OptimizeAdd()
871 Value *V2 = BinaryOperator::CreateMul(V, MaxOccVal, "tmp", I); in OptimizeAdd()
/external/llvm/unittests/IR/
DPatternMatch.cpp275 EXPECT_FALSE(m_NSWMul(m_Value(), m_Value()).match(IRB.CreateMul(L, R))); in TEST_F()
289 EXPECT_FALSE(m_NUWMul(m_Value(), m_Value()).match(IRB.CreateMul(L, R))); in TEST_F()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp207 BinaryOperator *BO = BinaryOperator::CreateMul(NewOp, Shl); in visitMul()
261 BinaryOperator::CreateMul(Sub, in visitMul()
284 Value *Mul = Builder->CreateMul(C1, Op1); in visitMul()
288 return BinaryOperator::CreateAdd(Builder->CreateMul(X, Op1), Mul); in visitMul()
295 BinaryOperator *BO = BinaryOperator::CreateMul(Op0v, Op1v); in visitMul()
/external/llvm/include/llvm/Transforms/Utils/
DLocal.h237 Op = Builder->CreateMul(Op, ConstantInt::get(IntPtrTy, Size),
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Ddot_op_emitter.cc57 llvm::Value* total_offset = ir_builder->CreateMul( in TileLoader()
283 ir_builder_->CreateMul(col, ir_builder_->getInt64(m_)); in EmitInnerLoopEpilogue()
507 llvm::Value* total_offset = ir_builder_->CreateMul( in EmitInnerLoopEpilogue()
/external/llvm/include/llvm/Analysis/
DTargetFolder.h64 Constant *CreateMul(Constant *LHS, Constant *RHS,
/external/llvm/lib/Analysis/
DMemoryBuiltins.cpp734 Size = Builder.CreateMul(Size, ArraySize); in visitAllocaInst()
757 Value *Size = Builder.CreateMul(FirstArg, SecondArg); in visitCallSite()
/external/swiftshader/third_party/LLVM/include/llvm/MC/
DMCExpr.h366 static const MCBinaryExpr *CreateMul(const MCExpr *LHS, const MCExpr *RHS, in CreateMul() function

123