reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/IR/DataLayout.h
  529   Type *getIntPtrType(Type *) const;

References

include/llvm/Analysis/PtrUseVisitor.h
  225     IntegerType *IntPtrTy = cast<IntegerType>(DL.getIntPtrType(I.getType()));
include/llvm/Analysis/Utils/Local.h
   31   Type *IntPtrTy = DL.getIntPtrType(GEP->getType());
lib/Analysis/ConstantFolding.cpp
  490         CE->getOperand(0)->getType() == DL.getIntPtrType(CE->getType())) {
  531       Type *CastTy = LoadTy->isPtrOrPtrVectorTy() ? DL.getIntPtrType(LoadTy) : LoadTy;
  767   Type *IntPtrTy = DL.getIntPtrType(ResultTy);
  840   Type *IntPtrTy = DL.getIntPtrType(Ptr->getType());
 1219         Type *IntPtrTy = DL.getIntPtrType(CE0->getType());
 1231         Type *IntPtrTy = DL.getIntPtrType(CE0->getOperand(0)->getType());
 1243           Type *IntPtrTy = DL.getIntPtrType(CE0->getType());
 1257           Type *IntPtrTy = DL.getIntPtrType(CE0->getOperand(0)->getType());
lib/Analysis/InstructionSimplify.cpp
  659   Type *IntPtrTy = DL.getIntPtrType(V->getType())->getScalarType();
  665   IntPtrTy = DL.getIntPtrType(V->getType())->getScalarType();
 4290           SrcTy->isPtrOrPtrVectorTy() ? Q.DL.getIntPtrType(SrcTy) : nullptr;
 4292           MidTy->isPtrOrPtrVectorTy() ? Q.DL.getIntPtrType(MidTy) : nullptr;
 4294           DstTy->isPtrOrPtrVectorTy() ? Q.DL.getIntPtrType(DstTy) : nullptr;
lib/Analysis/MemoryBuiltins.cpp
  837   IntTy = cast<IntegerType>(DL.getIntPtrType(V->getType()));
lib/Analysis/ScalarEvolution.cpp
 3791   return getDataLayout().getIntPtrType(Ty);
lib/Analysis/ScalarEvolutionExpander.cpp
  417   Type *IntPtrTy = DL.getIntPtrType(PTy);
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
 2232     Op = ConstantExpr::getIntegerCast(Op, DL.getIntPtrType(CV->getType()),
lib/CodeGen/CodeGenPrepare.cpp
 3198     Type *IntPtrTy = SQ.DL.getIntPtrType(AddrModes[0].OriginalValue->getType());
 4783     Type *IntPtrTy = DL->getIntPtrType(Addr->getType());
 4931     Type *IntPtrTy = DL->getIntPtrType(Addr->getType());
 5331       Type *IntPtrTy = DL->getIntPtrType(GEP->getType());
lib/CodeGen/GlobalISel/IRTranslator.cpp
  873   Type *OffsetIRTy = DL->getIntPtrType(LI.getPointerOperandType());
  915   Type *OffsetIRTy = DL->getIntPtrType(SI.getPointerOperandType());
 1059   Type *OffsetIRTy = DL->getIntPtrType(PtrIRTy);
 1809   Type *IntPtrIRTy = DL->getIntPtrType(AI.getType());
lib/CodeGen/IndirectBrExpandPass.cpp
  147     auto *ITy = cast<IntegerType>(DL.getIntPtrType(BA->getType()));
  174         cast<IntegerType>(DL.getIntPtrType(IBr->getAddress()->getType()));
lib/CodeGen/IntrinsicLowering.cpp
  398     Type *IntPtr = DL.getIntPtrType(Op0->getType());
lib/IR/Instructions.cpp
 2510       return DL.getIntPtrType(SrcTy)->getScalarSizeInBits() ==
 2513       return DL.getIntPtrType(DestTy)->getScalarSizeInBits() ==
lib/Target/AArch64/AArch64ISelLowering.cpp
 8809         VectorType::get(DL.getIntPtrType(EltTy), VecTy->getVectorNumElements());
 8942     Type *IntTy = DL.getIntPtrType(EltTy);
lib/Target/ARM/ARMISelLowering.cpp
16764         VectorType::get(DL.getIntPtrType(EltTy), VecTy->getVectorNumElements());
16903     Type *IntTy = DL.getIntPtrType(EltTy);
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
 2060     Op = ConstantExpr::getIntegerCast(Op, DL.getIntPtrType(CV->getType()),
lib/Transforms/IPO/GlobalOpt.cpp
 1313     Type *IntPtrTy = DL.getIntPtrType(CI->getType());
 1539       Type *IntPtrTy = DL.getIntPtrType(CI->getType());
lib/Transforms/InstCombine/InstCombineCasts.cpp
  241       SrcTy->isPtrOrPtrVectorTy() ? DL.getIntPtrType(SrcTy) : nullptr;
  243       MidTy->isPtrOrPtrVectorTy() ? DL.getIntPtrType(MidTy) : nullptr;
  245       DstTy->isPtrOrPtrVectorTy() ? DL.getIntPtrType(DstTy) : nullptr;
lib/Transforms/InstCombine/InstCombineCompares.cpp
  314     Type *IntPtrTy = DL.getIntPtrType(GEP->getType());
  483   Type *IntPtrTy = DL.getIntPtrType(GEP->getOperand(0)->getType());
 3243         DL.getIntPtrType(RHSC->getType()) == LHSI->getOperand(0)->getType())
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
  212       Type *IdxTy = IC.getDataLayout().getIntPtrType(AI.getType());
  230   Type *IntPtrTy = IC.getDataLayout().getIntPtrType(AI.getType());
lib/Transforms/Instrumentation/BoundsChecking.cpp
   75   Type *IntTy = DL.getIntPtrType(Ptr->getType());
lib/Transforms/Scalar/NaryReassociate.cpp
  422   Type *IntPtrTy = DL->getIntPtrType(GEP->getType());
lib/Transforms/Scalar/SROA.cpp
 1776       return IRB.CreateIntToPtr(IRB.CreateBitCast(V, DL.getIntPtrType(NewTy)),
 1781       return IRB.CreateIntToPtr(IRB.CreateBitCast(V, DL.getIntPtrType(NewTy)),
 1792       return IRB.CreateBitCast(IRB.CreatePtrToInt(V, DL.getIntPtrType(OldTy)),
 1797       return IRB.CreateBitCast(IRB.CreatePtrToInt(V, DL.getIntPtrType(OldTy)),
lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
  765   Type *IntPtrTy = DL->getIntPtrType(GEP->getType());
  816   Type *IntPtrTy = DL->getIntPtrType(Variadic->getType());
  888   Type *IntPtrTy = DL->getIntPtrType(Variadic->getType());
 1068   Type *IntPtrTy = DL->getIntPtrType(GEP->getType());
lib/Transforms/Scalar/StraightLineStrengthReduce.cpp
  476   IntegerType *IntPtrTy = cast<IntegerType>(DL->getIntPtrType(I->getType()));
  667       Type *IntPtrTy = DL->getIntPtrType(C.Ins->getType());
lib/Transforms/Utils/FunctionComparator.cpp
  412     TyL = DL.getIntPtrType(TyL);
  414     TyR = DL.getIntPtrType(TyR);
lib/Transforms/Utils/SimplifyCFG.cpp
  417   IntegerType *PtrTy = cast<IntegerType>(DL.getIntPtrType(V->getType()));
  717       if (PTII->getType() == DL.getIntPtrType(Ptr->getType()))
 1171         CV = Builder.CreatePtrToInt(CV, DL.getIntPtrType(CV->getType()),
 3780         CompVal, DL.getIntPtrType(CompVal->getType()), "magicptr");
lib/Transforms/Utils/SimplifyLibCalls.cpp
  586   Value *LenV = ConstantInt::get(DL.getIntPtrType(PT), Len);
  588                               ConstantInt::get(DL.getIntPtrType(PT), Len - 1));
  640   CallInst *NewCI = B.CreateMemCpy(Dst, 1, Src, 1, ConstantInt::get(DL.getIntPtrType(PT), Len));
lib/Transforms/Utils/VNCoercion.cpp
   75         StoredValTy = DL.getIntPtrType(StoredValTy);
   81         TypeToCastTo = DL.getIntPtrType(TypeToCastTo);
  105     StoredValTy = DL.getIntPtrType(StoredValTy);
  363     SrcVal = Helper.CreatePtrToInt(SrcVal, DL.getIntPtrType(SrcVal->getType()));
lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
  371     return DL.getIntPtrType(Ty);
tools/clang/lib/CodeGen/CGExpr.cpp
 1912     Ty = CGM.getTypes().getDataLayout().getIntPtrType(OrigTy);
 2173     Ty = CGM.getTypes().getDataLayout().getIntPtrType(OrigTy);
tools/clang/lib/CodeGen/CGExprConstant.cpp
 1855   auto intptrTy = CGM.getDataLayout().getIntPtrType(destPtrTy);
tools/clang/lib/CodeGen/CGExprScalar.cpp
 1267     llvm::Type *MiddleTy = CGF.CGM.getDataLayout().getIntPtrType(DstPT);
 2165     llvm::Type *MiddleTy = CGF.CGM.getDataLayout().getIntPtrType(DestLLVMTy);
 3207     index = CGF.Builder.CreateIntCast(index, DL.getIntPtrType(PtrTy), isSigned,
 4375       Src = Builder.CreatePtrToInt(Src, DL.getIntPtrType(SrcTy));
 4382     Src = Builder.CreateBitCast(Src, DL.getIntPtrType(DstTy));
 4570         Builder.CreatePtrToInt(BasePtr, DL.getIntPtrType(BasePtr->getType()));
 4572         Builder.CreatePtrToInt(GEPVal, DL.getIntPtrType(GEPVal->getType()));
 4582   auto *IntPtrTy = DL.getIntPtrType(GEP->getPointerOperandType());
 4677   llvm::Type *IntPtrTy = DL.getIntPtrType(PtrTy);