Home
last modified time | relevance | path

Searched refs:VTableComponent (Results 1 – 4 of 4) 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.cpp527 const CXXRecordDecl *RD, const VTableComponent *Components, in CreateVTableInitializer()
542 VTableComponent Component = Components[I]; in CreateVTableInitializer()
547 case VTableComponent::CK_VCallOffset: in CreateVTableInitializer()
552 case VTableComponent::CK_VBaseOffset: in CreateVTableInitializer()
557 case VTableComponent::CK_OffsetToTop: in CreateVTableInitializer()
562 case VTableComponent::CK_RTTI: in CreateVTableInitializer()
565 case VTableComponent::CK_FunctionPointer: in CreateVTableInitializer()
566 case VTableComponent::CK_CompleteDtorPointer: in CreateVTableInitializer()
567 case VTableComponent::CK_DeletingDtorPointer: { in CreateVTableInitializer()
574 case VTableComponent::CK_FunctionPointer: in CreateVTableInitializer()
[all …]
DCGVTables.h65 const CXXRecordDecl *RD, const VTableComponent *Components,