Home
last modified time | relevance | path

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

123

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/
H A DTarget.cpp81 return wrap(unwrap(TD)->getIntPtrType(*unwrap(LLVMGetGlobalContext()))); in LLVMIntPtrType()
85 return wrap(unwrap(TD)->getIntPtrType(*unwrap(LLVMGetGlobalContext()), AS)); in LLVMIntPtrTypeForAS()
89 return wrap(unwrap(TD)->getIntPtrType(*unwrap(C))); in LLVMIntPtrTypeInContext()
93 return wrap(unwrap(TD)->getIntPtrType(*unwrap(C), AS)); in LLVMIntPtrTypeForASInContext()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Frontend/Offloading/
H A DUtility.cpp25 PointerType::getUnqual(C), M.getDataLayout().getIntPtrType(C), in getEntryTy()
37 Type *SizeTy = M.getDataLayout().getIntPtrType(M.getContext()); in getOffloadingEntryInitializer()
H A DOffloadWrapper.cpp32 return M.getDataLayout().getIntPtrType(M.getContext()); in getSizeTTy()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DVNCoercion.cpp98 StoredValTy = DL.getIntPtrType(StoredValTy); in coerceAvailableValueToLoadType()
104 TypeToCastTo = DL.getIntPtrType(TypeToCastTo); in coerceAvailableValueToLoadType()
127 StoredValTy = DL.getIntPtrType(StoredValTy); in coerceAvailableValueToLoadType()
314 Builder.CreatePtrToInt(SrcVal, DL.getIntPtrType(SrcVal->getType())); in getStoreValueForLoadHelper()
H A DEntryExitInstrumenter.cpp37 Type *SizeTy = M.getDataLayout().getIntPtrType(C); in insertCall()
H A DRelLookupTableConverter.cpp113 Type *IntPtrTy = M.getDataLayout().getIntPtrType(M.getContext()); in createRelLookupTable()
H A DSimplifyLibCalls.cpp386 ConstantInt::get(DL.getIntPtrType(Src->getContext()), Len + 1)); in emitStrLenMemCpy()
577 ConstantInt::get(DL.getIntPtrType(CI->getContext()), in optimizeStrCmp()
588 ConstantInt::get(DL.getIntPtrType(CI->getContext()), Len2), in optimizeStrCmp()
595 ConstantInt::get(DL.getIntPtrType(CI->getContext()), Len1), in optimizeStrCmp()
737 Value *LenV = ConstantInt::get(DL.getIntPtrType(PT), Len); in optimizeStpCpy()
739 B.getInt8Ty(), Dst, ConstantInt::get(DL.getIntPtrType(PT), Len - 1)); in optimizeStpCpy()
812 ConstantInt::get(DL.getIntPtrType(PT), NBytes)); in optimizeStrLCpy()
911 ConstantInt::get(DL.getIntPtrType(PT), N)); in optimizeStringNCpy()
3064 ConstantInt::get(DL.getIntPtrType(CI->getContext()), in optimizeSPrintFString()
3102 ConstantInt::get(DL.getIntPtrType(CI->getContext()), SrcLen)); in optimizeSPrintFString()
[all …]
H A DFunctionComparator.cpp509 TyL = DL.getIntPtrType(TyL); in cmpTypes()
511 TyR = DL.getIntPtrType(TyR); in cmpTypes()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVGatherScatterLowering.cpp338 Type *IntPtrTy = DL->getIntPtrType(BasePtr->getType()); in determineBaseAndStride()
391 Type *VecIntPtrTy = DL->getIntPtrType(GEP->getType()); in determineBaseAndStride()
416 Type *IntPtrTy = DL->getIntPtrType(BasePtr->getType()); in determineBaseAndStride()
456 Type *IntPtrTy = DL->getIntPtrType(BasePtr->getType()); in determineBaseAndStride()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DIndirectBrExpandPass.cpp165 auto *ITy = cast<IntegerType>(DL.getIntPtrType(BA->getType())); in runImpl()
204 cast<IntegerType>(DL.getIntPtrType(IBr->getAddress()->getType())); in runImpl()
H A DIntrinsicLowering.cpp337 Type *IntPtr = DL.getIntPtrType(Context); in LowerIntrinsicCall()
348 Type *IntPtr = DL.getIntPtrType(Context); in LowerIntrinsicCall()
360 Type *IntPtr = DL.getIntPtrType(Op0->getType()); in LowerIntrinsicCall()
H A DLowerEmuTLS.cpp139 IntegerType *WordType = DL.getIntPtrType(C); in addEmuTlsVar()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreSelectionDAGInfo.cpp29 Entry.Ty = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemcpy()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonSelectionDAGInfo.cpp36 Entry.Ty = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemcpy()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DDataLayout.h553 IntegerType *getIntPtrType(LLVMContext &C, unsigned AddressSpace = 0) const;
557 Type *getIntPtrType(Type *) const;
/freebsd-14.2/contrib/llvm-project/clang/lib/Basic/Targets/
H A DNVPTX.cpp125 IntPtrType = HostTarget->getIntPtrType(); in NVPTXTargetInfo()
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/
H A DInitPreprocessor.cpp1042 DefineTypeSizeAndWidth("__INTPTR", TI.getIntPtrType(), TI, Builder); in InitializePredefinedMacros()
1076 DefineType("__INTPTR_TYPE__", TI.getIntPtrType(), Builder); in InitializePredefinedMacros()
1077 DefineFmt("__INTPTR", TI.getIntPtrType(), TI, Builder); in InitializePredefinedMacros()
1092 TI.getTypeWidth(TI.getIntPtrType()) && in InitializePredefinedMacros()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMSelectionDAGInfo.cpp90 Entry.Ty = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitSpecializedLibcall()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DDataLayout.cpp878 IntegerType *DataLayout::getIntPtrType(LLVMContext &C, in getIntPtrType() function in DataLayout
883 Type *DataLayout::getIntPtrType(Type *Ty) const { in getIntPtrType() function in DataLayout
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp536 CE->getOperand(0)->getType() == DL.getIntPtrType(CE->getType())) { in ReadDataFromGlobal()
571 Type *CastTy = LoadTy->isPtrOrPtrVectorTy() ? DL.getIntPtrType(LoadTy) : LoadTy; in FoldReinterpretLoadFromConst()
1207 Type *IntPtrTy = DL.getIntPtrType(CE0->getType()); in ConstantFoldCompareInstOperands()
1220 Type *IntPtrTy = DL.getIntPtrType(CE0->getOperand(0)->getType()); in ConstantFoldCompareInstOperands()
1232 Type *IntPtrTy = DL.getIntPtrType(CE0->getType()); in ConstantFoldCompareInstOperands()
1247 Type *IntPtrTy = DL.getIntPtrType(CE0->getOperand(0)->getType()); in ConstantFoldCompareInstOperands()
1397 DL.getIntPtrType(CE->getType()), in ConstantFoldCastOperand()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp135 SrcTy->isPtrOrPtrVectorTy() ? DL.getIntPtrType(SrcTy) : nullptr; in isEliminableCastPair()
137 MidTy->isPtrOrPtrVectorTy() ? DL.getIntPtrType(MidTy) : nullptr; in isEliminableCastPair()
139 DstTy->isPtrOrPtrVectorTy() ? DL.getIntPtrType(DstTy) : nullptr; in isEliminableCastPair()
1941 DL.getIntPtrType(CI.getContext(), AS)); in visitIntToPtr()
1964 SrcTy->getWithNewType(DL.getIntPtrType(CI.getContext(), AS)); in visitPtrToInt()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprScalar.cpp1398 llvm::Type *MiddleTy = CGF.CGM.getDataLayout().getIntPtrType(DstPT); in EmitScalarConversion()
2335 llvm::Type *MiddleTy = CGF.CGM.getDataLayout().getIntPtrType(DestLLVMTy); in VisitCastExpr()
5087 Src = Builder.CreatePtrToInt(Src, DL.getIntPtrType(SrcTy)); in createCastsForTypeOfSameSize()
5094 Src = Builder.CreateBitCast(Src, DL.getIntPtrType(DstTy)); in createCastsForTypeOfSameSize()
5298 Builder.CreatePtrToInt(BasePtr, DL.getIntPtrType(BasePtr->getType())); in EmitGEPOffsetInBytes()
5300 Builder.CreatePtrToInt(GEPVal, DL.getIntPtrType(GEPVal->getType())); in EmitGEPOffsetInBytes()
5310 auto *IntPtrTy = DL.getIntPtrType(GEP->getPointerOperandType()); in EmitGEPOffsetInBytes()
5405 llvm::Type *IntPtrTy = DL.getIntPtrType(PtrTy); in EmitCheckedInBoundsGEP()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DTargetInfo.h388 IntType getIntPtrType() const { return IntPtrType; } in getIntPtrType() function
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp201 IntptrTy = DL.getIntPtrType(Ctx); in initialize()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSeparateConstOffsetFromGEP.cpp928 Type *IntPtrTy = DL->getIntPtrType(Variadic->getType()); in lowerToArithmetics()

123