Home
last modified time | relevance | path

Searched refs:CreateAdd (Results 1 – 25 of 46) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/Utils/
DLocal.h59 Result = Builder->CreateAdd(Result, ConstantInt::get(IntIdxTy, Size),
73 Result = Builder->CreateAdd(Result, Scale, GEP->getName()+".offs");
92 Result = Builder->CreateAdd(Op, Result, GEP->getName()+".offs");
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLowerMemIntrinsics.cpp81 LoopBuilder.CreateAdd(LoopIndex, ConstantInt::get(TypeOfCopyLen, 1U)); in createMemCpyLoopKnownSize()
189 LoopBuilder.CreateAdd(LoopIndex, ConstantInt::get(CopyLenType, 1U)); in createMemCpyLoopUnknownSize()
234 Value *FullOffset = ResBuilder.CreateAdd(RuntimeBytesCopied, ResidualIndex); in createMemCpyLoopUnknownSize()
243 ResBuilder.CreateAdd(ResidualIndex, ConstantInt::get(CopyLenType, 1U)); in createMemCpyLoopUnknownSize()
357 Value *FwdIndexPtr = FwdLoopBuilder.CreateAdd( in createMemMoveLoop()
401 LoopBuilder.CreateAdd(LoopIndex, ConstantInt::get(TypeOfCopyLen, 1)); in createMemSetLoop()
DIntegerDivision.cpp271 Value *SR_1 = Builder.CreateAdd(SR, One); in generateUnsignedDivisionCode()
283 Value *Tmp4 = Builder.CreateAdd(Divisor, NegOne); in generateUnsignedDivisionCode()
319 Value *SR_2 = Builder.CreateAdd(SR_3, NegOne); in generateUnsignedDivisionCode()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp853 return BinaryOperator::CreateAdd(WideX, NewC); in foldNoWrapAdd()
860 return BinaryOperator::CreateAdd(WideX, NewC); in foldNoWrapAdd()
887 return BinaryOperator::CreateAdd(Builder.CreateNot(Y), X); in foldAddWithConstant()
1269 return BinaryOperator::CreateAdd(XorLHS, in visitAdd()
1289 return BinaryOperator::CreateNeg(Builder.CreateAdd(A, B)); in visitAdd()
1339 Value *NewAdd = Builder.CreateAdd(X, CRHS, LHS->getName()); in visitAdd()
1695 BinaryOperator *Res = BinaryOperator::CreateAdd(Op0, V); in visitSub()
1724 return BinaryOperator::CreateAdd(Builder.CreateNot(Op1), X); in visitSub()
1728 return BinaryOperator::CreateAdd(Builder.CreateNot(X), Op0); in visitSub()
1732 return BinaryOperator::CreateAdd( in visitSub()
[all …]
DInstCombineMulDivRem.cpp273 return BinaryOperator::CreateAdd(Builder.CreateMul(X, Op1), Mul); in visitMul()
770 Value *Inc = Builder.CreateAdd(Op1, Op0); in commonIDivTransforms()
872 N = IC.Builder.CreateAdd(N, Log2Base); in foldUDivShl()
1374 Value *Add = Builder.CreateAdd(Op1, N1); in visitURem()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUCodeGenPrepare.cpp719 Value *Div = Builder.CreateAdd(IQ, JQ); in expandDivRem24()
788 Num = Builder.CreateAdd(Num, LHSign); in expandDivRem32()
789 Den = Builder.CreateAdd(Den, RHSign); in expandDivRem32()
819 Value *RCP_A_E = Builder.CreateAdd(RCP, E); in expandDivRem32()
852 Value *Quotient_A_One = Builder.CreateAdd(Quotient, One); in expandDivRem32()
867 Value *Remainder_A_Den = Builder.CreateAdd(Remainder, Den); in expandDivRem32()
DAMDGPUPromoteAlloca.cpp818 Value *TID = Builder.CreateAdd(Tmp0, Tmp1); in handleAlloca()
819 TID = Builder.CreateAdd(TID, TIdZ); in handleAlloca()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp1415 IRB.CreateAdd(ShadowLong, in getShadowOriginPtrUserspace()
1425 OriginLong = IRB.CreateAdd(OriginLong, in getShadowOriginPtrUserspace()
1480 Base = IRB.CreateAdd(Base, ConstantInt::get(MS.IntptrTy, ArgOffset)); in getShadowPtrForArgument()
1492 Base = IRB.CreateAdd(Base, ConstantInt::get(MS.IntptrTy, ArgOffset)); in getOriginPtrForArgument()
3938 Base = IRB.CreateAdd(Base, ConstantInt::get(MS.IntptrTy, ArgOffset)); in getShadowPtrForVAArgument()
3949 Base = IRB.CreateAdd(Base, ConstantInt::get(MS.IntptrTy, ArgOffset)); in getOriginPtrForVAArgument()
3993 IRB.CreateAdd(ConstantInt::get(MS.IntptrTy, AMD64FpEndOffset), in finalizeInstrumentation()
4013 IRB.CreateAdd(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in finalizeInstrumentation()
4030 IRB.CreateAdd(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in finalizeInstrumentation()
4104 Base = IRB.CreateAdd(Base, ConstantInt::get(MS.IntptrTy, ArgOffset)); in getShadowPtrForVAArgument()
[all …]
DAddressSanitizer.cpp989 DynamicAreaPtr = IRB.CreateAdd(IRB.CreatePtrToInt(SavedStack, IntptrTy), in unpoisonDynamicAllocasBeforeInst()
1298 return IRB.CreateAdd(Shadow, ShadowBase); in memToShadow()
1648 LastAccessedByte = IRB.CreateAdd( in createSlowPathCmp()
1754 IRB.CreateAdd(AddrLong, ConstantInt::get(IntptrTy, TypeSize / 8 - 1)), in instrumentUnusualSizeOrAlignment()
2836 Value *Ptr = IRB.CreateAdd(ShadowBase, ConstantInt::get(IntptrTy, i)); in copyToShadowInline()
2873 {IRB.CreateAdd(ShadowBase, ConstantInt::get(IntptrTy, i)), in copyToShadow()
3127 IRB.CreateAdd(LocalStackBase, ConstantInt::get(IntptrTy, Desc.Offset)), in processStaticAllocas()
3139 IRB.CreateAdd(LocalStackBase, in processStaticAllocas()
3149 IRB.CreateAdd(LocalStackBase, in processStaticAllocas()
3212 Value *SavedFlagPtrPtr = IRBPoison.CreateAdd( in processStaticAllocas()
[all …]
DGCOVProfiling.cpp834 Count = Builder.CreateAdd(Count, Builder.getInt64(1)); in emitProfileArcs()
845 Count = Builder.CreateAdd(Count, Builder.getInt64(1)); in emitProfileArcs()
1173 auto *NextJV = Builder.CreateAdd(JV, Builder.getInt32(1)); in insertCounterWriteout()
1181 auto *NextIV = Builder.CreateAdd(IV, Builder.getInt32(1)); in insertCounterWriteout()
DHWAddressSanitizer.cpp654 PtrLowBits = IRB.CreateAdd( in instrumentMemAccessInline()
981 IRB.CreateAdd(ThreadLong, ConstantInt::get(IntptrTy, 8)), WrapMask); in emitPrologue()
988 LocalDynamicShadow = IRB.CreateAdd( in emitPrologue()
DInstrProfiling.cpp213 auto *NewVal = Builder.CreateAdd(OldVal, LiveInValue); in doExtraRewritesBeforeFinalDeletion()
650 auto *Count = Builder.CreateAdd(Load, Inc->getStep()); in lowerIncrement()
DSanitizerCoverage.cpp873 IRB.CreateAdd(IRB.CreatePointerCast(FunctionGuardArray, IntptrTy), in InjectCoverageAtBlock()
884 auto Inc = IRB.CreateAdd(Load, ConstantInt::get(Int8Ty, 1)); in InjectCoverageAtBlock()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DNoFolder.h41 Instruction *CreateAdd(Constant *LHS, Constant *RHS,
43 BinaryOperator *BO = BinaryOperator::CreateAdd(LHS, RHS);
DConstantFolder.h35 Constant *CreateAdd(Constant *LHS, Constant *RHS,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLowerAtomic.cpp57 Res = Builder.CreateAdd(Orig, Val); in LowerAtomicRMWInst()
DReassociate.cpp233 static BinaryOperator *CreateAdd(Value *S1, Value *S2, const Twine &Name, in CreateAdd() function
236 return BinaryOperator::CreateAdd(S1, S2, Name, InsertBefore); in CreateAdd()
961 BinaryOperator *New = CreateAdd(Sub->getOperand(0), NegVal, "", Sub, Sub); in BreakUpSubtract()
1036 return CreateAdd(V2, V1, "reass.add", I, I); in EmitAddTreeOfValues()
1599 ? BinaryOperator::CreateAdd(MaxOccVal, MaxOccVal) in OptimizeAdd()
DSeparateConstOffsetFromGEP.cpp916 ResultPtr = Builder.CreateAdd(ResultPtr, Idx); in lowerToArithmetics()
922 ResultPtr = Builder.CreateAdd( in lowerToArithmetics()
DLowerMatrixIntrinsics.cpp678 return Builder.CreateAdd(Sum, Mul); in createMulAdd()
823 return Builder.CreateAdd(LHS, RHS); in VisitBinaryOperator()
DLoopIdiomRecognize.cpp1668 Count = Builder.CreateAdd( in transformLoopToCountable()
1681 NewCount = Builder.CreateAdd(NewCount, CntInitVal); in transformLoopToCountable()
1753 NewCount = Builder.CreateAdd(NewCount, CntInitVal); in transformLoopToPopcount()
DNaryReassociate.cpp485 NewI = BinaryOperator::CreateAdd(LHS, RHS, "", I); in tryReassociatedBinaryOp()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DIntrinsicLowering.cpp174 PartValue = Builder.CreateAdd(LHS, RHS, "ctpop.step"); in LowerCTPOP()
176 Count = Builder.CreateAdd(PartValue, Count, "ctpop.part"); in LowerCTPOP()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DTargetFolder.h48 Constant *CreateAdd(Constant *LHS, Constant *RHS,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DPHITransAddr.cpp428 BinaryOperator *Res = BinaryOperator::CreateAdd(OpVal, Inst->getOperand(1), in InsertPHITranslatedSubExpr()
DScalarEvolutionExpander.cpp1072 Builder.CreateAdd(PN, StepV, Twine(IVName) + ".iv.next"); in expandIVInc()
1476 Result = Builder.CreateAdd(Result, in expandAddRecExprLiterally()
1583 Instruction *Add = BinaryOperator::CreateAdd(CanonicalIV, One, in visitAddRecExpr()
2303 Add = Builder.CreateAdd(StartValue, MulV); in generateOverflowCheck()

12