Home
last modified time | relevance | path

Searched refs:getPointerWidth (Results 1 – 25 of 32) sorted by relevance

12

/llvm-project-15.0.7/clang/lib/Basic/Targets/
H A DMips.cpp185 Builder.defineMacro("_MIPS_SZPTR", Twine(getPointerWidth(0))); in getTargetDefines()
232 .Default(getPointerWidth(0)); in getUnwindWordWidth()
H A DNVPTX.cpp113 PointerWidth = HostTarget->getPointerWidth(/* AddrSpace = */ 0); in NVPTXTargetInfo()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DPatternInit.cpp46 unsigned PtrWidth = CGM.getContext().getTargetInfo().getPointerWidth( in initializationPatternFor()
H A DSwiftCallingConv.cpp658 CGM.getContext().getTargetInfo().getPointerWidth(0)); in getMaximumVoluntaryIntegerSize()
H A DCGVTables.cpp1258 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0)); in EmitVTableTypeMetadata()
H A DCGBlocks.cpp510 CharUnits::fromQuantity(CGM.getTarget().getPointerWidth(GenericAS) / 8); in initializeForBlockHeader()
809 CGM.getTarget().getPointerWidth( in EmitBlockLiteral()
H A DMicrosoftCXXABI.cpp461 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 DItaniumCXXABI.cpp1017 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 DTargetInfo.cpp143 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 DCGDebugInfo.cpp1143 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 DCGExprAgg.cpp1929 CGF.getTarget().getPointerWidth(0)); in GetNumNonZeroBytesInInit()
H A DCGObjCMac.cpp2406 == 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 DCGObjCGNU.cpp988 if ((CGM.getTarget().getPointerWidth(0) == 64) && in GenerateConstantString()
/llvm-project-15.0.7/clang/lib/AST/
H A DMangle.cpp234 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 DItaniumCXXABI.cpp255 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0)); in isNearlyEmpty()
H A DMicrosoftCXXABI.cpp306 unsigned PtrSize = Target.getPointerWidth(0); in getMemberPointerInfo()
H A DRecordLayoutBuilder.cpp1063 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 DMicrosoftMangle.cpp343 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 DASTContext.cpp1876 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 DVTableBuilder.cpp674 : Context.getTargetInfo().getPointerWidth(0)); in getCurrentOffsetOffset()
/llvm-project-15.0.7/clang/unittests/CodeGen/
H A DTestCompiler.h51 PtrSize = TInfo.getPointerWidth(0) / 8;
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DObjCContainersASTChecker.cpp75 PtrWidth(ASTC.getTargetInfo().getPointerWidth(0)) {} in WalkAST()
/llvm-project-15.0.7/clang/lib/Frontend/
H A DInitPreprocessor.cpp939 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 DX86AsmParser.cpp1234 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 DTargetInfo.h425 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()

12