Home
last modified time | relevance | path

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

12

/external/clang/lib/CodeGen/
DCGExprComplex.cpp722 Value *ResRl = Builder.CreateMul(Op.LHS.first, Op.RHS.first, "mul.rl"); in EmitBinMul()
723 Value *ResRr = Builder.CreateMul(Op.LHS.second, Op.RHS.second, "mul.rr"); in EmitBinMul()
726 Value *ResIl = Builder.CreateMul(Op.LHS.second, Op.RHS.first, "mul.il"); in EmitBinMul()
727 Value *ResIr = Builder.CreateMul(Op.LHS.first, Op.RHS.second, "mul.ir"); in EmitBinMul()
779 llvm::Value *Tmp1 = Builder.CreateMul(LHSr, RHSr); // a*c in EmitBinDiv()
780 llvm::Value *Tmp2 = Builder.CreateMul(LHSi, RHSi); // b*d in EmitBinDiv()
783 llvm::Value *Tmp4 = Builder.CreateMul(RHSr, RHSr); // c*c in EmitBinDiv()
784 llvm::Value *Tmp5 = Builder.CreateMul(RHSi, RHSi); // d*d in EmitBinDiv()
787 llvm::Value *Tmp7 = Builder.CreateMul(LHSi, RHSr); // b*c in EmitBinDiv()
788 llvm::Value *Tmp8 = Builder.CreateMul(LHSr, RHSi); // a*d in EmitBinDiv()
DCGExpr.cpp493 llvm::Value *A0 = Builder.CreateMul(Builder.CreateXor(Low, High), KMul); in emitHash16Bytes()
495 llvm::Value *B0 = Builder.CreateMul(Builder.CreateXor(High, A1), KMul); in emitHash16Bytes()
497 return Builder.CreateMul(B1, KMul); in emitHash16Bytes()
2755 Idx = Builder.CreateMul(Idx, numElements); in EmitArraySubscriptExpr()
2769 llvm::Value *ScaledIdx = Builder.CreateMul(Idx, InterfaceSizeVal); in EmitArraySubscriptExpr()
2940 Idx = Builder.CreateMul(Idx, numElements); in EmitOMPArraySectionExpr()
DCGExprScalar.cpp454 return Builder.CreateMul(Ops.LHS, Ops.RHS, "mul"); in EmitMul()
470 return Builder.CreateMul(Ops.LHS, Ops.RHS, "mul"); in EmitMul()
1946 Offset = Builder.CreateMul(Idx, ElemSize); in VisitOffsetOfExpr()
2470 index = CGF.Builder.CreateMul(index, objectSize); in emitPointerArithmetic()
2488 index = CGF.Builder.CreateMul(index, numElements, "vla.index"); in emitPointerArithmetic()
DCGExprCXX.cpp756 numElements = CGF.Builder.CreateMul(numElements, asmV); in EmitCXXNewAllocSize()
1633 Size = CGF.Builder.CreateMul(Size, NumElements); in Emit()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUPromoteAlloca.cpp343 Value *Tmp0 = Builder.CreateMul(TCntY, TCntZ); in visitAlloca()
344 Tmp0 = Builder.CreateMul(Tmp0, TIdX); in visitAlloca()
345 Value *Tmp1 = Builder.CreateMul(TIdY, TCntZ); in visitAlloca()
/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.h807 Value *CreateMul(Value *LHS, Value *RHS, const Twine &Name = "",
811 return Insert(Folder.CreateMul(LC, RC, HasNUW, HasNSW), Name);
816 return CreateMul(LHS, RHS, Name, false, true);
819 return CreateMul(LHS, RHS, Name, true, false);
/external/llvm/lib/Transforms/Scalar/
DNaryReassociate.cpp461 RHS = Builder.CreateMul( in tryReassociateGEPAtIndex()
519 NewI = BinaryOperator::CreateMul(LHS, RHS, "", I); in tryReassociatedBinaryOp()
DReassociate.cpp330 static BinaryOperator *CreateMul(Value *S1, Value *S2, const Twine &Name, in CreateMul() function
333 return BinaryOperator::CreateMul(S1, S2, Name, InsertBefore); in CreateMul()
359 BinaryOperator *Res = CreateMul(Neg->getOperand(1), NegOne, "", Neg, Neg); in LowerNegateToMultiply()
1035 BinaryOperator::CreateMul(Shl->getOperand(0), MulCst, "", Shl); in ConvertShiftToMul()
1506 Instruction *Mul = CreateMul(TheOp, C, "factor", I, I); in OptimizeAdd()
1686 Instruction *V2 = CreateMul(V, MaxOccVal, "tmp", I, I); in OptimizeAdd()
1777 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()
DStraightLineStrengthReduce.cpp604 return Builder.CreateMul(ExtendedStride, Delta); in emitBump()
/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/include/llvm/Transforms/Utils/
DLocal.h242 Op = Builder->CreateMul(Op, ConstantInt::get(IntPtrTy, Size),
/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()
DInstCombineAddSub.cpp1653 return BinaryOperator::CreateAdd(Op0, Builder->CreateMul(A, B)); in visitSub()
1659 Value *NewMul = Builder->CreateMul(A, ConstantExpr::getNeg(CI)); in visitSub()
DInstCombineShifts.cpp358 return BinaryOperator::CreateMul(BO->getOperand(0), in FoldShiftByConstant()
DInstCombineCasts.cpp131 Amt = AllocaBuilder.CreateMul(Amt, NumElements); in PromoteCastOfAllocation()
/external/llvm/lib/Transforms/Utils/
DLoopUtils.cpp642 Index = B.CreateMul(Index, StepValue); in transform()
651 Index = B.CreateMul(Index, StepValue); in transform()
DIntegerDivision.cpp90 Value *Product = Builder.CreateMul(Divisor, Quotient); in generatedUnsignedRemainderCode()
/external/llvm/include/llvm/Analysis/
DTargetFolder.h64 Constant *CreateMul(Constant *LHS, Constant *RHS,
/external/llvm/lib/Analysis/
DMemoryBuiltins.cpp682 Size = Builder.CreateMul(Size, ArraySize); in visitAllocaInst()
705 Value *Size = Builder.CreateMul(FirstArg, SecondArg); in visitCallSite()
/external/llvm/lib/Transforms/Instrumentation/
DDataFlowSanitizer.cpp946 IRB.CreateMul( in getShadowAddress()
1361 Value *LenShadow = IRB.CreateMul( in visitMemTransferInst()
1366 AlignShadow = IRB.CreateMul(I.getAlignmentCst(), in visitMemTransferInst()
DSafeStack.cpp612 Value *Size = IRB.CreateMul(ArraySize, ConstantInt::get(IntPtrTy, TySize)); in moveDynamicAllocasToUnsafeStack()

12