/external/clang/include/clang/AST/ |
D | BaseSubobject.h | 27 class BaseSubobject { 35 BaseSubobject() { } in BaseSubobject() function 36 BaseSubobject(const CXXRecordDecl *Base, CharUnits BaseOffset) in BaseSubobject() function 45 friend bool operator==(const BaseSubobject &LHS, const BaseSubobject &RHS) { 54 template<> struct DenseMapInfo<clang::BaseSubobject> { 55 static clang::BaseSubobject getEmptyKey() { 56 return clang::BaseSubobject( 61 static clang::BaseSubobject getTombstoneKey() { 62 return clang::BaseSubobject( 67 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 | 228 typedef llvm::DenseMap<BaseSubobject, uint64_t> AddressPointsMapTy; 279 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() 72 LayoutVTT(BaseSubobject(BaseDecl, BaseOffset), /*BaseIsVirtual=*/false); in LayoutSecondaryVTTs() 77 VTTBuilder::LayoutSecondaryVirtualPointers(BaseSubobject Base, in LayoutSecondaryVirtualPointers() 132 AddVTablePointer(BaseSubobject(BaseDecl, BaseOffset), VTableIndex, in LayoutSecondaryVirtualPointers() 137 LayoutSecondaryVirtualPointers(BaseSubobject(BaseDecl, BaseOffset), in LayoutSecondaryVirtualPointers() 144 VTTBuilder::LayoutSecondaryVirtualPointers(BaseSubobject Base, in LayoutSecondaryVirtualPointers() 166 LayoutVTT(BaseSubobject(BaseDecl, BaseOffset), /*BaseIsVirtual=*/true); in LayoutVirtualVTTs() 176 void VTTBuilder::LayoutVTT(BaseSubobject Base, bool BaseIsVirtual) { in LayoutVTT()
|
D | VTableBuilder.cpp | 121 void ComputeBaseOffsets(BaseSubobject Base, bool IsVirtual, 131 void dump(raw_ostream &Out, BaseSubobject Base, 152 dump(llvm::errs(), BaseSubobject(MostDerivedClass, CharUnits::Zero()), in dump() 170 ComputeBaseOffsets(BaseSubobject(MostDerivedClass, CharUnits::Zero()), in FinalOverriders() 325 FinalOverriders::ComputeBaseOffsets(BaseSubobject Base, bool IsVirtual, in ComputeBaseOffsets() 371 ComputeBaseOffsets(BaseSubobject(BaseDecl, BaseOffset), in ComputeBaseOffsets() 378 void FinalOverriders::dump(raw_ostream &Out, BaseSubobject Base, in dump() 402 dump(Out, BaseSubobject(BaseDecl, BaseOffset), VisitedVirtualBases); in dump() 572 void AddVCallAndVBaseOffsets(BaseSubobject Base, bool BaseIsVirtual, 576 void AddVCallOffsets(BaseSubobject Base, CharUnits VBaseOffset); [all …]
|
/external/clang/lib/CodeGen/ |
D | CGVTables.h | 37 typedef llvm::DenseMap<BaseSubobject, uint64_t> VTableAddressPointsMapTy; 39 typedef std::pair<const CXXRecordDecl *, BaseSubobject> BaseSubobjectPairTy; 81 uint64_t getSubVTTIndex(const CXXRecordDecl *RD, BaseSubobject Base); 86 BaseSubobject Base); 91 GenerateConstructionVTable(const CXXRecordDecl *RD, const BaseSubobject &Base,
|
D | CGVTT.cpp | 26 llvm::DenseMap<BaseSubobject, uint64_t> &AddressPoints) { in GetAddrOfVTTVTable() argument 129 BaseSubobject Base) { in getSubVTTIndex() 138 for (llvm::DenseMap<BaseSubobject, uint64_t>::const_iterator I = in getSubVTTIndex() 155 BaseSubobject Base) { in getSecondaryVirtualPointerIndex() 165 for (llvm::DenseMap<BaseSubobject, uint64_t>::const_iterator I = in getSecondaryVirtualPointerIndex() 168 std::pair<const CXXRecordDecl *, BaseSubobject> Pair = in getSecondaryVirtualPointerIndex()
|
D | CGCXXABI.h | 384 getVTableAddressPoint(BaseSubobject Base, 391 BaseSubobject Base, 397 getVTableAddressPointForConstExpr(BaseSubobject Base,
|
D | CGCXX.cpp | 278 .getAddressPoint(BaseSubobject(RD, CharUnits::Zero())); in BuildAppleKextVirtualCall()
|
D | ItaniumCXXABI.cpp | 246 getVTableAddressPoint(BaseSubobject Base, 251 BaseSubobject Base, const CXXRecordDecl *NearestVBase) override; 255 BaseSubobject Base, const CXXRecordDecl *NearestVBase); 258 getVTableAddressPointForConstExpr(BaseSubobject Base, 1504 CodeGenFunction &CGF, const CXXRecordDecl *VTableClass, BaseSubobject Base, in getVTableAddressPointInStructor() 1516 ItaniumCXXABI::getVTableAddressPoint(BaseSubobject Base, in getVTableAddressPoint() 1534 CodeGenFunction &CGF, const CXXRecordDecl *VTableClass, BaseSubobject Base, in getVTableAddressPointInStructorWithVTT() 1553 BaseSubobject Base, const CXXRecordDecl *VTableClass) { in getVTableAddressPointForConstExpr()
|
D | CGClass.cpp | 457 CGM.getVTables().getSubVTTIndex(RD, BaseSubobject(Base, BaseOffset)); in GetVTTParameter() 2484 getVTablePointers(BaseSubobject(VTableClass, CharUnits::Zero()), in getVTablePointers() 2492 void CodeGenFunction::getVTablePointers(BaseSubobject Base, in getVTablePointers() 2543 BaseSubobject(BaseDecl, BaseOffset), in getVTablePointers()
|
D | MicrosoftCXXABI.cpp | 273 getVTableAddressPoint(BaseSubobject Base, 278 BaseSubobject Base, const CXXRecordDecl *NearestVBase) override; 281 getVTableAddressPointForConstExpr(BaseSubobject Base, 1585 CodeGenFunction &CGF, const CXXRecordDecl *VTableClass, BaseSubobject Base, in getVTableAddressPointInStructor() 1603 MicrosoftCXXABI::getVTableAddressPoint(BaseSubobject Base, in getVTableAddressPoint() 1611 BaseSubobject Base, const CXXRecordDecl *VTableClass) { in getVTableAddressPointForConstExpr()
|
D | CGVTables.cpp | 661 const BaseSubobject &Base, in GenerateConstructionVTable()
|
D | CodeGenFunction.h | 1442 BaseSubobject Base; 1456 void getVTablePointers(BaseSubobject Base, const CXXRecordDecl *NearestVBase,
|
D | CGExprConstant.cpp | 444 BaseSubobject(CD, Offset), VTableClass); in Build()
|