Home
last modified time | relevance | path

Searched refs:VTableComponent (Results 1 – 9 of 9) 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/llvm-project/clang/include/clang/AST/
DVTableBuilder.h29 class VTableComponent {
52 VTableComponent() = default;
54 static VTableComponent MakeVCallOffset(CharUnits Offset) { in MakeVCallOffset()
55 return VTableComponent(CK_VCallOffset, Offset); in MakeVCallOffset()
58 static VTableComponent MakeVBaseOffset(CharUnits Offset) { in MakeVBaseOffset()
59 return VTableComponent(CK_VBaseOffset, Offset); in MakeVBaseOffset()
62 static VTableComponent MakeOffsetToTop(CharUnits Offset) { in MakeOffsetToTop()
63 return VTableComponent(CK_OffsetToTop, Offset); in MakeOffsetToTop()
66 static VTableComponent MakeRTTI(const CXXRecordDecl *RD) { in MakeRTTI()
67 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/llvm-project/clang/lib/AST/
DVTableBuilder.cpp553 typedef SmallVector<VTableComponent, 64> VTableComponentVectorTy;
724 VTableComponent::MakeVCallOffset(Offset)); in AddVCallOffsets()
769 VTableComponent::MakeVBaseOffset(Offset)); in AddVBaseOffsets()
828 SmallVector<VTableComponent, 64> Components;
1043 ArrayRef<VTableComponent> vtable_components() const { return Components; } in vtable_components()
1119 VTableComponent::CK_UnusedFunctionPointer) in ComputeThisAdjustments()
1161 const VTableComponent &Component = Components[TI.first]; in ComputeThisAdjustments()
1168 case VTableComponent::CK_FunctionPointer: in ComputeThisAdjustments()
1171 case VTableComponent::CK_CompleteDtorPointer: in ComputeThisAdjustments()
1174 case VTableComponent::CK_DeletingDtorPointer: 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()
/external/llvm-project/clang/lib/CodeGen/
DCGVTables.cpp710 case VTableComponent::CK_VCallOffset: in addVTableComponent()
713 case VTableComponent::CK_VBaseOffset: in addVTableComponent()
716 case VTableComponent::CK_OffsetToTop: in addVTableComponent()
719 case VTableComponent::CK_RTTI: in addVTableComponent()
727 case VTableComponent::CK_FunctionPointer: in addVTableComponent()
728 case VTableComponent::CK_CompleteDtorPointer: in addVTableComponent()
729 case VTableComponent::CK_DeletingDtorPointer: { in addVTableComponent()
736 case VTableComponent::CK_FunctionPointer: in addVTableComponent()
739 case VTableComponent::CK_CompleteDtorPointer: in addVTableComponent()
742 case VTableComponent::CK_DeletingDtorPointer: in addVTableComponent()
[all …]
DMicrosoftCXXABI.cpp1716 [](const VTableComponent &VTC) { return VTC.isRTTIKind(); })) in emitVTableDefinitions()