| /openbsd-src/gnu/llvm/llvm/lib/Target/ |
| H A D | Target.cpp | 86 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()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | IndirectBrExpandPass.cpp | 158 auto *ITy = cast<IntegerType>(DL.getIntPtrType(BA->getType())); in runOnFunction() 197 cast<IntegerType>(DL.getIntPtrType(IBr->getAddress()->getType())); in runOnFunction()
|
| 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 | 116 IntegerType *WordType = DL.getIntPtrType(C); in addEmuTlsVar()
|
| /openbsd-src/gnu/llvm/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() 420 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 | 345 ConstantInt::get(DL.getIntPtrType(Src->getContext()), Len + 1)); in emitStrLenMemCpy() 536 ConstantInt::get(DL.getIntPtrType(CI->getContext()), in optimizeStrCmp() 547 ConstantInt::get(DL.getIntPtrType(CI->getContext()), Len2), in optimizeStrCmp() 554 ConstantInt::get(DL.getIntPtrType(CI->getContext()), Len1), in optimizeStrCmp() 625 ConstantInt::get(DL.getIntPtrType(CI->getContext()), Len2), in optimizeStrNCmp() 633 ConstantInt::get(DL.getIntPtrType(CI->getContext()), Len1), in optimizeStrNCmp() 670 ConstantInt::get(DL.getIntPtrType(CI->getContext()), Len)); in optimizeStrCpy() 696 Value *LenV = ConstantInt::get(DL.getIntPtrType(PT), Len); in optimizeStpCpy() 698 B.getInt8Ty(), Dst, ConstantInt::get(DL.getIntPtrType(PT), Len - 1)); in optimizeStpCpy() 771 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 | 436 TyL = DL.getIntPtrType(TyL); in cmpTypes() 438 TyR = DL.getIntPtrType(TyR); in cmpTypes()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/XCore/ |
| H A D | XCoreSelectionDAGInfo.cpp | 29 Entry.Ty = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemcpy()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/ |
| H A D | HexagonSelectionDAGInfo.cpp | 36 Entry.Ty = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitTargetCodeForMemcpy()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/ |
| H A D | RISCVGatherScatterLowering.cpp | 380 Type *VecIntPtrTy = DL->getIntPtrType(GEP->getType()); in determineBaseAndStride() 398 Type *IntPtrTy = DL->getIntPtrType(BasePtr->getType()); in determineBaseAndStride() 438 Type *IntPtrTy = DL->getIntPtrType(BasePtr->getType()); in determineBaseAndStride()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/IR/ |
| H A D | DataLayout.h | 561 IntegerType *getIntPtrType(LLVMContext &C, unsigned AddressSpace = 0) const; 565 Type *getIntPtrType(Type *) const;
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
| H A D | SeparateConstOffsetFromGEP.cpp | 797 Type *IntPtrTy = DL->getIntPtrType(GEP->getType()); in canonicalizeArrayIndicesToPointerSize() 852 Type *IntPtrTy = DL->getIntPtrType(Variadic->getType()); in lowerToSingleIndexGEPs() 924 Type *IntPtrTy = DL->getIntPtrType(Variadic->getType()); in lowerToArithmetics() 1107 Type *IntPtrTy = DL->getIntPtrType(GEP->getType()); in splitGEP()
|
| H A D | StraightLineStrengthReduce.cpp | 487 IntegerType *IntPtrTy = cast<IntegerType>(DL->getIntPtrType(I->getType())); in allocateCandidatesAndFindBasisForGEP() 678 Type *IntPtrTy = DL->getIntPtrType(C.Ins->getType()); in rewriteCandidateWithBasis()
|
| H A D | NaryReassociate.cpp | 452 Type *IntPtrTy = DL->getIntPtrType(GEP->getType()); in tryReassociateGEPAtIndex()
|
| /openbsd-src/gnu/llvm/llvm/bindings/ocaml/target/ |
| H A D | llvm_target.mli | 79 See the method [llvm::DataLayout::getIntPtrType]. *) 88 See the method [llvm::DataLayout::getIntPtrType]. *)
|
| /openbsd-src/gnu/llvm/clang/lib/Frontend/ |
| H A D | InitPreprocessor.cpp | 993 DefineTypeSizeAndWidth("__INTPTR", TI.getIntPtrType(), TI, Builder); in InitializePredefinedMacros() 1027 DefineType("__INTPTR_TYPE__", TI.getIntPtrType(), Builder); in InitializePredefinedMacros() 1028 DefineFmt("__INTPTR", TI.getIntPtrType(), TI, Builder); in InitializePredefinedMacros() 1043 TI.getTypeWidth(TI.getIntPtrType()) && in InitializePredefinedMacros()
|
| /openbsd-src/gnu/llvm/clang/lib/Basic/Targets/ |
| H A D | NVPTX.cpp | 123 IntPtrType = HostTarget->getIntPtrType(); in NVPTXTargetInfo()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/ |
| H A D | BoundsChecking.cpp | 74 Type *IntTy = DL.getIntPtrType(Ptr->getType()); in getBoundsCheckCond()
|
| /openbsd-src/gnu/llvm/llvm/lib/IR/ |
| H A D | DataLayout.cpp | 849 IntegerType *DataLayout::getIntPtrType(LLVMContext &C, in getIntPtrType() function in DataLayout 854 Type *DataLayout::getIntPtrType(Type *Ty) const { in getIntPtrType() function in DataLayout
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/ARM/ |
| H A D | ARMSelectionDAGInfo.cpp | 91 Entry.Ty = DAG.getDataLayout().getIntPtrType(*DAG.getContext()); in EmitSpecializedLibcall()
|
| /openbsd-src/gnu/llvm/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() 1236 Type *IntPtrTy = DL.getIntPtrType(CE0->getType()); in ConstantFoldCompareInstOperands() 1248 Type *IntPtrTy = DL.getIntPtrType(CE0->getOperand(0)->getType()); in ConstantFoldCompareInstOperands() 1260 Type *IntPtrTy = DL.getIntPtrType(CE0->getType()); in ConstantFoldCompareInstOperands() 1274 Type *IntPtrTy = DL.getIntPtrType(CE0->getOperand(0)->getType()); in ConstantFoldCompareInstOperands() 1424 CE->getOperand(0), DL.getIntPtrType(CE->getType()), in ConstantFoldCastOperand()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCasts.cpp | 274 SrcTy->isPtrOrPtrVectorTy() ? DL.getIntPtrType(SrcTy) : nullptr; in isEliminableCastPair() 276 MidTy->isPtrOrPtrVectorTy() ? DL.getIntPtrType(MidTy) : nullptr; in isEliminableCastPair() 278 DstTy->isPtrOrPtrVectorTy() ? DL.getIntPtrType(DstTy) : nullptr; in isEliminableCastPair() 2041 DL.getIntPtrType(CI.getContext(), AS)); in visitIntToPtr() 2087 SrcTy->getWithNewType(DL.getIntPtrType(CI.getContext(), AS)); in visitPtrToInt()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/GlobalISel/ |
| H A D | LoadStoreOpt.cpp | 642 DL.getIntPtrType(MF->getFunction().getContext(), AddrSpace); in initializeStoreMergeTargetInfo()
|