/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 | 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 | 368 getVTableAddressPoint(BaseSubobject Base, 375 BaseSubobject Base, 381 getVTableAddressPointForConstExpr(BaseSubobject Base,
|
D | CGCXX.cpp | 278 .getAddressPoint(BaseSubobject(RD, CharUnits::Zero())); in BuildAppleKextVirtualCall()
|
D | ItaniumCXXABI.cpp | 254 getVTableAddressPoint(BaseSubobject Base, 259 BaseSubobject Base, const CXXRecordDecl *NearestVBase) override; 263 BaseSubobject Base, const CXXRecordDecl *NearestVBase); 266 getVTableAddressPointForConstExpr(BaseSubobject Base, 1510 CodeGenFunction &CGF, const CXXRecordDecl *VTableClass, BaseSubobject Base, in getVTableAddressPointInStructor() 1522 ItaniumCXXABI::getVTableAddressPoint(BaseSubobject Base, in getVTableAddressPoint() 1540 CodeGenFunction &CGF, const CXXRecordDecl *VTableClass, BaseSubobject Base, in getVTableAddressPointInStructorWithVTT() 1559 BaseSubobject Base, const CXXRecordDecl *VTableClass) { in getVTableAddressPointForConstExpr()
|
D | CGClass.cpp | 456 CGM.getVTables().getSubVTTIndex(RD, BaseSubobject(Base, BaseOffset)); in GetVTTParameter() 2362 getVTablePointers(BaseSubobject(VTableClass, CharUnits::Zero()), in getVTablePointers() 2370 void CodeGenFunction::getVTablePointers(BaseSubobject Base, in getVTablePointers() 2421 BaseSubobject(BaseDecl, BaseOffset), in getVTablePointers()
|
D | MicrosoftCXXABI.cpp | 273 getVTableAddressPoint(BaseSubobject Base, 278 BaseSubobject Base, const CXXRecordDecl *NearestVBase) override; 281 getVTableAddressPointForConstExpr(BaseSubobject Base, 1593 CodeGenFunction &CGF, const CXXRecordDecl *VTableClass, BaseSubobject Base, in getVTableAddressPointInStructor() 1611 MicrosoftCXXABI::getVTableAddressPoint(BaseSubobject Base, in getVTableAddressPoint() 1619 BaseSubobject Base, const CXXRecordDecl *VTableClass) { in getVTableAddressPointForConstExpr()
|
D | CGVTables.cpp | 660 const BaseSubobject &Base, in GenerateConstructionVTable()
|
D | CodeGenFunction.h | 1359 BaseSubobject Base; 1373 void getVTablePointers(BaseSubobject Base, const CXXRecordDecl *NearestVBase,
|
D | CGExprConstant.cpp | 437 BaseSubobject(CD, Offset), VTableClass); in Build()
|