/freebsd/contrib/llvm-project/llvm/lib/Target/ |
H A D | Target.cpp | 82 return wrap(unwrap(TD)->getIntPtrType(*unwrap(LLVMGetGlobalContext()))); in LLVMIntPtrType() 86 return wrap(unwrap(TD)->getIntPtrType(*unwrap(LLVMGetGlobalContext()), AS)); in LLVMIntPtrTypeForAS() 90 return wrap(unwrap(TD)->getIntPtrType(*unwrap(C))); in LLVMIntPtrTypeInContext() 94 return wrap(unwrap(TD)->getIntPtrType(*unwrap(C), AS)); in LLVMIntPtrTypeForASInContext()
|
/freebsd/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 | 40 Type *SizeTy = M.getDataLayout().getIntPtrType(C); in insertCall()
|
H A D | SimplifyLibCalls.cpp | 395 ConstantInt::get(DL.getIntPtrType(Src->getContext()), Len + 1)); in emitStrLenMemCpy() 586 ConstantInt::get(DL.getIntPtrType(CI->getContext()), in optimizeStrCmp() 597 ConstantInt::get(DL.getIntPtrType(CI->getContext()), Len2), in optimizeStrCmp() 604 ConstantInt::get(DL.getIntPtrType(CI->getContext()), Len1), in optimizeStrCmp() 675 ConstantInt::get(DL.getIntPtrType(CI->getContext()), Len2), in optimizeStrNCmp() 683 ConstantInt::get(DL.getIntPtrType(CI->getContext()), Len1), in optimizeStrNCmp() 720 ConstantInt::get(DL.getIntPtrType(CI->getContext()), Len)); in optimizeStrCpy() 746 Value *LenV = ConstantInt::get(DL.getIntPtrType(PT), Len); in optimizeStpCpy() 748 B.getInt8Ty(), Dst, ConstantInt::get(DL.getIntPtrType(PT), Len - 1)); in optimizeStpCpy() 821 ConstantInt::get(DL.getIntPtrType(PT), NBytes)); in optimizeStrLCpy() [all …]
|
H A D | RelLookupTableConverter.cpp | 113 Type *IntPtrTy = M.getDataLayout().getIntPtrType(M.getContext()); in createRelLookupTable()
|
H A D | FunctionComparator.cpp | 529 TyL = DL.getIntPtrType(TyL); in cmpTypes() 531 TyR = DL.getIntPtrType(TyR); in cmpTypes()
|
/freebsd/contrib/llvm-project/llvm/lib/Frontend/Offloading/ |
H A D | Utility.cpp | 26 PointerType::getUnqual(C), M.getDataLayout().getIntPtrType(C), in getEntryTy() 39 Type *SizeTy = M.getDataLayout().getIntPtrType(M.getContext()); in getOffloadingEntryInitializer()
|
H A D | OffloadWrapper.cpp | 32 return M.getDataLayout().getIntPtrType(M.getContext()); in getSizeTTy()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVGatherScatterLowering.cpp | 338 Type *IntPtrTy = DL->getIntPtrType(BasePtr->getType()); in determineBaseAndStride() 410 Type *VecIntPtrTy = DL->getIntPtrType(GEP->getType()); in determineBaseAndStride() 435 Type *IntPtrTy = DL->getIntPtrType(BasePtr->getType()); in determineBaseAndStride() 475 Type *IntPtrTy = DL->getIntPtrType(BasePtr->getType()); in determineBaseAndStride()
|
/freebsd/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 | 348 Type *IntPtr = DL.getIntPtrType(Context); in LowerIntrinsicCall() 359 Type *IntPtr = DL.getIntPtrType(Context); in LowerIntrinsicCall() 371 Type *IntPtr = DL.getIntPtrType(Op0->getType()); in LowerIntrinsicCall()
|
H A D | LowerEmuTLS.cpp | 139 IntegerType *WordType = DL.getIntPtrType(C); in addEmuTlsVar()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/XCore/ |
H A D | XCoreSelectionDAGInfo.cpp | 29 Entry.Ty = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemcpy()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonSelectionDAGInfo.cpp | 36 Entry.Ty = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemcpy()
|
/freebsd/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/contrib/llvm-project/clang/lib/Basic/Targets/ |
H A D | NVPTX.cpp | 130 IntPtrType = HostTarget->getIntPtrType(); in NVPTXTargetInfo()
|
/freebsd/contrib/llvm-project/clang/lib/Frontend/ |
H A D | InitPreprocessor.cpp | 1132 DefineTypeSizeAndWidth("__INTPTR", TI.getIntPtrType(), TI, Builder); in InitializePredefinedMacros() 1167 DefineType("__INTPTR_TYPE__", TI.getIntPtrType(), Builder); in InitializePredefinedMacros() 1168 DefineFmt(LangOpts, "__INTPTR", TI.getIntPtrType(), TI, Builder); in InitializePredefinedMacros() 1185 TI.getTypeWidth(TI.getIntPtrType()) && in InitializePredefinedMacros()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMSelectionDAGInfo.cpp | 90 Entry.Ty = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitSpecializedLibcall()
|
/freebsd/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/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64SelectionDAGInfo.cpp | 131 SizeEntry.Ty = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitStreamingCompatibleMemLibCall()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaPPC.cpp | 97 bool IsTarget64Bit = TI.getTypeWidth(TI.getIntPtrType()) == 64; in CheckPPCBuiltinFunctionCall()
|
/freebsd/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() 1192 Type *IntPtrTy = DL.getIntPtrType(CE0->getType()); in ConstantFoldCompareInstOperands() 1205 Type *IntPtrTy = DL.getIntPtrType(CE0->getOperand(0)->getType()); in ConstantFoldCompareInstOperands() 1217 Type *IntPtrTy = DL.getIntPtrType(CE0->getType()); in ConstantFoldCompareInstOperands() 1232 Type *IntPtrTy = DL.getIntPtrType(CE0->getOperand(0)->getType()); in ConstantFoldCompareInstOperands() 1400 DL.getIntPtrType(CE->getType()), in ConstantFoldCastOperand()
|
/freebsd/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() 2017 DL.getIntPtrType(CI.getContext(), AS)); in visitIntToPtr() 2040 SrcTy->getWithNewType(DL.getIntPtrType(CI.getContext(), AS)); in visitPtrToInt()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGExprScalar.cpp | 1550 llvm::Type *MiddleTy = CGF.CGM.getDataLayout().getIntPtrType(DstPT); in EmitScalarConversion() 2516 llvm::Type *MiddleTy = CGF.CGM.getDataLayout().getIntPtrType(DestLLVMTy); in VisitCastExpr() 5427 Src = Builder.CreatePtrToInt(Src, DL.getIntPtrType(SrcTy)); in createCastsForTypeOfSameSize() 5434 Src = Builder.CreateBitCast(Src, DL.getIntPtrType(DstTy)); in createCastsForTypeOfSameSize() 5638 Builder.CreatePtrToInt(BasePtr, DL.getIntPtrType(BasePtr->getType())); in EmitGEPOffsetInBytes() 5640 Builder.CreatePtrToInt(GEPVal, DL.getIntPtrType(GEPVal->getType())); in EmitGEPOffsetInBytes() 5650 auto *IntPtrTy = DL.getIntPtrType(GEP->getPointerOperandType()); in EmitGEPOffsetInBytes() 5745 llvm::Type *IntPtrTy = DL.getIntPtrType(PtrTy); in EmitCheckedInBoundsGEP()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | ThreadSanitizer.cpp | 200 IntptrTy = DL.getIntPtrType(Ctx); in initialize()
|