| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ |
| H A D | Target.cpp | 81 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 D | Utility.cpp | 25 PointerType::getUnqual(C), M.getDataLayout().getIntPtrType(C), in getEntryTy() 37 Type *SizeTy = M.getDataLayout().getIntPtrType(M.getContext()); in getOffloadingEntryInitializer()
|
| H A D | OffloadWrapper.cpp | 32 return M.getDataLayout().getIntPtrType(M.getContext()); in getSizeTTy()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | VNCoercion.cpp | 98 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 D | EntryExitInstrumenter.cpp | 37 Type *SizeTy = M.getDataLayout().getIntPtrType(C); in insertCall()
|
| H A D | RelLookupTableConverter.cpp | 113 Type *IntPtrTy = M.getDataLayout().getIntPtrType(M.getContext()); in createRelLookupTable()
|
| H A D | SimplifyLibCalls.cpp | 386 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 D | FunctionComparator.cpp | 509 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 D | RISCVGatherScatterLowering.cpp | 338 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 D | IndirectBrExpandPass.cpp | 165 auto *ITy = cast<IntegerType>(DL.getIntPtrType(BA->getType())); in runImpl() 204 cast<IntegerType>(DL.getIntPtrType(IBr->getAddress()->getType())); in runImpl()
|
| H A D | IntrinsicLowering.cpp | 337 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 D | LowerEmuTLS.cpp | 139 IntegerType *WordType = DL.getIntPtrType(C); in addEmuTlsVar()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/XCore/ |
| H A D | XCoreSelectionDAGInfo.cpp | 29 Entry.Ty = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemcpy()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonSelectionDAGInfo.cpp | 36 Entry.Ty = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemcpy()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | DataLayout.h | 553 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 D | NVPTX.cpp | 125 IntPtrType = HostTarget->getIntPtrType(); in NVPTXTargetInfo()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | InitPreprocessor.cpp | 1042 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 D | ARMSelectionDAGInfo.cpp | 90 Entry.Ty = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitSpecializedLibcall()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | DataLayout.cpp | 878 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 D | ConstantFolding.cpp | 536 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 D | InstCombineCasts.cpp | 135 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 D | CGExprScalar.cpp | 1398 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 D | TargetInfo.h | 388 IntType getIntPtrType() const { return IntPtrType; } in getIntPtrType() function
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | ThreadSanitizer.cpp | 201 IntptrTy = DL.getIntPtrType(Ctx); in initialize()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | SeparateConstOffsetFromGEP.cpp | 928 Type *IntPtrTy = DL->getIntPtrType(Variadic->getType()); in lowerToArithmetics()
|