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

Declarations

include/llvm/IR/DataLayout.h
  525   IntegerType *getIntPtrType(LLVMContext &C, unsigned AddressSpace = 0) const;

References

include/llvm/IR/IRBuilder.h
  442     return DL.getIntPtrType(Context, AddrSpace);
lib/Analysis/InlineCost.cpp
 1679   Type *IntPtrTy = DL.getIntPtrType(V->getContext(), AS);
lib/Analysis/TargetLibraryInfo.cpp
  638   Type *SizeTTy = DL ? DL->getIntPtrType(Ctx, /*AS=*/0) : nullptr;
lib/CodeGen/AtomicExpandPass.cpp
  660   Value *AddrInt = Builder.CreatePtrToInt(Addr, DL.getIntPtrType(Ctx));
 1697     Args.push_back(ConstantInt::get(DL.getIntPtrType(Ctx), Size));
lib/CodeGen/IntrinsicLowering.cpp
  375     Type *IntPtr = DL.getIntPtrType(Context);
  386     Type *IntPtr = DL.getIntPtrType(Context);
lib/CodeGen/LowerEmuTLS.cpp
  114   IntegerType *WordType = DL.getIntPtrType(C);
lib/CodeGen/SafeStack.cpp
  210         IntPtrTy(DL.getIntPtrType(F.getContext())),
lib/CodeGen/SelectionDAG/FastISel.cpp
  414         Constant::getNullValue(DL.getIntPtrType(V->getContext())));
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
 6216   Entry.Ty = getDataLayout().getIntPtrType(*getContext());
 6244   Entry.Ty = getDataLayout().getIntPtrType(*getContext());
 6320   Entry.Ty = getDataLayout().getIntPtrType(*getContext());
 6348   Entry.Ty = getDataLayout().getIntPtrType(*getContext());
 6421   Entry.Ty = getDataLayout().getIntPtrType(*getContext());
 6448   Entry.Ty = getDataLayout().getIntPtrType(*getContext());
lib/Target/ARM/ARMSelectionDAGInfo.cpp
   76   Entry.Ty = DAG.getDataLayout().getIntPtrType(*DAG.getContext());
lib/Target/Hexagon/HexagonSelectionDAGInfo.cpp
   36   Entry.Ty = DAG.getDataLayout().getIntPtrType(*DAG.getContext());
lib/Target/PowerPC/PPCISelLowering.cpp
 3154   Type *IntPtrTy = DAG.getDataLayout().getIntPtrType(*DAG.getContext());
lib/Target/Target.cpp
   86   return wrap(unwrap(TD)->getIntPtrType(*unwrap(LLVMGetGlobalContext())));
   90   return wrap(unwrap(TD)->getIntPtrType(*unwrap(LLVMGetGlobalContext()), AS));
   94   return wrap(unwrap(TD)->getIntPtrType(*unwrap(C)));
   98   return wrap(unwrap(TD)->getIntPtrType(*unwrap(C), AS));
lib/Target/X86/X86FastISel.cpp
  661     Val = Constant::getNullValue(DL.getIntPtrType(Val->getContext()));
 1399     Op1 = Constant::getNullValue(DL.getIntPtrType(Op0->getContext()));
lib/Target/X86/X86SelectionDAGInfo.cpp
   78       Type *IntPtrTy = DAG.getDataLayout().getIntPtrType(*DAG.getContext());
lib/Target/XCore/XCoreISelLowering.cpp
  465   Type *IntPtrTy = DAG.getDataLayout().getIntPtrType(Context);
  516   Type *IntPtrTy = DAG.getDataLayout().getIntPtrType(Context);
lib/Target/XCore/XCoreSelectionDAGInfo.cpp
   29     Entry.Ty = DAG.getDataLayout().getIntPtrType(*DAG.getContext());
lib/Transforms/IPO/LowerTypeTests.cpp
  396   IntegerType *IntPtrTy = M.getDataLayout().getIntPtrType(M.getContext(), 0);
lib/Transforms/IPO/WholeProgramDevirt.cpp
  482         IntPtrTy(M.getDataLayout().getIntPtrType(M.getContext(), 0)),
lib/Transforms/InstCombine/InstCombineCasts.cpp
 1764     Type *Ty = DL.getIntPtrType(CI.getContext(), AS);
 1814   Type *PtrTy = DL.getIntPtrType(CI.getContext(), AS);
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
  554   IntptrTy = DL.getIntPtrType(*Ctx);
lib/Transforms/Instrumentation/ThreadSanitizer.cpp
  201   IntptrTy = DL.getIntPtrType(M.getContext());
