Home
last modified time | relevance | path

Searched refs:VTableComponent (Results 1 – 5 of 5) sorted by relevance

/external/clang/include/clang/AST/
DVTableBuilder.h31 class VTableComponent {
54 VTableComponent() = default;
56 static VTableComponent MakeVCallOffset(CharUnits Offset) { in MakeVCallOffset()
57 return VTableComponent(CK_VCallOffset, Offset); in MakeVCallOffset()
60 static VTableComponent MakeVBaseOffset(CharUnits Offset) { in MakeVBaseOffset()
61 return VTableComponent(CK_VBaseOffset, Offset); in MakeVBaseOffset()
64 static VTableComponent MakeOffsetToTop(CharUnits Offset) { in MakeOffsetToTop()
65 return VTableComponent(CK_OffsetToTop, Offset); in MakeOffsetToTop()
68 static VTableComponent MakeRTTI(const CXXRecordDecl *RD) { in MakeRTTI()
69 return VTableComponent(CK_RTTI, reinterpret_cast<uintptr_t>(RD)); in MakeRTTI()
[all …]
/external/clang/lib/AST/
DVTableBuilder.cpp552 typedef SmallVector<VTableComponent, 64> VTableComponentVectorTy;
717 VTableComponent::MakeVCallOffset(Offset)); in AddVCallOffsets()
762 VTableComponent::MakeVBaseOffset(Offset)); in AddVBaseOffsets()
822 SmallVector<VTableComponent, 64> Components;
1037 const VTableComponent *vtable_component_begin() const { in vtable_component_begin()
1041 const VTableComponent *vtable_component_end() const { in vtable_component_end()
1122 VTableComponent::CK_UnusedFunctionPointer) in ComputeThisAdjustments()
1164 const VTableComponent &Component = Components[TI.first]; in ComputeThisAdjustments()
1171 case VTableComponent::CK_FunctionPointer: in ComputeThisAdjustments()
1174 case VTableComponent::CK_CompleteDtorPointer: in ComputeThisAdjustments()
[all …]
/external/clang/lib/CodeGen/
DCGVTables.cpp524 const CXXRecordDecl *RD, const VTableComponent *Components, in CreateVTableInitializer()
539 VTableComponent Component = Components[I]; in CreateVTableInitializer()
544 case VTableComponent::CK_VCallOffset: in CreateVTableInitializer()
549 case VTableComponent::CK_VBaseOffset: in CreateVTableInitializer()
554 case VTableComponent::CK_OffsetToTop: in CreateVTableInitializer()
559 case VTableComponent::CK_RTTI: in CreateVTableInitializer()
562 case VTableComponent::CK_FunctionPointer: in CreateVTableInitializer()
563 case VTableComponent::CK_CompleteDtorPointer: in CreateVTableInitializer()
564 case VTableComponent::CK_DeletingDtorPointer: { in CreateVTableInitializer()
571 case VTableComponent::CK_FunctionPointer: in CreateVTableInitializer()
[all …]
DCGVTables.h65 const CXXRecordDecl *RD, const VTableComponent *Components,
DMicrosoftCXXABI.cpp1565 [](const VTableComponent &VTC) { return VTC.isRTTIKind(); })) in emitVTableDefinitions()