Home
last modified time | relevance | path

Searched refs:getIntPtrType (Results 1 – 25 of 49) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/
DTarget.cpp86 return wrap(unwrap(TD)->getIntPtrType(*unwrap(LLVMGetGlobalContext()))); in LLVMIntPtrType()
90 return wrap(unwrap(TD)->getIntPtrType(*unwrap(LLVMGetGlobalContext()), AS)); in LLVMIntPtrTypeForAS()
94 return wrap(unwrap(TD)->getIntPtrType(*unwrap(C))); in LLVMIntPtrTypeInContext()
98 return wrap(unwrap(TD)->getIntPtrType(*unwrap(C), AS)); in LLVMIntPtrTypeForASInContext()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DBuildLibCalls.cpp850 return emitLibCall(LibFunc_strlen, DL.getIntPtrType(Context), in emitStrLen()
873 {B.getInt8PtrTy(), B.getInt8PtrTy(), DL.getIntPtrType(Context)}, in emitStrNCmp()
918 B.getInt8PtrTy(), B.getInt8PtrTy(), DL.getIntPtrType(Context), in emitMemCpyChk()
919 DL.getIntPtrType(Context)); in emitMemCpyChk()
934 {B.getInt8PtrTy(), B.getInt32Ty(), DL.getIntPtrType(Context)}, in emitMemChr()
943 {B.getInt8PtrTy(), B.getInt8PtrTy(), DL.getIntPtrType(Context)}, in emitMemCmp()
952 {B.getInt8PtrTy(), B.getInt8PtrTy(), DL.getIntPtrType(Context)}, in emitBCmp()
1257 FWriteName, DL.getIntPtrType(Context), B.getInt8PtrTy(), in emitFWrite()
1258 DL.getIntPtrType(Context), DL.getIntPtrType(Context), File->getType()); in emitFWrite()
1264 ConstantInt::get(DL.getIntPtrType(Context), 1), File}); in emitFWrite()
[all …]
DVNCoercion.cpp75 StoredValTy = DL.getIntPtrType(StoredValTy); in coerceAvailableValueToLoadTypeHelper()
81 TypeToCastTo = DL.getIntPtrType(TypeToCastTo); in coerceAvailableValueToLoadTypeHelper()
105 StoredValTy = DL.getIntPtrType(StoredValTy); in coerceAvailableValueToLoadTypeHelper()
363 SrcVal = Helper.CreatePtrToInt(SrcVal, DL.getIntPtrType(SrcVal->getType())); in getStoreValueForLoadHelper()
DSimplifyLibCalls.cpp293 ConstantInt::get(DL.getIntPtrType(Src->getContext()), Len + 1)); in emitStrLenMemCpy()
359 ConstantInt::get(DL.getIntPtrType(CI->getContext()), Len), in optimizeStrChr()
444 ConstantInt::get(DL.getIntPtrType(CI->getContext()), in optimizeStrCmp()
454 ConstantInt::get(DL.getIntPtrType(CI->getContext()), Len2), B, DL, in optimizeStrCmp()
460 ConstantInt::get(DL.getIntPtrType(CI->getContext()), Len1), B, DL, in optimizeStrCmp()
522 ConstantInt::get(DL.getIntPtrType(CI->getContext()), Len2), B, DL, in optimizeStrNCmp()
529 ConstantInt::get(DL.getIntPtrType(CI->getContext()), Len1), B, DL, in optimizeStrNCmp()
566 ConstantInt::get(DL.getIntPtrType(CI->getContext()), Len)); in optimizeStrCpy()
587 Value *LenV = ConstantInt::get(DL.getIntPtrType(PT), Len); in optimizeStpCpy()
589 ConstantInt::get(DL.getIntPtrType(PT), Len - 1)); in optimizeStpCpy()
[all …]
DFunctionComparator.cpp412 TyL = DL.getIntPtrType(TyL); in cmpTypes()
414 TyR = DL.getIntPtrType(TyR); in cmpTypes()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DIndirectBrExpandPass.cpp148 auto *ITy = cast<IntegerType>(DL.getIntPtrType(BA->getType())); in runOnFunction()
175 cast<IntegerType>(DL.getIntPtrType(IBr->getAddress()->getType())); in runOnFunction()
DIntrinsicLowering.cpp339 Type *IntPtr = DL.getIntPtrType(Context); in LowerIntrinsicCall()
350 Type *IntPtr = DL.getIntPtrType(Context); in LowerIntrinsicCall()
362 Type *IntPtr = DL.getIntPtrType(Op0->getType()); in LowerIntrinsicCall()
DLowerEmuTLS.cpp115 IntegerType *WordType = DL.getIntPtrType(C); in addEmuTlsVar()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/
DXCoreSelectionDAGInfo.cpp29 Entry.Ty = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemcpy()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonSelectionDAGInfo.cpp36 Entry.Ty = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemcpy()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DSeparateConstOffsetFromGEP.cpp766 Type *IntPtrTy = DL->getIntPtrType(GEP->getType()); in canonicalizeArrayIndicesToPointerSize()
817 Type *IntPtrTy = DL->getIntPtrType(Variadic->getType()); in lowerToSingleIndexGEPs()
889 Type *IntPtrTy = DL->getIntPtrType(Variadic->getType()); in lowerToArithmetics()
1069 Type *IntPtrTy = DL->getIntPtrType(GEP->getType()); in splitGEP()
DStraightLineStrengthReduce.cpp477 IntegerType *IntPtrTy = cast<IntegerType>(DL->getIntPtrType(I->getType())); in allocateCandidatesAndFindBasisForGEP()
668 Type *IntPtrTy = DL->getIntPtrType(C.Ins->getType()); in rewriteCandidateWithBasis()
DNaryReassociate.cpp423 Type *IntPtrTy = DL->getIntPtrType(GEP->getType()); in tryReassociateGEPAtIndex()
DMergeICmps.cpp655 ConstantInt::get(DL.getIntPtrType(Context), TotalSizeBits / 8), Builder, in mergeComparisons()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DDataLayout.h525 IntegerType *getIntPtrType(LLVMContext &C, unsigned AddressSpace = 0) const;
529 Type *getIntPtrType(Type *) const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DBoundsChecking.cpp76 Type *IntTy = DL.getIntPtrType(Ptr->getType()); in getBoundsCheckCond()
DThreadSanitizer.cpp202 IntptrTy = DL.getIntPtrType(M.getContext()); in initialize()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMSelectionDAGInfo.cpp76 Entry.Ty = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitSpecializedLibcall()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DDataLayout.cpp769 IntegerType *DataLayout::getIntPtrType(LLVMContext &C, in getIntPtrType() function in DataLayout
774 Type *DataLayout::getIntPtrType(Type *Ty) const { in getIntPtrType() function in DataLayout
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DConstantFolding.cpp492 CE->getOperand(0)->getType() == DL.getIntPtrType(CE->getType())) { in ReadDataFromGlobal()
533 Type *CastTy = LoadTy->isPtrOrPtrVectorTy() ? DL.getIntPtrType(LoadTy) : LoadTy; in FoldReinterpretLoadFromConstPtr()
1221 Type *IntPtrTy = DL.getIntPtrType(CE0->getType()); in ConstantFoldCompareInstOperands()
1233 Type *IntPtrTy = DL.getIntPtrType(CE0->getOperand(0)->getType()); in ConstantFoldCompareInstOperands()
1245 Type *IntPtrTy = DL.getIntPtrType(CE0->getType()); in ConstantFoldCompareInstOperands()
1259 Type *IntPtrTy = DL.getIntPtrType(CE0->getOperand(0)->getType()); in ConstantFoldCompareInstOperands()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86SelectionDAGInfo.cpp78 Type *IntPtrTy = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemset()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp242 SrcTy->isPtrOrPtrVectorTy() ? DL.getIntPtrType(SrcTy) : nullptr; in isEliminableCastPair()
244 MidTy->isPtrOrPtrVectorTy() ? DL.getIntPtrType(MidTy) : nullptr; in isEliminableCastPair()
246 DstTy->isPtrOrPtrVectorTy() ? DL.getIntPtrType(DstTy) : nullptr; in isEliminableCastPair()
1790 Type *Ty = DL.getIntPtrType(CI.getContext(), AS); in visitIntToPtr()
1840 Type *PtrTy = DL.getIntPtrType(CI.getContext(), AS); in visitPtrToInt()
DInstCombineLoadStoreAlloca.cpp212 Type *IdxTy = IC.getDataLayout().getIntPtrType(AI.getType()); in simplifyAllocaArraySize()
230 Type *IntPtrTy = IC.getDataLayout().getIntPtrType(AI.getType()); in simplifyAllocaArraySize()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DIRTranslator.cpp874 Type *OffsetIRTy = DL->getIntPtrType(LI.getPointerOperandType()); in translateLoad()
918 Type *OffsetIRTy = DL->getIntPtrType(SI.getPointerOperandType()); in translateStore()
1064 Type *OffsetIRTy = DL->getIntPtrType(PtrIRTy); in translateGetElementPtr()
1826 Type *IntPtrIRTy = DL->getIntPtrType(AI.getType()); in translateAlloca()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DLoopVectorizationLegality.cpp371 return DL.getIntPtrType(Ty); in convertPointerToIntegerType()

12