Lines Matching refs:RD
44 const CXXRecordDecl *RD) { in EmitVTTDefinition() argument
45 VTTBuilder Builder(CGM.getContext(), RD, /*GenerateDefinition=*/true); in EmitVTTDefinition()
56 VTables.push_back(GetAddrOfVTTVTable(*this, CGM, RD, *i, Linkage, in EmitVTTDefinition()
66 if (VTTVT.getBase() == RD) { in EmitVTTDefinition()
69 getItaniumVTableContext().getVTableLayout(RD).getAddressPoint( in EmitVTTDefinition()
101 CGM.setGlobalVisibility(VTT, RD); in EmitVTTDefinition()
104 llvm::GlobalVariable *CodeGenVTables::GetAddrOfVTT(const CXXRecordDecl *RD) { in GetAddrOfVTT() argument
105 assert(RD->getNumVBases() && "Only classes with virtual bases need a VTT"); in GetAddrOfVTT()
110 .mangleCXXVTT(RD, Out); in GetAddrOfVTT()
114 (void) CGM.getCXXABI().getAddrOfVTable(RD, CharUnits()); in GetAddrOfVTT()
116 VTTBuilder Builder(CGM.getContext(), RD, /*GenerateDefinition=*/false); in GetAddrOfVTT()
128 uint64_t CodeGenVTables::getSubVTTIndex(const CXXRecordDecl *RD, in getSubVTTIndex() argument
130 BaseSubobjectPairTy ClassSubobjectPair(RD, Base); in getSubVTTIndex()
136 VTTBuilder Builder(CGM.getContext(), RD, /*GenerateDefinition=*/false); in getSubVTTIndex()
142 BaseSubobjectPairTy ClassSubobjectPair(RD, I->first); in getSubVTTIndex()
154 CodeGenVTables::getSecondaryVirtualPointerIndex(const CXXRecordDecl *RD, in getSecondaryVirtualPointerIndex() argument
157 SecondaryVirtualPointerIndices.find(std::make_pair(RD, Base)); in getSecondaryVirtualPointerIndex()
162 VTTBuilder Builder(CGM.getContext(), RD, /*GenerateDefinition=*/false); in getSecondaryVirtualPointerIndex()
169 std::make_pair(RD, I->first); in getSecondaryVirtualPointerIndex()
174 I = SecondaryVirtualPointerIndices.find(std::make_pair(RD, Base)); in getSecondaryVirtualPointerIndex()