| /llvm-project-15.0.7/clang/lib/Basic/Targets/ |
| H A D | Mips.cpp | 185 Builder.defineMacro("_MIPS_SZPTR", Twine(getPointerWidth(0))); in getTargetDefines() 232 .Default(getPointerWidth(0)); in getUnwindWordWidth()
|
| H A D | NVPTX.cpp | 113 PointerWidth = HostTarget->getPointerWidth(/* AddrSpace = */ 0); in NVPTXTargetInfo()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | PatternInit.cpp | 46 unsigned PtrWidth = CGM.getContext().getTargetInfo().getPointerWidth( in initializationPatternFor()
|
| H A D | SwiftCallingConv.cpp | 658 CGM.getContext().getTargetInfo().getPointerWidth(0)); in getMaximumVoluntaryIntegerSize()
|
| H A D | CGVTables.cpp | 1258 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0)); in EmitVTableTypeMetadata()
|
| H A D | CGBlocks.cpp | 510 CharUnits::fromQuantity(CGM.getTarget().getPointerWidth(GenericAS) / 8); in initializeForBlockHeader() 809 CGM.getTarget().getPointerWidth( in EmitBlockLiteral()
|
| H A D | MicrosoftCXXABI.cpp | 461 return CGM.getTarget().getPointerWidth(/*AddrSpace=*/0) == 64; in isImageRelative() 1682 getContext().getTargetInfo().getPointerWidth(0)) in emitVTableTypeMetadata() 1955 ML.Index * CGM.getContext().getTargetInfo().getPointerWidth(0) / 8); in getVirtualFunctionPointer()
|
| H A D | ItaniumCXXABI.cpp | 1017 Context.getTargetInfo().getPointerWidth(0)); in BuildMemberPointer() 1935 VTableIndex * CGM.getContext().getTargetInfo().getPointerWidth(0) / 8); in getVirtualFunctionPointer() 4034 if (TI.getTriple().isOSCygMing() && TI.getPointerWidth(0) > TI.getLongWidth()) in BuildVMIClassTypeInfo()
|
| H A D | TargetInfo.cpp | 143 auto ptrWidth = cgt.getTarget().getPointerWidth(0); in occupiesMoreThan() 5831 (unsigned)getTarget().getPointerWidth(0)); in classifyArgumentType() 6246 uint64_t PointerSize = getTarget().getPointerWidth(0) / 8; in EmitDarwinVAArg() 8204 unsigned PtrWidth = getTarget().getPointerWidth(0); in EmitVAArg() 11683 unsigned XLen = getTarget().getPointerWidth(0); in getTargetCodeGenInfo()
|
| H A D | CGDebugInfo.cpp | 1143 uint64_t Size = CGM.getTarget().getPointerWidth(AddressSpace); in CreatePointerLikeType() 1706 uint64_t Size = CGM.getTarget().getPointerWidth(AS); in getOrCreateInstanceMethodType() 4482 CGM.getTarget().getPointerWidth(0)); in EmitDeclare()
|
| H A D | CGExprAgg.cpp | 1929 CGF.getTarget().getPointerWidth(0)); in GetNumNonZeroBytesInInit()
|
| H A D | CGObjCMac.cpp | 2406 == CGM.getTarget().getPointerWidth(0)); in visitBlock() 2699 unsigned WordSizeInBits = CGM.getTarget().getPointerWidth(0); in getBitmapBlockLayout() 2885 unsigned WordSizeInBits = CGM.getTarget().getPointerWidth(0); in fillRunSkipBlockVars()
|
| H A D | CGObjCGNU.cpp | 988 if ((CGM.getTarget().getPointerWidth(0) == 64) && in GenerateConstantString()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | Mangle.cpp | 234 llvm::alignTo(ASTContext.getTypeSize(AT), TI.getPointerWidth(0)) / in mangleName() 235 TI.getPointerWidth(0); in mangleName() 237 Out << ((TI.getPointerWidth(0) / 8) * ArgWords); in mangleName()
|
| H A D | ItaniumCXXABI.cpp | 255 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0)); in isNearlyEmpty()
|
| H A D | MicrosoftCXXABI.cpp | 306 unsigned PtrSize = Target.getPointerWidth(0); in getMemberPointerInfo()
|
| H A D | RecordLayoutBuilder.cpp | 1063 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0)); in LayoutNonVirtualBases() 1917 Context.getTargetInfo().getPointerWidth(AS)); in LayoutField() 2755 if (PackedAlignment <= Context.getTargetInfo().getPointerWidth(0)) in initializeLayout() 2781 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0)); in initializeCXXLayout()
|
| H A D | MicrosoftMangle.cpp | 343 PointersAre64Bit(C.getASTContext().getTargetInfo().getPointerWidth(0) == in MicrosoftCXXNameMangler() 350 PointersAre64Bit(C.getASTContext().getTargetInfo().getPointerWidth(0) == in MicrosoftCXXNameMangler() 357 PointersAre64Bit(C.getASTContext().getTargetInfo().getPointerWidth(0) == in MicrosoftCXXNameMangler() 779 getASTContext().getTargetInfo().getPointerWidth(0)); in mangleVirtualMemPtrThunk()
|
| H A D | ASTContext.cpp | 1876 Context.getTargetInfo().getPointerWidth(0) == 64) in getConstantArrayInfoInChars() 1984 getTargetInfo().getPointerWidth(0) == 64) in getTypeInfoImpl() 2184 Width = Target->getPointerWidth(0); // C++ 3.9.1p11: sizeof(nullptr_t) in getTypeInfoImpl() 2190 Width = Target->getPointerWidth(0); in getTypeInfoImpl() 2206 Width = Target->getPointerWidth(AS); in getTypeInfoImpl() 2250 Width = Target->getPointerWidth(0); in getTypeInfoImpl() 2255 Width = Target->getPointerWidth(AS); in getTypeInfoImpl() 2263 Width = Target->getPointerWidth(AS); in getTypeInfoImpl() 2268 Width = Target->getPointerWidth(AS); in getTypeInfoImpl() 2424 Width = Target->getPointerWidth(getTargetAddressSpace(LangAS::opencl_global)); in getTypeInfoImpl()
|
| H A D | VTableBuilder.cpp | 674 : Context.getTargetInfo().getPointerWidth(0)); in getCurrentOffsetOffset()
|
| /llvm-project-15.0.7/clang/unittests/CodeGen/ |
| H A D | TestCompiler.h | 51 PtrSize = TInfo.getPointerWidth(0) / 8;
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | ObjCContainersASTChecker.cpp | 75 PtrWidth(ASTC.getTargetInfo().getPointerWidth(0)) {} in WalkAST()
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | InitPreprocessor.cpp | 939 if (TI.getPointerWidth(0) == 64 && TI.getLongWidth() == 64 in InitializePredefinedMacros() 945 if (TI.getPointerWidth(0) == 32 && TI.getLongWidth() == 32 in InitializePredefinedMacros() 989 DefineTypeSizeof("__SIZEOF_POINTER__", TI.getPointerWidth(0), TI, Builder); in InitializePredefinedMacros() 1042 Twine((int)TI.getPointerWidth(0))); in InitializePredefinedMacros() 1158 getLockFreeValue(TI.getPointerWidth(0), in InitializePredefinedMacros()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/AsmParser/ |
| H A D | X86AsmParser.cpp | 1234 unsigned getPointerWidth() { in getPointerWidth() function in __anonad53f99c0111::X86AsmParser 1600 return X86Operand::CreateMem(getPointerWidth(), /*SegReg=*/0, Disp, in DefaultMemSIOperand() 1609 return X86Operand::CreateMem(getPointerWidth(), /*SegReg=*/0, Disp, in DefaultMemDIOperand() 1752 Size = getPointerWidth(); in CreateMemForMSInlineAsm() 1758 Operands.push_back(X86Operand::CreateMem(getPointerWidth(), Disp, Start, in CreateMemForMSInlineAsm() 1778 Operands.push_back(X86Operand::CreateMem(getPointerWidth(), Disp, Start, in CreateMemForMSInlineAsm() 1788 getPointerWidth(), SegReg, Disp, BaseReg, IndexReg, Scale, Start, End, in CreateMemForMSInlineAsm() 2671 getPointerWidth(), Disp, Start, End, Size, /*SymName=*/StringRef(), in parseIntelOperand() 3061 X86Operand::CreateMem(getPointerWidth(), Disp, StartLoc, EndLoc)); in ParseMemOperand() 4441 UnsizedMemOp->Mem.Size = getPointerWidth(); in MatchAndEmitIntelInstruction() [all …]
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | TargetInfo.h | 425 uint64_t getPointerWidth(unsigned AddrSpace) const { in getPointerWidth() function 588 return (getPointerWidth(0) >= 64) || getTargetOpts().ForceEnableInt128; in hasInt128Type() 803 virtual unsigned getUnwindWordWidth() const { return getPointerWidth(0); } in getUnwindWordWidth()
|