/external/clang/include/clang/AST/ |
D | BaseSubobject.h | 28 class BaseSubobject { 36 BaseSubobject() { } in BaseSubobject() function 37 BaseSubobject(const CXXRecordDecl *Base, CharUnits BaseOffset) in BaseSubobject() function 46 friend bool operator==(const BaseSubobject &LHS, const BaseSubobject &RHS) { 55 template<> struct DenseMapInfo<clang::BaseSubobject> { 56 static clang::BaseSubobject getEmptyKey() { 57 return clang::BaseSubobject( 62 static clang::BaseSubobject getTombstoneKey() { 63 return clang::BaseSubobject( 68 static unsigned getHashValue(const clang::BaseSubobject &Base) { [all …]
|
D | VTTBuilder.h | 36 VTTVTable(BaseSubobject Base, bool BaseIsVirtual) in VTTVTable() 52 BaseSubobject getBaseSubobject() const { in getBaseSubobject() 53 return BaseSubobject(getBase(), getBaseOffset()); in getBaseSubobject() 59 BaseSubobject VTableBase; 62 VTTComponent(uint64_t VTableIndex, BaseSubobject VTableBase) in VTTComponent() 89 typedef llvm::DenseMap<BaseSubobject, uint64_t> AddressPointsMapTy; 92 llvm::DenseMap<BaseSubobject, uint64_t> SubVTTIndicies; 96 llvm::DenseMap<BaseSubobject, uint64_t> SecondaryVirtualPointerIndices; 102 void AddVTablePointer(BaseSubobject Base, uint64_t VTableIndex, 106 void LayoutSecondaryVTTs(BaseSubobject Base); [all …]
|
D | VTableBuilder.h | 208 typedef llvm::DenseMap<BaseSubobject, uint64_t> AddressPointsMapTy; 255 uint64_t getAddressPoint(BaseSubobject Base) const { in getAddressPoint()
|
/external/clang/lib/AST/ |
D | VTTBuilder.cpp | 35 LayoutVTT(BaseSubobject(MostDerivedClass, CharUnits::Zero()), in VTTBuilder() 39 void VTTBuilder::AddVTablePointer(BaseSubobject Base, uint64_t VTableIndex, in AddVTablePointer() 56 void VTTBuilder::LayoutSecondaryVTTs(BaseSubobject Base) { in LayoutSecondaryVTTs() 74 LayoutVTT(BaseSubobject(BaseDecl, BaseOffset), /*BaseIsVirtual=*/false); in LayoutSecondaryVTTs() 79 VTTBuilder::LayoutSecondaryVirtualPointers(BaseSubobject Base, in LayoutSecondaryVirtualPointers() 135 AddVTablePointer(BaseSubobject(BaseDecl, BaseOffset), VTableIndex, in LayoutSecondaryVirtualPointers() 140 LayoutSecondaryVirtualPointers(BaseSubobject(BaseDecl, BaseOffset), in LayoutSecondaryVirtualPointers() 147 VTTBuilder::LayoutSecondaryVirtualPointers(BaseSubobject Base, in LayoutSecondaryVirtualPointers() 170 LayoutVTT(BaseSubobject(BaseDecl, BaseOffset), /*BaseIsVirtual=*/true); in LayoutVirtualVTTs() 180 void VTTBuilder::LayoutVTT(BaseSubobject Base, bool BaseIsVirtual) { in LayoutVTT()
|
D | VTableBuilder.cpp | 113 void ComputeBaseOffsets(BaseSubobject Base, bool IsVirtual, 123 void dump(raw_ostream &Out, BaseSubobject Base, 144 dump(llvm::errs(), BaseSubobject(MostDerivedClass, CharUnits::Zero()), in dump() 162 ComputeBaseOffsets(BaseSubobject(MostDerivedClass, CharUnits::Zero()), in FinalOverriders() 318 FinalOverriders::ComputeBaseOffsets(BaseSubobject Base, bool IsVirtual, in ComputeBaseOffsets() 365 ComputeBaseOffsets(BaseSubobject(BaseDecl, BaseOffset), in ComputeBaseOffsets() 372 void FinalOverriders::dump(raw_ostream &Out, BaseSubobject Base, in dump() 397 dump(Out, BaseSubobject(BaseDecl, BaseOffset), VisitedVirtualBases); in dump() 567 void AddVCallAndVBaseOffsets(BaseSubobject Base, bool BaseIsVirtual, 571 void AddVCallOffsets(BaseSubobject Base, CharUnits VBaseOffset); [all …]
|
/external/clang/lib/CodeGen/ |
D | CGVTables.h | 41 typedef llvm::DenseMap<BaseSubobject, uint64_t> VTableAddressPointsMapTy; 43 typedef std::pair<const CXXRecordDecl *, BaseSubobject> BaseSubobjectPairTy; 83 uint64_t getSubVTTIndex(const CXXRecordDecl *RD, BaseSubobject Base); 88 BaseSubobject Base); 92 uint64_t getAddressPoint(BaseSubobject Base, const CXXRecordDecl *RD); 105 GenerateConstructionVTable(const CXXRecordDecl *RD, const BaseSubobject &Base,
|
D | CGVTT.cpp | 25 llvm::DenseMap<BaseSubobject, uint64_t> &AddressPoints) { in GetAddrOfVTTVTable() argument 124 BaseSubobject Base) { in getSubVTTIndex() 133 for (llvm::DenseMap<BaseSubobject, uint64_t>::const_iterator I = in getSubVTTIndex() 150 BaseSubobject Base) { in getSecondaryVirtualPointerIndex() 160 for (llvm::DenseMap<BaseSubobject, uint64_t>::const_iterator I = in getSecondaryVirtualPointerIndex() 163 std::pair<const CXXRecordDecl *, BaseSubobject> Pair = in getSecondaryVirtualPointerIndex()
|
D | MicrosoftVBTables.h | 30 VBTableInfo(const CXXRecordDecl *ReusingBase, BaseSubobject VBPtrSubobject, in VBTableInfo() 40 BaseSubobject VBPtrSubobject; 108 BaseSubobject CurSubobject,
|
D | MicrosoftVBTables.cpp | 47 findUnambiguousPaths(MostDerived, BaseSubobject(MostDerived, in enumerateVBTables() 63 BaseSubobject CurSubobject, in findUnambiguousPaths() 104 findUnambiguousPaths(NextReusingBase, BaseSubobject(Base, NextOffset), in findUnambiguousPaths()
|
D | CGCXX.cpp | 301 .getAddressPoint(BaseSubobject(RD, CharUnits::Zero())); in BuildAppleKextVirtualCall()
|
D | CGClass.cpp | 318 CGM.getVTables().getSubVTTIndex(RD, BaseSubobject(Base, BaseOffset)); in GetVTTParameter() 1852 CodeGenFunction::InitializeVTablePointer(BaseSubobject Base, in InitializeVTablePointer() 1918 CodeGenFunction::InitializeVTablePointers(BaseSubobject Base, in InitializeVTablePointers() 1969 InitializeVTablePointers(BaseSubobject(BaseDecl, BaseOffset), in InitializeVTablePointers() 1987 InitializeVTablePointers(BaseSubobject(RD, CharUnits::Zero()), in InitializeVTablePointers()
|
D | CGExprConstant.cpp | 56 void AppendVTablePointer(BaseSubobject Base, llvm::Constant *VTable, 91 void ConstStructBuilder::AppendVTablePointer(BaseSubobject Base, in AppendVTablePointer() 435 AppendVTablePointer(BaseSubobject(CD, Offset), VTable, VTableClass); in Build()
|
D | CGVTables.cpp | 684 const BaseSubobject &Base, in GenerateConstructionVTable()
|
D | CodeGenFunction.h | 1180 void InitializeVTablePointer(BaseSubobject Base, 1187 void InitializeVTablePointers(BaseSubobject Base,
|