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

References

tools/clang/include/clang/Basic/TargetInfo.h
  523     return (getPointerWidth(0) >= 64) || getTargetOpts().ForceEnableInt128;
  665   virtual unsigned getUnwindWordWidth() const { return getPointerWidth(0); }
tools/clang/lib/AST/ASTContext.cpp
 1729       Context.getTargetInfo().getPointerWidth(0) == 64)
 1838         getTargetInfo().getPointerWidth(0) == 64)
 2006       Width = Target->getPointerWidth(0); // C++ 3.9.1p11: sizeof(nullptr_t)
 2012       Width = Target->getPointerWidth(0);
 2028       Width = Target->getPointerWidth(AS);
 2053     Width = Target->getPointerWidth(0);
 2058     Width = Target->getPointerWidth(AS);
 2066     Width = Target->getPointerWidth(AS);
 2071     Width = Target->getPointerWidth(AS);
 2204     Width = Target->getPointerWidth(getTargetAddressSpace(LangAS::opencl_global));
tools/clang/lib/AST/ItaniumCXXABI.cpp
  224       Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0));
tools/clang/lib/AST/Mangle.cpp
  191         llvm::alignTo(ASTContext.getTypeSize(AT), TI.getPointerWidth(0)) /
  192         TI.getPointerWidth(0);
  193   Out << ((TI.getPointerWidth(0) / 8) * ArgWords);
tools/clang/lib/AST/MicrosoftCXXABI.cpp
  234   unsigned PtrSize = Target.getPointerWidth(0);
tools/clang/lib/AST/MicrosoftMangle.cpp
  292         PointersAre64Bit(C.getASTContext().getTargetInfo().getPointerWidth(0) ==
  299         PointersAre64Bit(C.getASTContext().getTargetInfo().getPointerWidth(0) ==
  306         PointersAre64Bit(C.getASTContext().getTargetInfo().getPointerWidth(0) ==
  705       getASTContext().getTargetInfo().getPointerWidth(0));
tools/clang/lib/AST/RecordLayoutBuilder.cpp
 1041       Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0));
 1773       Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(AS));
 2528     if (PackedAlignment <= Context.getTargetInfo().getPointerWidth(0))
 2554       Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0));
tools/clang/lib/AST/VTableBuilder.cpp
  666     Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0));
tools/clang/lib/Basic/Targets/Mips.cpp
  185   Builder.defineMacro("_MIPS_SZPTR", Twine(getPointerWidth(0)));
  223       .Default(getPointerWidth(0));
tools/clang/lib/Basic/Targets/NVPTX.cpp
  106   PointerWidth = HostTarget->getPointerWidth(/* AddrSpace = */ 0);
tools/clang/lib/CodeGen/CGBlocks.cpp
  459         CharUnits::fromQuantity(CGM.getTarget().getPointerWidth(GenericAS) / 8);
  930       CGM.getTarget().getPointerWidth(
tools/clang/lib/CodeGen/CGCall.cpp
 3635           getContext().getTargetInfo().getPointerWidth(0) &&
tools/clang/lib/CodeGen/CGDebugInfo.cpp
 1008   uint64_t Size = CGM.getTarget().getPointerWidth(AddressSpace);
 1494     uint64_t Size = CGM.getTarget().getPointerWidth(AS);
 3970           CGM.getTarget().getPointerWidth(0));
tools/clang/lib/CodeGen/CGExprAgg.cpp
 1787               CGF.getTarget().getPointerWidth(0));
tools/clang/lib/CodeGen/CGObjCGNU.cpp
  981     if ((CGM.getTarget().getPointerWidth(0) == 64) &&
tools/clang/lib/CodeGen/CGObjCMac.cpp
 2428                 == CGM.getTarget().getPointerWidth(0));
 2722   unsigned WordSizeInBits = CGM.getTarget().getPointerWidth(0);
 2908   unsigned WordSizeInBits = CGM.getTarget().getPointerWidth(0);
tools/clang/lib/CodeGen/CGVTables.cpp
 1073       Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0));
tools/clang/lib/CodeGen/CodeGenModule.cpp
  112   PointerWidthInBits = C.getTargetInfo().getPointerWidth(0);
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp
  973       Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0));
 1788         VTableIndex * CGM.getContext().getTargetInfo().getPointerWidth(0) / 8);
 3692   if (TI.getTriple().isOSCygMing() && TI.getPointerWidth(0) > TI.getLongWidth())
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp
  441     return CGM.getTarget().getPointerWidth(/*AddrSpace=*/0) == 64;
 1618                 getContext().getTargetInfo().getPointerWidth(0))
 1889         ML.Index * CGM.getContext().getTargetInfo().getPointerWidth(0) / 8);
tools/clang/lib/CodeGen/PatternInit.cpp
   47     unsigned PtrWidth = CGM.getContext().getTargetInfo().getPointerWidth(
tools/clang/lib/CodeGen/SwiftCallingConv.cpp
  641            CGM.getContext().getTargetInfo().getPointerWidth(0));
tools/clang/lib/CodeGen/TargetInfo.cpp
  120       auto ptrWidth = cgt.getTarget().getPointerWidth(0);
 7254   unsigned PtrWidth = getTarget().getPointerWidth(0);
 9810     unsigned XLen = getTarget().getPointerWidth(0);
tools/clang/lib/Frontend/InitPreprocessor.cpp
  764   if (TI.getPointerWidth(0) == 64 && TI.getLongWidth() == 64
  770   if (TI.getPointerWidth(0) == 32 && TI.getLongWidth() == 32
  801   DefineTypeSizeof("__SIZEOF_POINTER__", TI.getPointerWidth(0), TI, Builder);
  854                       Twine((int)TI.getPointerWidth(0)));
  969                         getLockFreeValue(TI.getPointerWidth(0),
tools/clang/lib/Sema/SemaDeclAttr.cpp
 3876       DestWidth = S.Context.getTargetInfo().getPointerWidth(0);
tools/clang/lib/Sema/SemaExpr.cpp
14549   unsigned pw = Context.getTargetInfo().getPointerWidth(0);
tools/clang/lib/Sema/SemaExprCXX.cpp
 2370                       Context.getTargetInfo().getPointerWidth(0)),
tools/clang/lib/StaticAnalyzer/Checkers/ObjCContainersASTChecker.cpp
   75         PtrWidth(ASTC.getTargetInfo().getPointerWidth(0)) {}
tools/clang/unittests/CodeGen/TBAAMetadataTest.cpp
   50     PtrSize = TInfo.getPointerWidth(0) / 8;