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()
115 (void) CGM.getCXXABI().getAddrOfVTable(RD, CharUnits()); in GetAddrOfVTT()
117 VTTBuilder Builder(CGM.getContext(), RD, /*GenerateDefinition=*/false); in GetAddrOfVTT()
129 uint64_t CodeGenVTables::getSubVTTIndex(const CXXRecordDecl *RD, in getSubVTTIndex() argument
131 BaseSubobjectPairTy ClassSubobjectPair(RD, Base); in getSubVTTIndex()
137 VTTBuilder Builder(CGM.getContext(), RD, /*GenerateDefinition=*/false); in getSubVTTIndex()
143 BaseSubobjectPairTy ClassSubobjectPair(RD, I->first); in getSubVTTIndex()
155 CodeGenVTables::getSecondaryVirtualPointerIndex(const CXXRecordDecl *RD, in getSecondaryVirtualPointerIndex() argument
158 SecondaryVirtualPointerIndices.find(std::make_pair(RD, Base)); in getSecondaryVirtualPointerIndex()
163 VTTBuilder Builder(CGM.getContext(), RD, /*GenerateDefinition=*/false); in getSecondaryVirtualPointerIndex()
170 std::make_pair(RD, I->first); in getSecondaryVirtualPointerIndex()
175 I = SecondaryVirtualPointerIndices.find(std::make_pair(RD, Base)); in getSecondaryVirtualPointerIndex()