Home
last modified time | relevance | path

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

12

/external/llvm/lib/Target/X86/AsmParser/
DX86AsmInstrumentation.cpp265 unsigned getPointerWidth() { in getPointerWidth() function in llvm::__anon371ad2be0111::X86AddressSanitizer
312 getPointerWidth(), 0, Disp, SrcReg, 0, AccessSize, SMLoc(), SMLoc())); in InstrumentMOVSBase()
321 getPointerWidth(), 0, Disp, SrcReg, CntReg, AccessSize, SMLoc(), in InstrumentMOVSBase()
331 getPointerWidth(), 0, Disp, DstReg, 0, AccessSize, SMLoc(), SMLoc())); in InstrumentMOVSBase()
339 getPointerWidth(), 0, Disp, DstReg, CntReg, AccessSize, SMLoc(), in InstrumentMOVSBase()
458 X86Operand::CreateMem(getPointerWidth(), 0, Disp, Reg, 0, 1, SMLoc(), in ComputeMemOperandAddress()
641 X86Operand::CreateMem(getPointerWidth(), 0, Disp, ShadowRegI32, 0, 1, in InstrumentMemOperandSmall()
667 X86Operand::CreateMem(getPointerWidth(), 0, Disp, ScratchRegI32, 0, 1, in InstrumentMemOperandSmall()
718 X86Operand::CreateMem(getPointerWidth(), 0, Disp, ShadowRegI32, 0, 1, in InstrumentMemOperandLarge()
858 X86Operand::CreateMem(getPointerWidth(), 0, Disp, X86::RSP, 0, 1, in EmitAdjustRSP()
[all …]
DX86AsmParser.cpp783 unsigned getPointerWidth() { in getPointerWidth() function in __anonf33d2cb70111::X86AsmParser
998 return X86Operand::CreateMem(getPointerWidth(), /*SegReg=*/0, Disp, in DefaultMemSIOperand()
1007 return X86Operand::CreateMem(getPointerWidth(), /*SegReg=*/0, Disp, in DefaultMemDIOperand()
1168 Size = getPointerWidth(); in CreateMemForInlineAsm()
1175 return X86Operand::CreateMem(getPointerWidth(), Disp, Start, End, Size, in CreateMemForInlineAsm()
1198 return X86Operand::CreateMem(getPointerWidth(), SegReg, Disp, BaseReg, in CreateMemForInlineAsm()
1446 return X86Operand::CreateMem(getPointerWidth(), Disp, Start, End, Size); in ParseIntelBracExpression()
1447 return X86Operand::CreateMem(getPointerWidth(), SegReg, Disp, 0, 0, 1, in ParseIntelBracExpression()
1455 return X86Operand::CreateMem(getPointerWidth(), SegReg, Disp, BaseReg, in ParseIntelBracExpression()
1537 return X86Operand::CreateMem(getPointerWidth(), SegReg, Disp, in ParseIntelSegmentOverride()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/AsmParser/
DX86AsmInstrumentation.cpp278 unsigned getPointerWidth() { in getPointerWidth() function in __anon811bfc160111::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()
680 X86Operand::CreateMem(getPointerWidth(), 0, Disp, ScratchRegI32, 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()
[all …]
DX86AsmParser.cpp920 unsigned getPointerWidth() { in getPointerWidth() function in __anon3ca5b30f0111::X86AsmParser
1199 return X86Operand::CreateMem(getPointerWidth(), /*SegReg=*/0, Disp, in DefaultMemSIOperand()
1208 return X86Operand::CreateMem(getPointerWidth(), /*SegReg=*/0, Disp, in DefaultMemDIOperand()
1350 Size = getPointerWidth(); in CreateMemForInlineAsm()
1356 return X86Operand::CreateMem(getPointerWidth(), Disp, Start, End, Size, in CreateMemForInlineAsm()
1374 return X86Operand::CreateMem(getPointerWidth(), Disp, Start, End); in CreateMemForInlineAsm()
1380 return X86Operand::CreateMem(getPointerWidth(), SegReg, Disp, BaseReg, in CreateMemForInlineAsm()
1930 return X86Operand::CreateMem(getPointerWidth(), Disp, Start, End, Size); in ParseIntelOperand()
1931 return X86Operand::CreateMem(getPointerWidth(), RegNo, Disp, in ParseIntelOperand()
2112 return X86Operand::CreateMem(getPointerWidth(), Disp, MemStart, ExprEnd); in ParseMemOperand()
[all …]
/external/clang/lib/AST/
DMangle.cpp181 llvm::alignTo(ASTContext.getTypeSize(AT), TI.getPointerWidth(0)) / in mangleName()
182 TI.getPointerWidth(0); in mangleName()
183 Out << ((TI.getPointerWidth(0) / 8) * ArgWords); in mangleName()
DItaniumCXXABI.cpp132 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0)); in isNearlyEmpty()
DMicrosoftCXXABI.cpp246 unsigned PtrSize = Target.getPointerWidth(0); in getMemberPointerWidthAndAlign()
DRecordLayoutBuilder.cpp1021 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0)); in LayoutNonVirtualBases()
1734 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(AS)); in LayoutField()
2440 if (PackedAlignment <= Context.getTargetInfo().getPointerWidth(0)) in initializeLayout()
2466 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0)); in initializeCXXLayout()
DMicrosoftMangle.cpp276 PointersAre64Bit(C.getASTContext().getTargetInfo().getPointerWidth(0) == in MicrosoftCXXNameMangler()
282 PointersAre64Bit(C.getASTContext().getTargetInfo().getPointerWidth(0) == in MicrosoftCXXNameMangler()
288 PointersAre64Bit(C.getASTContext().getTargetInfo().getPointerWidth(0) == in MicrosoftCXXNameMangler()
642 getASTContext().getTargetInfo().getPointerWidth(0)); in mangleVirtualMemPtrThunk()
DASTContext.cpp1479 Context.getTargetInfo().getPointerWidth(0) == 64) in getConstantArrayInfoInChars()
1563 getTargetInfo().getPointerWidth(0) == 64) in getTypeInfoImpl()
1665 Width = Target->getPointerWidth(0); // C++ 3.9.1p11: sizeof(nullptr_t) in getTypeInfoImpl()
1671 Width = Target->getPointerWidth(0); in getTypeInfoImpl()
1689 Width = Target->getPointerWidth(0); in getTypeInfoImpl()
1695 Width = Target->getPointerWidth(0); in getTypeInfoImpl()
1701 Width = Target->getPointerWidth(AS); in getTypeInfoImpl()
1711 Width = Target->getPointerWidth(AS); in getTypeInfoImpl()
1717 Width = Target->getPointerWidth(AS); in getTypeInfoImpl()
2584 ArySize.zextOrTrunc(Target->getPointerWidth(getTargetAddressSpace(EltTy))); in getConstantArrayType()
DVTableBuilder.cpp667 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0)); in getCurrentOffsetOffset()
/external/clang/include/clang/Basic/
DTargetInfo.h290 uint64_t getPointerWidth(unsigned AddrSpace) const { in getPointerWidth() function
331 return getPointerWidth(0) >= 64; in hasInt128Type()
453 virtual unsigned getUnwindWordWidth() const { return getPointerWidth(0); } in getUnwindWordWidth()
/external/clang/lib/Frontend/
DInitPreprocessor.cpp666 if (TI.getPointerWidth(0) == 64 && TI.getLongWidth() == 64 in InitializePredefinedMacros()
672 if (TI.getPointerWidth(0) == 32 && TI.getLongWidth() == 32 in InitializePredefinedMacros()
702 DefineTypeSizeof("__SIZEOF_POINTER__", TI.getPointerWidth(0), TI, Builder); in InitializePredefinedMacros()
753 Twine((int)TI.getPointerWidth(0))); in InitializePredefinedMacros()
864 getLockFreeValue(TI.getPointerWidth(0), in InitializePredefinedMacros()
/external/clang/lib/StaticAnalyzer/Checkers/
DObjCContainersASTChecker.cpp76 PtrWidth(ASTC.getTargetInfo().getPointerWidth(0)) {} in WalkAST()
/external/clang/lib/CodeGen/
DSwiftCallingConv.cpp598 CGM.getContext().getTargetInfo().getPointerWidth(0)); in getMaximumVoluntaryIntegerSize()
DCGVTables.cpp946 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0)); in EmitVTableTypeMetadata()
DCGDebugInfo.cpp754 uint64_t Size = CGM.getTarget().getPointerWidth(AS); in CreatePointerLikeType()
1167 uint64_t Size = CGM.getTarget().getPointerWidth(AS); in getOrCreateInstanceMethodType()
3177 CGM.getTarget().getPointerWidth(0)); in EmitDeclare()
DCGExprAgg.cpp1373 CGF.getTarget().getPointerWidth(0)); in GetNumNonZeroBytesInInit()
DMicrosoftCXXABI.cpp433 return CGM.getTarget().getPointerWidth(/*AddressSpace=*/0) == 64; in isImageRelative()
1514 getContext().getTargetInfo().getPointerWidth(0)) in emitVTableTypeMetadata()
1819 ML.Index * CGM.getContext().getTargetInfo().getPointerWidth(0) / 8); in getVirtualFunctionPointer()
DItaniumCXXABI.cpp798 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0)); in BuildMemberPointer()
1602 VTableIndex * CGM.getContext().getTargetInfo().getPointerWidth(0) / 8); in getVirtualFunctionPointer()
DCGObjCMac.cpp2146 == CGM.getTarget().getPointerWidth(0)); in visitBlock()
2442 unsigned WordSizeInBits = CGM.getTarget().getPointerWidth(0); in getBitmapBlockLayout()
2593 unsigned WordSizeInBits = CGM.getTarget().getPointerWidth(0); in BuildRCBlockLayout()
DTargetInfo.cpp118 auto ptrWidth = cgt.getTarget().getPointerWidth(0); in occupiesMoreThan()
6482 unsigned PtrWidth = getTarget().getPointerWidth(0); in EmitVAArg()
DCodeGenModule.cpp102 PointerWidthInBits = C.getTargetInfo().getPointerWidth(0); in CodeGenModule()
DCGCall.cpp3349 getContext().getTargetInfo().getPointerWidth(0) && in getVarArgType()
/external/clang/lib/Basic/
DTargets.cpp1724 PointerWidth = HostTarget->getPointerWidth(/* AddrSpace = */ 0); in NVPTXTargetInfo()
7367 Builder.defineMacro("_MIPS_SZPTR", Twine(getPointerWidth(0))); in getTargetDefines()

12