/external/llvm/lib/Transforms/Utils/ |
D | IntegerDivision.cpp | 62 Value *UDividend = Builder.CreateSub(DvdXor, DividendSign); in generateSignedRemainderCode() 63 Value *UDivisor = Builder.CreateSub(DvsXor, DivisorSign); in generateSignedRemainderCode() 66 Value *SRem = Builder.CreateSub(Xored, DividendSign); in generateSignedRemainderCode() 91 Value *Remainder = Builder.CreateSub(Dividend, Product); in generatedUnsignedRemainderCode() 134 Value *U_Dvnd = Builder.CreateSub(Tmp2, Tmp); in generateSignedDivisionCode() 136 Value *U_Dvsr = Builder.CreateSub(Tmp3, Tmp1); in generateSignedDivisionCode() 140 Value *Q = Builder.CreateSub(Tmp4, Q_Sgn); in generateSignedDivisionCode() 257 Value *SR = Builder.CreateSub(Tmp0, Tmp1); in generateUnsignedDivisionCode() 273 Value *Tmp2 = Builder.CreateSub(MSB, SR); in generateUnsignedDivisionCode() 315 Value *Tmp9 = Builder.CreateSub(Tmp4, Tmp7); in generateUnsignedDivisionCode() [all …]
|
D | LoopUnrollRuntime.cpp | 194 Builder.CreateSub(NewIdx, ConstantInt::get(NewIdx->getType(), 1), in CloneLoopBlocks()
|
D | LoopUtils.cpp | 640 return B.CreateSub(StartValue, Index); in transform()
|
/external/llvm/examples/Fibonacci/ |
D | fibonacci.cpp | 71 Value *Sub = BinaryOperator::CreateSub(ArgX, One, "arg", RecurseBB); in CreateFibFunction() 76 Sub = BinaryOperator::CreateSub(ArgX, Two, "arg", RecurseBB); in CreateFibFunction()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAddSub.cpp | 1020 return Builder->CreateSub(RHS, NewAnd, "sub"); in checkForNegativeOperand() 1025 return Builder->CreateSub(RHS, NewOr, "sub"); in checkForNegativeOperand() 1045 return Builder->CreateSub(RHS, NewOr, "sub"); in checkForNegativeOperand() 1115 return BinaryOperator::CreateSub(ConstantExpr::getAdd(XorRHS, CI), in visitAdd() 1151 return BinaryOperator::CreateSub(RHS, LHSV); in visitAdd() 1157 return BinaryOperator::CreateSub(LHS, V); in visitAdd() 1169 return BinaryOperator::CreateSub(SubOne(CRHS), X); in visitAdd() 1482 Result = Builder->CreateSub(Result, Offset); in OptimizePointerDifference() 1544 return BinaryOperator::CreateSub(ConstantExpr::getSub(C, C2), X); in visitSub() 1629 Builder->CreateSub(Z, Y, Op1->getName())); in visitSub()
|
D | InstCombineMulDivRem.cpp | 42 A = IC.Builder->CreateSub(A, B); in simplifyValueKnownNonZero() 256 Sub = Builder->CreateSub(X, Y, "suba"); in visitMul() 258 Sub = Builder->CreateSub(Builder->CreateNeg(C1), Y, "subc"); in visitMul() 338 return BinaryOperator::CreateSub(Op0BO, Rem); in visitMul() 339 return BinaryOperator::CreateSub(Rem, Op0BO); in visitMul() 383 Value *V = Builder->CreateSub(Constant::getNullValue(I.getType()), in visitMul()
|
/external/llvm/examples/ParallelJIT/ |
D | ParallelJIT.cpp | 99 Value *Sub = BinaryOperator::CreateSub(ArgX, One, "arg", RecurseBB); in CreateFibFunction() 103 Sub = BinaryOperator::CreateSub(ArgX, Two, "arg", RecurseBB); in CreateFibFunction()
|
/external/llvm/bindings/go/llvm/ |
D | executionengine_test.go | 50 n_minus := builder.CreateSub(n, ConstInt(Int32Type(), 1, false), "subtmp")
|
/external/llvm/include/llvm/IR/ |
D | NoFolder.h | 56 Instruction *CreateSub(Constant *LHS, Constant *RHS, 58 BinaryOperator *BO = BinaryOperator::CreateSub(LHS, RHS);
|
D | ConstantFolder.h | 41 Constant *CreateSub(Constant *LHS, Constant *RHS,
|
D | IRBuilder.h | 785 Value *CreateSub(Value *LHS, Value *RHS, const Twine &Name = "", 789 return Insert(Folder.CreateSub(LC, RC, HasNUW, HasNSW), Name); 794 return CreateSub(LHS, RHS, Name, false, true); 797 return CreateSub(LHS, RHS, Name, true, false); 1666 Value *Difference = CreateSub(LHS_int, RHS_int); 1765 PtrIntValue = CreateSub(PtrIntValue, OffsetValue, "offsetptr");
|
/external/llvm/lib/Transforms/Scalar/ |
D | LowerAtomic.cpp | 60 Res = Builder.CreateSub(Orig, Val); in LowerAtomicRMWInst()
|
D | StraightLineStrengthReduce.cpp | 633 Builder.CreateSub(Basis.Ins, BinaryOperator::getNegArgument(Bump)); in rewriteCandidateWithBasis()
|
D | LoopIdiomRecognize.cpp | 1033 Builder.CreateSub(TcPhi, ConstantInt::get(Ty, 1), in transformLoopToPopcount()
|
/external/llvm/unittests/IR/ |
D | PatternMatch.cpp | 272 EXPECT_FALSE(m_NSWSub(m_Value(), m_Value()).match(IRB.CreateSub(L, R))); in TEST_F() 286 EXPECT_FALSE(m_NUWSub(m_Value(), m_Value()).match(IRB.CreateSub(L, R))); in TEST_F()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | BoundsChecking.cpp | 153 Value *ObjSize = Builder->CreateSub(Size, Offset); in instrument()
|
D | SafeStack.cpp | 615 SP = IRB.CreateSub(SP, Size); in moveDynamicAllocasToUnsafeStack()
|
/external/clang/lib/CodeGen/ |
D | CGExprComplex.cpp | 564 ResR = Builder.CreateSub(Op.LHS.first, Op.RHS.first, "sub.r"); in EmitBinSub() 567 ResI = Builder.CreateSub(Op.LHS.second, Op.RHS.second, "sub.i"); in EmitBinSub() 724 ResR = Builder.CreateSub(ResRl, ResRr, "mul.r"); in EmitBinMul() 789 llvm::Value *Tmp9 = Builder.CreateSub(Tmp7, Tmp8); // bc-ad in EmitBinDiv()
|
D | CGExprCXX.cpp | 935 RemainingSize = Builder.CreateSub(RemainingSize, InitializedSize); in EmitNewArrayInitializer() 978 NumElements = Builder.CreateSub( in EmitNewArrayInitializer()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXLowerAggrCopies.cpp | 173 Value *IndexPtr = LoopBuilder.CreateSub( in convertMemMoveToLoop()
|
/external/llvm/include/llvm/Analysis/ |
D | TargetFolder.h | 57 Constant *CreateSub(Constant *LHS, Constant *RHS,
|
/external/llvm/unittests/ExecutionEngine/MCJIT/ |
D | MCJITTestBase.h | 184 Value *RecursiveParam = Builder.CreateSub(Param, One);
|
/external/llvm/lib/CodeGen/ |
D | IntrinsicLowering.cpp | 409 SrcM1 = Builder.CreateSub(Src, SrcM1); in LowerIntrinsicCall()
|
D | AtomicExpandPass.cpp | 353 return Builder.CreateSub(Loaded, Inc, "new"); in performAtomicOp()
|
/external/llvm/lib/Analysis/ |
D | ScalarEvolutionExpander.cpp | 983 Builder.CreateSub(PN, StepV, Twine(IVName) + ".iv.next") : in expandIVInc() 1345 Result = Builder.CreateSub(expandCodeFor(Normalized->getStart(), TruncTy), in expandAddRecExprLiterally()
|