Home
last modified time | relevance | path

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

12

/external/clang/lib/CodeGen/
DCGExprComplex.cpp716 Value *ResRl = Builder.CreateMul(Op.LHS.first, Op.RHS.first, "mul.rl"); in EmitBinMul()
717 Value *ResRr = Builder.CreateMul(Op.LHS.second, Op.RHS.second, "mul.rr"); in EmitBinMul()
720 Value *ResIl = Builder.CreateMul(Op.LHS.second, Op.RHS.first, "mul.il"); in EmitBinMul()
721 Value *ResIr = Builder.CreateMul(Op.LHS.first, Op.RHS.second, "mul.ir"); in EmitBinMul()
773 llvm::Value *Tmp1 = Builder.CreateMul(LHSr, RHSr); // a*c in EmitBinDiv()
774 llvm::Value *Tmp2 = Builder.CreateMul(LHSi, RHSi); // b*d in EmitBinDiv()
777 llvm::Value *Tmp4 = Builder.CreateMul(RHSr, RHSr); // c*c in EmitBinDiv()
778 llvm::Value *Tmp5 = Builder.CreateMul(RHSi, RHSi); // d*d in EmitBinDiv()
781 llvm::Value *Tmp7 = Builder.CreateMul(LHSi, RHSr); // b*c in EmitBinDiv()
782 llvm::Value *Tmp8 = Builder.CreateMul(LHSr, RHSi); // a*d in EmitBinDiv()
DCGExpr.cpp474 llvm::Value *A0 = Builder.CreateMul(Builder.CreateXor(Low, High), KMul); in emitHash16Bytes()
476 llvm::Value *B0 = Builder.CreateMul(Builder.CreateXor(High, A1), KMul); in emitHash16Bytes()
478 return Builder.CreateMul(B1, KMul); in emitHash16Bytes()
2485 Idx = Builder.CreateMul(Idx, numElements); in EmitArraySubscriptExpr()
2497 Idx = Builder.CreateMul(Idx, InterfaceSize); in EmitArraySubscriptExpr()
DCGExprScalar.cpp455 return Builder.CreateMul(Ops.LHS, Ops.RHS, "mul"); in EmitMul()
471 return Builder.CreateMul(Ops.LHS, Ops.RHS, "mul"); in EmitMul()
1949 Offset = Builder.CreateMul(Idx, ElemSize); in VisitOffsetOfExpr()
2462 index = CGF.Builder.CreateMul(index, objectSize); in emitPointerArithmetic()
2480 index = CGF.Builder.CreateMul(index, numElements, "vla.index"); in emitPointerArithmetic()
DCGExprCXX.cpp715 numElements = CGF.Builder.CreateMul(numElements, asmV); in EmitCXXNewAllocSize()
1531 Size = CGF.Builder.CreateMul(Size, NumElements); in Emit()
/external/llvm/lib/Target/R600/
DAMDGPUPromoteAlloca.cpp326 Value *Tmp0 = Builder.CreateMul(TCntY, TCntZ); in visitAlloca()
327 Tmp0 = Builder.CreateMul(Tmp0, TIdX); in visitAlloca()
328 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.h738 Value *CreateMul(Value *LHS, Value *RHS, const Twine &Name = "",
742 return Insert(Folder.CreateMul(LC, RC, HasNUW, HasNSW), Name);
747 return CreateMul(LHS, RHS, Name, false, true);
750 return CreateMul(LHS, RHS, Name, true, false);
/external/llvm/include/llvm/Transforms/Utils/
DLocal.h241 Op = Builder->CreateMul(Op, ConstantInt::get(IntPtrTy, Size),
/external/llvm/lib/Transforms/Scalar/
DReassociate.cpp362 static BinaryOperator *CreateMul(Value *S1, Value *S2, const Twine &Name, in CreateMul() function
365 return BinaryOperator::CreateMul(S1, S2, Name, InsertBefore); in CreateMul()
392 BinaryOperator *Res = CreateMul(Neg->getOperand(1), NegOne, "", Neg, Neg); in LowerNegateToMultiply()
1050 BinaryOperator::CreateMul(Shl->getOperand(0), MulCst, "", Shl); in ConvertShiftToMul()
1523 Instruction *Mul = CreateMul(TheOp, C, "factor", I, I); in OptimizeAdd()
1703 Instruction *V2 = CreateMul(V, MaxOccVal, "tmp", I, I); in OptimizeAdd()
1794 LHS = Builder.CreateMul(LHS, Ops.pop_back_val()); in buildMultiplyTree()
DSeparateConstOffsetFromGEP.cpp756 Idx = Builder.CreateMul(Idx, ConstantInt::get(IntPtrTy, ElementSize)); in lowerToSingleIndexGEPs()
806 Idx = Builder.CreateMul(Idx, ConstantInt::get(IntPtrTy, ElementSize)); in lowerToArithmetics()
DStraightLineStrengthReduce.cpp577 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/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp200 BinaryOperator *BO = BinaryOperator::CreateMul(NewOp, Shl); in visitMul()
250 BinaryOperator::CreateMul(Sub, in visitMul()
273 Value *Mul = Builder->CreateMul(C1, Op1); in visitMul()
277 return BinaryOperator::CreateAdd(Builder->CreateMul(X, Op1), Mul); in visitMul()
284 BinaryOperator *BO = BinaryOperator::CreateMul(Op0v, Op1v); in visitMul()
DInstCombineAddSub.cpp1654 return BinaryOperator::CreateAdd(Op0, Builder->CreateMul(A, B)); in visitSub()
1660 Value *NewMul = Builder->CreateMul(A, ConstantExpr::getNeg(CI)); in visitSub()
DInstCombineShifts.cpp358 return BinaryOperator::CreateMul(BO->getOperand(0), in FoldShiftByConstant()
/external/llvm/lib/Analysis/
DMemoryBuiltins.cpp670 Size = Builder.CreateMul(Size, ArraySize); in visitAllocaInst()
693 Value *Size = Builder.CreateMul(FirstArg, SecondArg); in visitCallSite()
/external/llvm/include/llvm/Analysis/
DTargetFolder.h64 Constant *CreateMul(Constant *LHS, Constant *RHS,
/external/llvm/include/llvm/MC/
DMCExpr.h478 static const MCBinaryExpr *CreateMul(const MCExpr *LHS, const MCExpr *RHS, in CreateMul() function
/external/llvm/lib/Transforms/Instrumentation/
DDataFlowSanitizer.cpp932 IRB.CreateMul( in getShadowAddress()
1345 Value *LenShadow = IRB.CreateMul( in visitMemTransferInst()
1350 AlignShadow = IRB.CreateMul(I.getAlignmentCst(), in visitMemTransferInst()
/external/llvm/lib/Transforms/Utils/
DIntegerDivision.cpp90 Value *Product = Builder.CreateMul(Divisor, Quotient); in generatedUnsignedRemainderCode()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp681 Index = B.CreateMul(Index, StepValue); in transform()
688 Index = B.CreateMul(Index, StepValue); in transform()
1593 Step = Builder.CreateMul(Cv, Step); in getStepVector()
5373 return Builder.CreateAdd(Val, Builder.CreateMul(C, Step), "induction"); in getStepVector()
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp3346 V = Builder.CreateMul(V, ConstantInt::get(IntPtrTy, AddrMode.Scale), in OptimizeMemoryInst()
3421 V = Builder.CreateMul(V, ConstantInt::get(IntPtrTy, AddrMode.Scale), in OptimizeMemoryInst()
/external/llvm/lib/IR/
DInstructions.cpp418 AllocSize = BinaryOperator::CreateMul(ArraySize, AllocSize, in createMalloc()
421 AllocSize = BinaryOperator::CreateMul(ArraySize, AllocSize, in createMalloc()

12