Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/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.cpp112 PointerWidth = HostTarget->getPointerWidth(/* AddrSpace = */ 0); in NVPTXTargetInfo()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DPatternInit.cpp46 unsigned PtrWidth = CGM.getContext().getTargetInfo().getPointerWidth( in initializationPatternFor()
H A DSwiftCallingConv.cpp657 CGM.getContext().getTargetInfo().getPointerWidth(0)); in getMaximumVoluntaryIntegerSize()
H A DCGVTables.cpp1256 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0)); in EmitVTableTypeMetadata()
H A DCGBlocks.cpp460 CharUnits::fromQuantity(CGM.getTarget().getPointerWidth(GenericAS) / 8); in initializeForBlockHeader()
802 CGM.getTarget().getPointerWidth( in EmitBlockLiteral()
H A DMicrosoftCXXABI.cpp455 return CGM.getTarget().getPointerWidth(/*AddrSpace=*/0) == 64; in isImageRelative()
1675 getContext().getTargetInfo().getPointerWidth(0)) in emitVTableTypeMetadata()
1948 ML.Index * CGM.getContext().getTargetInfo().getPointerWidth(0) / 8); in getVirtualFunctionPointer()
H A DItaniumCXXABI.cpp1051 Context.getTargetInfo().getPointerWidth(0)); in BuildMemberPointer()
1968 VTableIndex * CGM.getContext().getTargetInfo().getPointerWidth(0) / 8); in getVirtualFunctionPointer()
4069 if (TI.getTriple().isOSCygMing() && TI.getPointerWidth(0) > TI.getLongWidth()) in BuildVMIClassTypeInfo()
H A DCGDebugInfo.cpp1113 uint64_t Size = CGM.getTarget().getPointerWidth(AddressSpace); in CreatePointerLikeType()
1608 uint64_t Size = CGM.getTarget().getPointerWidth(AS); in getOrCreateInstanceMethodType()
4292 CGM.getTarget().getPointerWidth(0)); in EmitDeclare()
H A DTargetInfo.cpp137 auto ptrWidth = cgt.getTarget().getPointerWidth(0); in occupiesMoreThan()
5738 (unsigned)getTarget().getPointerWidth(0)); in classifyArgumentType()
6143 uint64_t PointerSize = getTarget().getPointerWidth(0) / 8; in EmitDarwinVAArg()
8056 unsigned PtrWidth = getTarget().getPointerWidth(0); in EmitVAArg()
11165 unsigned XLen = getTarget().getPointerWidth(0); in getTargetCodeGenInfo()
H A DCGExprAgg.cpp1925 CGF.getTarget().getPointerWidth(0)); in GetNumNonZeroBytesInInit()
H A DCGObjCMac.cpp2470 == CGM.getTarget().getPointerWidth(0)); in visitBlock()
2763 unsigned WordSizeInBits = CGM.getTarget().getPointerWidth(0); in getBitmapBlockLayout()
2949 unsigned WordSizeInBits = CGM.getTarget().getPointerWidth(0); in fillRunSkipBlockVars()
H A DCGObjCGNU.cpp987 if ((CGM.getTarget().getPointerWidth(0) == 64) && in GenerateConstantString()
H A DCGCall.cpp4349 getContext().getTargetInfo().getPointerWidth(0) && in getVarArgType()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DMangle.cpp231 llvm::alignTo(ASTContext.getTypeSize(AT), TI.getPointerWidth(0)) / in mangleName()
232 TI.getPointerWidth(0); in mangleName()
233 Out << ((TI.getPointerWidth(0) / 8) * ArgWords); in mangleName()
H A DMicrosoftCXXABI.cpp270 unsigned PtrSize = Target.getPointerWidth(0); in getMemberPointerInfo()
H A DItaniumCXXABI.cpp224 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0)); in isNearlyEmpty()
H A DRecordLayoutBuilder.cpp1063 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0)); in LayoutNonVirtualBases()
1908 Context.getTargetInfo().getPointerWidth(AS)); in LayoutField()
2715 if (PackedAlignment <= Context.getTargetInfo().getPointerWidth(0)) in initializeLayout()
2741 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0)); in initializeCXXLayout()
H A DMicrosoftMangle.cpp329 PointersAre64Bit(C.getASTContext().getTargetInfo().getPointerWidth(0) == in MicrosoftCXXNameMangler()
336 PointersAre64Bit(C.getASTContext().getTargetInfo().getPointerWidth(0) == in MicrosoftCXXNameMangler()
343 PointersAre64Bit(C.getASTContext().getTargetInfo().getPointerWidth(0) == in MicrosoftCXXNameMangler()
762 getASTContext().getTargetInfo().getPointerWidth(0)); in mangleVirtualMemPtrThunk()
H A DASTContext.cpp1858 Context.getTargetInfo().getPointerWidth(0) == 64) in getConstantArrayInfoInChars()
1967 getTargetInfo().getPointerWidth(0) == 64) in getTypeInfoImpl()
2158 Width = Target->getPointerWidth(0); // C++ 3.9.1p11: sizeof(nullptr_t) in getTypeInfoImpl()
2164 Width = Target->getPointerWidth(0); in getTypeInfoImpl()
2180 Width = Target->getPointerWidth(AS); in getTypeInfoImpl()
2224 Width = Target->getPointerWidth(0); in getTypeInfoImpl()
2229 Width = Target->getPointerWidth(AS); in getTypeInfoImpl()
2237 Width = Target->getPointerWidth(AS); in getTypeInfoImpl()
2242 Width = Target->getPointerWidth(AS); in getTypeInfoImpl()
2389 Width = Target->getPointerWidth(getTargetAddressSpace(LangAS::opencl_global)); in getTypeInfoImpl()
H A DVTableBuilder.cpp673 : Context.getTargetInfo().getPointerWidth(0)); in getCurrentOffsetOffset()
/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/
H A DInitPreprocessor.cpp854 if (TI.getPointerWidth(0) == 64 && TI.getLongWidth() == 64 in InitializePredefinedMacros()
860 if (TI.getPointerWidth(0) == 32 && TI.getLongWidth() == 32 in InitializePredefinedMacros()
891 DefineTypeSizeof("__SIZEOF_POINTER__", TI.getPointerWidth(0), TI, Builder); in InitializePredefinedMacros()
944 Twine((int)TI.getPointerWidth(0))); in InitializePredefinedMacros()
1058 getLockFreeValue(TI.getPointerWidth(0), in InitializePredefinedMacros()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DObjCContainersASTChecker.cpp75 PtrWidth(ASTC.getTargetInfo().getPointerWidth(0)) {} in WalkAST()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp1217 unsigned getPointerWidth() { in getPointerWidth() function in __anonac1ae4a00111::X86AsmParser
1583 return X86Operand::CreateMem(getPointerWidth(), /*SegReg=*/0, Disp, in DefaultMemSIOperand()
1592 return X86Operand::CreateMem(getPointerWidth(), /*SegReg=*/0, Disp, in DefaultMemDIOperand()
1735 Size = getPointerWidth(); in CreateMemForMSInlineAsm()
1741 Operands.push_back(X86Operand::CreateMem(getPointerWidth(), Disp, Start, in CreateMemForMSInlineAsm()
1762 X86Operand::CreateMem(getPointerWidth(), Disp, Start, End)); in CreateMemForMSInlineAsm()
1770 getPointerWidth(), SegReg, Disp, BaseReg, IndexReg, Scale, Start, End, in CreateMemForMSInlineAsm()
2613 X86Operand::CreateMem(getPointerWidth(), Disp, Start, End, Size)); in ParseIntelOperand()
3000 X86Operand::CreateMem(getPointerWidth(), Disp, StartLoc, EndLoc)); in ParseMemOperand()
4435 UnsizedMemOp->Mem.Size = getPointerWidth(); in MatchAndEmitIntelInstruction()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/
H A DTargetInfo.h416 uint64_t getPointerWidth(unsigned AddrSpace) const { in getPointerWidth() function
579 return (getPointerWidth(0) >= 64) || getTargetOpts().ForceEnableInt128; in hasInt128Type()
746 virtual unsigned getUnwindWordWidth() const { return getPointerWidth(0); } in getUnwindWordWidth()

12