Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DVTTBuilder.cpp72 Layout.getBaseClassOffset(BaseDecl); in LayoutSecondaryVTTs()
120 Layout.getBaseClassOffset(BaseDecl); in LayoutSecondaryVirtualPointers()
H A DVTableBuilder.cpp248 NonVirtualOffset += Layout.getBaseClassOffset(Base); in ComputeBaseOffset()
365 CharUnits Offset = Layout.getBaseClassOffset(BaseDecl); in ComputeBaseOffsets()
399 BaseOffset = Layout.getBaseClassOffset(BaseDecl) + Base.getBaseOffset(); in dump()
645 assert(Layout.getBaseClassOffset(PrimaryBase).isZero() && in AddVCallAndVBaseOffsets()
697 assert(Layout.getBaseClassOffset(PrimaryBase).isZero() && in AddVCallOffsets()
744 Layout.getBaseClassOffset(BaseDecl); in AddVCallOffsets()
1431 assert(Layout.getBaseClassOffset(PrimaryBase).isZero() && in IsOverriderUsed()
1505 assert(Layout.getBaseClassOffset(PrimaryBase).isZero() && in AddMethods()
1818 CharUnits RelativeBaseOffset = Layout.getBaseClassOffset(BaseDecl); in LayoutSecondaryVTables()
1890 OffsetInLayoutClass + Layout.getBaseClassOffset(BaseDecl); in DeterminePrimaryVirtualBases()
[all …]
H A DRecordLayout.cpp86 assert(getBaseClassOffset(PrimaryBase).isZero() && in ASTRecordLayout()
H A DRecordLayoutBuilder.cpp286 CharUnits BaseOffset = Offset + Layout.getBaseClassOffset(Base->Class); in CanPlaceBaseSubobjectAtOffset()
336 CharUnits BaseOffset = Offset + Layout.getBaseClassOffset(Base->Class); in UpdateEmptyBaseSubobjects()
397 CharUnits BaseOffset = Offset + Layout.getBaseClassOffset(BaseDecl); in CanPlaceFieldSubobjectAtOffset()
508 CharUnits BaseOffset = Offset + Layout.getBaseClassOffset(BaseDecl); in UpdateEmptyFieldSubobjects()
1146 CharUnits BaseOffset = Offset + Layout.getBaseClassOffset(Base->Class); in AddPrimaryVirtualBaseOffsets()
3656 return Layout.getBaseClassOffset(L) < Layout.getBaseClassOffset(R); in DumpRecordLayout()
3661 CharUnits BaseOffset = Offset + Layout.getBaseClassOffset(Base); in DumpRecordLayout()
H A DASTContext.cpp2585 Offset += Layout->getBaseClassOffset(Base); in getOffsetOfBaseWithVBPtr()
2602 ThisAdjustment += getASTRecordLayout(Derived).getBaseClassOffset(Base); in getMemberPointerPathAdjustment()
2691 return Context.toBits(Layout.getBaseClassOffset(RD)); in getSubobjectOffset()
2788 return Layout.getBaseClassOffset(L) < Layout.getBaseClassOffset(R); in structHasUniqueObjectRepresentations()
9009 uint64_t offs = toBits(layout.getBaseClassOffset(base)); in getObjCEncodingForStructureImpl()
H A DExprConstant.cpp3133 Result.Offset -= Layout.getBaseClassOffset(Base); in CastToDerivedClass()
3149 Obj.getLValueOffset() += RL->getBaseClassOffset(Base); in HandleLValueDirectBase()
7107 Layout.getBaseClassOffset(BaseDecl) + Offset)) in visitRecord()
7374 BS.getType(), Layout.getBaseClassOffset(BaseDecl) + Offset); in visit()
14190 Result += RL.getBaseClassOffset(cast<CXXRecordDecl>(BaseRT->getDecl())); in VisitOffsetOfExpr()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DRecordLayout.h249 CharUnits getBaseClassOffset(const CXXRecordDecl *Base) const { in getBaseClassOffset() function
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCXX.cpp107 if (!ClassLayout.getBaseClassOffset(UniqueBase).isZero()) in TryEmitBaseDestructorAsAlias()
H A DCGClass.cpp192 Offset += Layout.getBaseClassOffset(BaseDecl); in computeNonVirtualBaseClassOffset()
236 Offset = Layout.getBaseClassOffset(Base); in GetAddressOfDirectBaseInCompleteClass()
489 Layout.getBaseClassOffset(Base); in GetVTTParameter()
2661 BaseOffset = Base.getBaseOffset() + Layout.getBaseClassOffset(BaseDecl); in getVTablePointers()
2663 OffsetFromNearestVBase + Layout.getBaseClassOffset(BaseDecl); in getVTablePointers()
H A DCodeGenTBAA.cpp449 uint64_t Offset = Layout.getBaseClassOffset(BaseRD).getQuantity(); in getBaseTypeInfoHelper()
H A DSwiftCallingConv.cpp155 addTypedData(baseRecord, begin + layout.getBaseClassOffset(baseRecord)); in addTypedData()
H A DCGRecordLayoutBuilder.cpp737 Members.push_back(MemberInfo(Layout.getBaseClassOffset(BaseDecl), in accumulateBases()
H A DItaniumCXXABI.cpp1554 Offset += L.getBaseClassOffset( in computeOffsetHint()
1704 PathOffset += L.getBaseClassOffset(Base); in emitExactDynamicCast()
4435 Offset = Layout.getBaseClassOffset(BaseDecl); in BuildVMIClassTypeInfo()
H A DCGExprAgg.cpp2084 if (Layout.getBaseClassOffset(BaseRD) + in getOverlapForBaseInit()
H A DMicrosoftCXXABI.cpp1745 Offset = Layout.getBaseClassOffset(BaseRD); in emitVTableTypeMetadata()
3651 .getASTRecordLayout(Parent->RD).getBaseClassOffset(RD).getQuantity(); in initialize()
H A DCGExprConstant.cpp836 CharUnits BaseOffset = Layout.getBaseClassOffset(BD); in Build()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DLoongArch.cpp187 B.getType(), CurOff + Layout.getBaseClassOffset(BDecl), in detectFARsEligibleStructHelper()
H A DRISCV.cpp192 CharUnits BaseOff = Layout.getBaseClassOffset(BDecl); in detectFPCCEligibleStructHelper()
H A DX86.cpp2075 OffsetBase + getContext().toBits(Layout.getBaseClassOffset(Base)); in classify()
2346 unsigned BaseOffset = Context.toBits(Layout.getBaseClassOffset(Base)); in BitsContainNoUserData()
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DPointer.cpp201 Offset += Layout.getBaseClassOffset(RD); in toAPValue()
H A DInterpBuiltin.cpp1517 Result += RL.getBaseClassOffset(cast<CXXRecordDecl>(BaseRT->getDecl())); in InterpretOffsetOf()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangASTImporter.cpp619 record_layout.getBaseClassOffset(origin_base_cxx_record.decl); in ExtractBaseOffsets()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DMemRegion.cpp1581 BaseOffset = Layout.getBaseClassOffset(BOR->getDecl()); in calculateOffset()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaCast.cpp1057 Offset += DerivedLayout.getBaseClassOffset(BaseRD); in DiagnoseReinterpretUpDownCast()
/freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp5918 record_layout.getBaseClassOffset(base_class_decl) in GetDirectBaseClassAtIndex()
6290 bit_offset = record_layout.getBaseClassOffset(base_class_decl) in GetChildCompilerTypeAtIndex()

12