/external/llvm/unittests/IR/ |
D | PatternMatch.cpp | 54 Value *One = IRB.CreateAdd(IRB.CreateAdd(IRB.getInt32(1), IRB.getInt32(2)), in TEST_F() 56 Value *Two = IRB.CreateAdd(One, IRB.getInt32(42)); in TEST_F() 57 Value *Leaf = IRB.CreateAdd(IRB.CreateAdd(Two, IRB.getInt32(8)), in TEST_F() 58 IRB.CreateAdd(Two, IRB.getInt32(13))); in TEST_F() 269 EXPECT_FALSE(m_NSWAdd(m_Value(), m_Value()).match(IRB.CreateAdd(L, R))); in TEST_F() 283 EXPECT_FALSE(m_NUWAdd(m_Value(), m_Value()).match(IRB.CreateAdd(L, R))); in TEST_F()
|
/external/llvm/include/llvm/Transforms/Utils/ |
D | Local.h | 225 Result = Builder->CreateAdd(Result, ConstantInt::get(IntPtrTy, Size), 234 Result = Builder->CreateAdd(Result, Scale, GEP->getName()+".offs"); 247 Result = Builder->CreateAdd(Op, Result, GEP->getName()+".offs");
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXLowerAggrCopies.cpp | 102 LoopBuilder.CreateAdd(LoopIndex, ConstantInt::get(TypeOfCopyLen, 1)); in convertMemCpyToLoop() 196 Value *FwdIndexPtr = FwdLoopBuilder.CreateAdd( in convertMemMoveToLoop() 234 LoopBuilder.CreateAdd(LoopIndex, ConstantInt::get(CopyLen->getType(), 1)); in convertMemSetToLoop()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAddSub.cpp | 1121 return BinaryOperator::CreateAdd(XorLHS, in visitAdd() 1147 Value *NewAdd = Builder->CreateAdd(LHSV, RHSV, "sum"); in visitAdd() 1191 Value *NewAdd = Builder->CreateAdd(X, CRHS, LHS->getName()); in visitAdd() 1282 auto *New = BinaryOperator::CreateAdd(A, B); in visitAdd() 1291 auto *New = BinaryOperator::CreateAdd(A, B); in visitAdd() 1508 BinaryOperator *Res = BinaryOperator::CreateAdd(Op0, V); in visitSub() 1534 return BinaryOperator::CreateAdd(X, AddOne(C)); in visitSub() 1628 return BinaryOperator::CreateAdd(Op0, in visitSub() 1653 return BinaryOperator::CreateAdd(Op0, Builder->CreateMul(A, B)); in visitSub() 1660 return BinaryOperator::CreateAdd(Op0, NewMul); in visitSub()
|
D | InstCombineAndOrXor.cpp | 319 Value *Add = Builder->CreateAdd(V, NegLo, V->getName()+".off"); in InsertRangeTest() 338 Value *Add = Builder->CreateAdd(V, NegLo, V->getName()+".off"); in InsertRangeTest() 411 return Builder->CreateAdd(LHSI->getOperand(0), RHS, "fold"); in FoldLogicalPlusAnd() 1048 Value *Add = Builder->CreateAdd(Val, AddCST, Val->getName()+".off"); in FoldAndOfICmps() 1869 Value *NewAdd = Builder->CreateAdd(NewAnd, MaxAddCst); in FoldOrOfICmps() 1919 Builder->CreateAdd(B, ConstantInt::getSigned(B->getType(), -1)), A); in FoldOrOfICmps() 2010 Value *Add = Builder->CreateAdd(Val, AddCST, Val->getName()+".off"); in FoldOrOfICmps() 2711 return BinaryOperator::CreateAdd(Op0I->getOperand(1), ConstantRHS); in visitXor() 2726 return BinaryOperator::CreateAdd(Op0I->getOperand(0), C); in visitXor()
|
D | InstCombineMulDivRem.cpp | 288 return BinaryOperator::CreateAdd(Builder->CreateMul(X, Op1), Mul); in visitMul() 890 Value *Inc = Builder->CreateAdd(Op1, One); in commonIDivTransforms() 990 N = IC.Builder->CreateAdd(N, ConstantInt::get(N->getType(), CI.logBase2())); in foldUDivShl() 1400 Value *Add = Builder->CreateAdd(Op1, N1); in visitURem()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | AddressSanitizer.cpp | 645 DynamicAreaPtr = IRB.CreateAdd(IRB.CreatePtrToInt(SavedStack, IntptrTy), in unpoisonDynamicAllocasBeforeInst() 829 return IRB.CreateAdd(Shadow, ConstantInt::get(IntptrTy, Mapping.Offset)); in memToShadow() 1057 LastAccessedByte = IRB.CreateAdd( in createSlowPathCmp() 1143 IRB.CreateAdd(AddrLong, ConstantInt::get(IntptrTy, TypeSize / 8 - 1)), in instrumentUnusualSizeOrAlignment() 1748 Value *Ptr = IRB.CreateAdd(ShadowBase, ConstantInt::get(IntptrTy, i)); in poisonRedZones() 1779 Value *p = IRB.CreateAdd(ShadowBase, ConstantInt::get(IntptrTy, i)); in SetShadowToStackAfterReturnInlined() 1948 IRB.CreateAdd(LocalStackBase, ConstantInt::get(IntptrTy, Desc.Offset)), in poisonStack() 1961 IRB.CreateAdd(LocalStackBase, in poisonStack() 1971 IRB.CreateAdd(LocalStackBase, in poisonStack() 2008 Value *SavedFlagPtrPtr = IRBPoison.CreateAdd( in poisonStack() [all …]
|
D | MemorySanitizer.cpp | 944 IRB.CreateAdd(ShadowLong, in getShadowPtr() 958 IRB.CreateAdd(OriginLong, in getOriginPtr() 975 Base = IRB.CreateAdd(Base, ConstantInt::get(MS.IntptrTy, ArgOffset)); in getShadowPtrForArgument() 985 Base = IRB.CreateAdd(Base, ConstantInt::get(MS.IntptrTy, ArgOffset)); in getOriginPtrForArgument() 2857 Base = IRB.CreateAdd(Base, ConstantInt::get(MS.IntptrTy, ArgOffset)); in getShadowPtrForVAArgument() 2898 IRB.CreateAdd(ConstantInt::get(MS.IntptrTy, AMD64FpEndOffset), in finalizeInstrumentation() 2913 IRB.CreateAdd(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in finalizeInstrumentation() 2924 IRB.CreateAdd(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in finalizeInstrumentation() 2982 Base = IRB.CreateAdd(Base, ConstantInt::get(MS.IntptrTy, ArgOffset)); in getShadowPtrForVAArgument() 3011 Value *CopySize = IRB.CreateAdd(ConstantInt::get(MS.IntptrTy, 0), in finalizeInstrumentation() [all …]
|
D | SanitizerCoverage.cpp | 463 Value *GuardP = IRB.CreateAdd( in InjectCoverageAtBlock() 489 Value *P = IRB.CreateAdd( in InjectCoverageAtBlock() 494 Value *Inc = IRB.CreateAdd(LI, ConstantInt::get(IRB.getInt8Ty(), 1)); in InjectCoverageAtBlock()
|
D | GCOVProfiling.cpp | 617 Count = Builder.CreateAdd(Count, Builder.getInt64(1)); in emitProfileArcs() 630 Count = Builder.CreateAdd(Count, Builder.getInt64(1)); in emitProfileArcs() 931 Value *Add = Builder.CreateAdd(Builder.CreateLoad(Counter), in insertIndirectCounterIncrement()
|
/external/llvm/examples/ParallelJIT/ |
D | ParallelJIT.cpp | 57 Instruction *Add = BinaryOperator::CreateAdd(One, ArgX, "addresult", BB); in createAdd1() 108 BinaryOperator::CreateAdd(CallFibX1, CallFibX2, "addresult", RecurseBB); in CreateFibFunction()
|
/external/llvm/examples/HowToUseJIT/ |
D | HowToUseJIT.cpp | 87 Value *Add = builder.CreateAdd(One, ArgX); in main()
|
/external/llvm/examples/Fibonacci/ |
D | fibonacci.cpp | 82 Value *Sum = BinaryOperator::CreateAdd(CallFibX1, CallFibX2, in CreateFibFunction()
|
/external/llvm/unittests/ExecutionEngine/MCJIT/ |
D | MCJITTestBase.h | 101 Value *AddResult = Builder.CreateAdd(Arg1, Arg2); 186 Value *Accumulator = Builder.CreateAdd(Param, RecursiveReturn);
|
D | MCJITTest.cpp | 252 Value *Result = Builder.CreateAdd(Call1, Call2); in TEST_F()
|
/external/llvm/include/llvm/IR/ |
D | NoFolder.h | 40 Instruction *CreateAdd(Constant *LHS, Constant *RHS, 42 BinaryOperator *BO = BinaryOperator::CreateAdd(LHS, RHS);
|
D | ConstantFolder.h | 34 Constant *CreateAdd(Constant *LHS, Constant *RHS,
|
/external/llvm/unittests/Transforms/Utils/ |
D | Local.cpp | 52 builder.CreateAdd(phi, phi); in TEST()
|
/external/llvm/lib/Transforms/Utils/ |
D | IntegerDivision.cpp | 272 Value *SR_1 = Builder.CreateAdd(SR, One); in generateUnsignedDivisionCode() 284 Value *Tmp4 = Builder.CreateAdd(Divisor, NegOne); in generateUnsignedDivisionCode() 320 Value *SR_2 = Builder.CreateAdd(SR_3, NegOne); in generateUnsignedDivisionCode()
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUPromoteAlloca.cpp | 346 Value *TID = Builder.CreateAdd(Tmp0, Tmp1); in visitAlloca() 347 TID = Builder.CreateAdd(TID, TIdZ); in visitAlloca()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LowerAtomic.cpp | 57 Res = Builder.CreateAdd(Orig, Val); in LowerAtomicRMWInst()
|
D | Reassociate.cpp | 318 static BinaryOperator *CreateAdd(Value *S1, Value *S2, const Twine &Name, in CreateAdd() function 321 return BinaryOperator::CreateAdd(S1, S2, Name, InsertBefore); in CreateAdd() 1015 BinaryOperator *New = CreateAdd(Sub->getOperand(0), NegVal, "", Sub, Sub); in BreakUpSubtract() 1090 return CreateAdd(V2, V1, "tmp", I, I); in EmitAddTreeOfValues() 1646 ? BinaryOperator::CreateAdd(MaxOccVal, MaxOccVal) in OptimizeAdd()
|
/external/clang/lib/CodeGen/ |
D | CGExprComplex.cpp | 545 ResR = Builder.CreateAdd(Op.LHS.first, Op.RHS.first, "add.r"); in EmitBinAdd() 548 ResI = Builder.CreateAdd(Op.LHS.second, Op.RHS.second, "add.i"); in EmitBinAdd() 728 ResI = Builder.CreateAdd(ResIl, ResIr, "mul.i"); in EmitBinMul() 781 llvm::Value *Tmp3 = Builder.CreateAdd(Tmp1, Tmp2); // ac+bd in EmitBinDiv() 785 llvm::Value *Tmp6 = Builder.CreateAdd(Tmp4, Tmp5); // cc+dd in EmitBinDiv()
|
/external/llvm/unittests/Analysis/ |
D | AliasAnalysisTest.cpp | 182 auto *Add1 = BinaryOperator::CreateAdd(Value, Value, "add", BB); in TEST_F()
|
/external/llvm/lib/CodeGen/ |
D | IntrinsicLowering.cpp | 287 PartValue = Builder.CreateAdd(LHS, RHS, "ctpop.step"); in LowerCTPOP() 289 Count = Builder.CreateAdd(PartValue, Count, "ctpop.part"); in LowerCTPOP()
|