lib/Transforms/Scalar/ConstantHoisting.cpp
  405   IntegerType *PtrIntTy = DL->getIntPtrType(*Ctx, GVPtrTy->getAddressSpace());
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
 2086   Type *CmpFuncSizeTy = DL->getIntPtrType(SE->getContext());
 2182   Type *CmpFuncSizeTy = DL->getIntPtrType(Context);
 2625     Type *CmpFuncSizeTy = DL->getIntPtrType(Builder.getContext());
lib/Transforms/Scalar/MergeICmps.cpp
  654         ConstantInt::get(DL.getIntPtrType(Context), TotalSizeBits / 8), Builder,
lib/Transforms/Utils/BuildLibCalls.cpp
  850   return emitLibCall(LibFunc_strlen, DL.getIntPtrType(Context),
  873       {B.getInt8PtrTy(), B.getInt8PtrTy(), DL.getIntPtrType(Context)},
  918       B.getInt8PtrTy(), B.getInt8PtrTy(), DL.getIntPtrType(Context),
  919       DL.getIntPtrType(Context));
  934       {B.getInt8PtrTy(), B.getInt32Ty(), DL.getIntPtrType(Context)},
  943       {B.getInt8PtrTy(), B.getInt8PtrTy(), DL.getIntPtrType(Context)},
  952       {B.getInt8PtrTy(), B.getInt8PtrTy(), DL.getIntPtrType(Context)},
 1257       FWriteName, DL.getIntPtrType(Context), B.getInt8PtrTy(),
 1258       DL.getIntPtrType(Context), DL.getIntPtrType(Context), File->getType());
 1258       DL.getIntPtrType(Context), DL.getIntPtrType(Context), File->getType());
 1264                        ConstantInt::get(DL.getIntPtrType(Context), 1), File});
 1281                                                  DL.getIntPtrType(Context));
 1300   IntegerType *PtrType = DL.getIntPtrType((B.GetInsertBlock()->getContext()));
 1323       FWriteUnlockedName, DL.getIntPtrType(Context), B.getInt8PtrTy(),
 1324       DL.getIntPtrType(Context), DL.getIntPtrType(Context), File->getType());
 1324       DL.getIntPtrType(Context), DL.getIntPtrType(Context), File->getType());
 1385       FReadUnlockedName, DL.getIntPtrType(Context), B.getInt8PtrTy(),
 1386       DL.getIntPtrType(Context), DL.getIntPtrType(Context), File->getType());
 1386       DL.getIntPtrType(Context), DL.getIntPtrType(Context), File->getType());
lib/Transforms/Utils/SimplifyLibCalls.cpp
  292                  ConstantInt::get(DL.getIntPtrType(Src->getContext()), Len + 1));
  358                       ConstantInt::get(DL.getIntPtrType(CI->getContext()), Len),
  443                       ConstantInt::get(DL.getIntPtrType(CI->getContext()),
  453           ConstantInt::get(DL.getIntPtrType(CI->getContext()), Len2), B, DL,
  459           ConstantInt::get(DL.getIntPtrType(CI->getContext()), Len1), B, DL,
  521           ConstantInt::get(DL.getIntPtrType(CI->getContext()), Len2), B, DL,
  528           ConstantInt::get(DL.getIntPtrType(CI->getContext()), Len1), B, DL,
  565                      ConstantInt::get(DL.getIntPtrType(CI->getContext()), Len));
 1177   IntegerType *SizeType = DL.getIntPtrType(B.GetInsertBlock()->getContext());
 2430                    ConstantInt::get(DL.getIntPtrType(CI->getContext()),
 2538         ConstantInt::get(DL.getIntPtrType(CI->getContext()),
 2620         ConstantInt::get(DL.getIntPtrType(CI->getContext()), FormatStr.size()),
 2741       ConstantInt::get(DL.getIntPtrType(CI->getContext()), Len - 1),
 3294   Type *SizeTTy = DL.getIntPtrType(CI->getContext());
tools/polly/lib/CodeGen/IslNodeBuilder.cpp
 1474       auto IntPtrTy = DL.getIntPtrType(Ctx);
unittests/Analysis/ScalarEvolutionTest.cpp
  402   IntegerType *IntPtrTy = M.getDataLayout().getIntPtrType(Context);
unittests/IR/InstructionsTest.cpp
  477   IntegerType *Int16SizePtr = DL.getIntPtrType(C, 1);
  478   IntegerType *Int64SizePtr = DL.getIntPtrType(C, 2);