Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/lib/Target/X86/AsmParser/
H A DX86AsmInstrumentation.cpp278 unsigned getPointerWidth() { in getPointerWidth() function in __anon6d3404780111::X86AddressSanitizer
325 getPointerWidth(), 0, Disp, SrcReg, 0, AccessSize, SMLoc(), SMLoc())); in InstrumentMOVSBase()
334 getPointerWidth(), 0, Disp, SrcReg, CntReg, AccessSize, SMLoc(), in InstrumentMOVSBase()
344 getPointerWidth(), 0, Disp, DstReg, 0, AccessSize, SMLoc(), SMLoc())); in InstrumentMOVSBase()
352 getPointerWidth(), 0, Disp, DstReg, CntReg, AccessSize, SMLoc(), in InstrumentMOVSBase()
471 X86Operand::CreateMem(getPointerWidth(), 0, Disp, Reg, 0, 1, SMLoc(), in ComputeMemOperandAddress()
654 X86Operand::CreateMem(getPointerWidth(), 0, Disp, ShadowRegI32, 0, 1, in InstrumentMemOperandSmall()
731 X86Operand::CreateMem(getPointerWidth(), 0, Disp, ShadowRegI32, 0, 1, in InstrumentMemOperandLarge()
871 X86Operand::CreateMem(getPointerWidth(), 0, Disp, X86::RSP, 0, 1, in EmitAdjustRSP()
928 X86Operand::CreateMem(getPointerWidth(), 0, Disp, ShadowRegI64, 0, 1, in InstrumentMemOperandSmall()
[all …]
H A DX86AsmParser.cpp924 unsigned getPointerWidth() { in getPointerWidth() function in __anon3be435310111::X86AsmParser
1204 return X86Operand::CreateMem(getPointerWidth(), /*SegReg=*/0, Disp, in DefaultMemSIOperand()
1213 return X86Operand::CreateMem(getPointerWidth(), /*SegReg=*/0, Disp, in DefaultMemDIOperand()
1355 Size = getPointerWidth(); in CreateMemForInlineAsm()
1379 return X86Operand::CreateMem(getPointerWidth(), Disp, Start, End); in CreateMemForInlineAsm()
1385 return X86Operand::CreateMem(getPointerWidth(), SegReg, Disp, BaseReg, in CreateMemForInlineAsm()
1936 return X86Operand::CreateMem(getPointerWidth(), RegNo, Disp, in ParseIntelOperand()
2187 return X86Operand::CreateMem(getPointerWidth(), SegReg, Disp, 0, 0, 1, in ParseMemOperand()
2281 return X86Operand::CreateMem(getPointerWidth(), SegReg, Disp, BaseReg, in ParseMemOperand()
3149 UnsizedMemOp->Mem.Size = getPointerWidth(); in MatchAndEmitIntelInstruction()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DMangle.cpp183 llvm::alignTo(ASTContext.getTypeSize(AT), TI.getPointerWidth(0)) / in mangleName()
184 TI.getPointerWidth(0); in mangleName()
185 Out << ((TI.getPointerWidth(0) / 8) * ArgWords); in mangleName()
H A DItaniumCXXABI.cpp194 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0)); in isNearlyEmpty()
H A DMicrosoftCXXABI.cpp235 unsigned PtrSize = Target.getPointerWidth(0); in getMemberPointerInfo()
H A DRecordLayoutBuilder.cpp1028 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0)); in LayoutNonVirtualBases()
1750 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(AS)); in LayoutField()
2483 if (PackedAlignment <= Context.getTargetInfo().getPointerWidth(0)) in initializeLayout()
2509 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0)); in initializeCXXLayout()
H A DMicrosoftMangle.cpp284 PointersAre64Bit(C.getASTContext().getTargetInfo().getPointerWidth(0) == in MicrosoftCXXNameMangler()
290 PointersAre64Bit(C.getASTContext().getTargetInfo().getPointerWidth(0) == in MicrosoftCXXNameMangler()
296 PointersAre64Bit(C.getASTContext().getTargetInfo().getPointerWidth(0) == in MicrosoftCXXNameMangler()
691 getASTContext().getTargetInfo().getPointerWidth(0)); in mangleVirtualMemPtrThunk()
H A DASTContext.cpp1685 Context.getTargetInfo().getPointerWidth(0) == 64) in getConstantArrayInfoInChars()
1794 getTargetInfo().getPointerWidth(0) == 64) in getTypeInfoImpl()
1939 Width = Target->getPointerWidth(0); // C++ 3.9.1p11: sizeof(nullptr_t) in getTypeInfoImpl()
1945 Width = Target->getPointerWidth(0); in getTypeInfoImpl()
1961 Width = Target->getPointerWidth(AS); in getTypeInfoImpl()
1967 Width = Target->getPointerWidth(0); in getTypeInfoImpl()
1972 Width = Target->getPointerWidth(AS); in getTypeInfoImpl()
1980 Width = Target->getPointerWidth(AS); in getTypeInfoImpl()
1985 Width = Target->getPointerWidth(AS); in getTypeInfoImpl()
2114 Width = Target->getPointerWidth(getTargetAddressSpace(LangAS::opencl_global)); in getTypeInfoImpl()
H A DVTableBuilder.cpp667 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0)); in getCurrentOffsetOffset()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/
H A DInitPreprocessor.cpp752 if (TI.getPointerWidth(0) == 64 && TI.getLongWidth() == 64 in InitializePredefinedMacros()
758 if (TI.getPointerWidth(0) == 32 && TI.getLongWidth() == 32 in InitializePredefinedMacros()
789 DefineTypeSizeof("__SIZEOF_POINTER__", TI.getPointerWidth(0), TI, Builder); in InitializePredefinedMacros()
841 Twine((int)TI.getPointerWidth(0))); in InitializePredefinedMacros()
956 getLockFreeValue(TI.getPointerWidth(0), in InitializePredefinedMacros()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/
H A DTargetInfo.h349 uint64_t getPointerWidth(unsigned AddrSpace) const { in getPointerWidth() function
512 return (getPointerWidth(0) >= 64) || getTargetOpts().ForceEnableInt128; in hasInt128Type()
635 virtual unsigned getUnwindWordWidth() const { return getPointerWidth(0); } in getUnwindWordWidth()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DObjCContainersASTChecker.cpp76 PtrWidth(ASTC.getTargetInfo().getPointerWidth(0)) {} in WalkAST()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/Targets/
H A DNVPTX.cpp105 PointerWidth = HostTarget->getPointerWidth(/* AddrSpace = */ 0); in NVPTXTargetInfo()
H A DMips.cpp186 Builder.defineMacro("_MIPS_SZPTR", Twine(getPointerWidth(0))); in getTargetDefines()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DSwiftCallingConv.cpp642 CGM.getContext().getTargetInfo().getPointerWidth(0)); in getMaximumVoluntaryIntegerSize()
H A DCGVTables.cpp1014 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0)); in EmitVTableTypeMetadata()
H A DItaniumCXXABI.cpp917 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0)); in BuildMemberPointer()
1729 VTableIndex * CGM.getContext().getTargetInfo().getPointerWidth(0) / 8); in getVirtualFunctionPointer()
3589 if (TI.getTriple().isOSCygMing() && TI.getPointerWidth(0) > TI.getLongWidth()) in BuildVMIClassTypeInfo()
H A DCGBlocks.cpp459 CharUnits::fromQuantity(CGM.getTarget().getPointerWidth(GenericAS) / 8); in initializeForBlockHeader()
931 CGM.getTarget().getPointerWidth( in EmitBlockLiteral()
H A DMicrosoftCXXABI.cpp440 return CGM.getTarget().getPointerWidth(/*AddressSpace=*/0) == 64; in isImageRelative()
1594 getContext().getTargetInfo().getPointerWidth(0)) in emitVTableTypeMetadata()
1865 ML.Index * CGM.getContext().getTargetInfo().getPointerWidth(0) / 8); in getVirtualFunctionPointer()
H A DCGDebugInfo.cpp979 uint64_t Size = CGM.getTarget().getPointerWidth(AddressSpace); in CreatePointerLikeType()
1454 uint64_t Size = CGM.getTarget().getPointerWidth(AS); in getOrCreateInstanceMethodType()
3792 CGM.getTarget().getPointerWidth(0)); in EmitDeclare()
H A DCGExprAgg.cpp1713 CGF.getTarget().getPointerWidth(0)); in GetNumNonZeroBytesInInit()
H A DCGObjCMac.cpp2365 == CGM.getTarget().getPointerWidth(0)); in visitBlock()
2661 unsigned WordSizeInBits = CGM.getTarget().getPointerWidth(0); in getBitmapBlockLayout()
2847 unsigned WordSizeInBits = CGM.getTarget().getPointerWidth(0); in fillRunSkipBlockVars()
H A DCGDecl.cpp1003 unsigned PtrWidth = CGM.getContext().getTargetInfo().getPointerWidth( in patternFor()
H A DTargetInfo.cpp121 auto ptrWidth = cgt.getTarget().getPointerWidth(0); in occupiesMoreThan()
7136 unsigned PtrWidth = getTarget().getPointerWidth(0); in EmitVAArg()
H A DCGObjCGNU.cpp975 if ((CGM.getTarget().getPointerWidth(0) == 64) && in GenerateConstantString()

12