Lines Matching refs:BaseDecl
144 const CXXRecordDecl *BaseDecl = I.getType()->getAsCXXRecordDecl();
147 const ASTRecordLayout &Layout = Context.getASTRecordLayout(BaseDecl);
148 if (BaseDecl->isEmpty()) {
351 const CXXRecordDecl *BaseDecl = I.getType()->getAsCXXRecordDecl();
353 CharUnits BaseOffset = Offset + Layout.getBaseClassOffset(BaseDecl);
354 if (!CanPlaceFieldSubobjectAtOffset(BaseDecl, Class, BaseOffset))
457 const CXXRecordDecl *BaseDecl = I.getType()->getAsCXXRecordDecl();
459 CharUnits BaseOffset = Offset + Layout.getBaseClassOffset(BaseDecl);
460 UpdateEmptyFieldSubobjects(BaseDecl, Class, BaseOffset);
905 const CXXRecordDecl *BaseDecl = I.getType()->getAsCXXRecordDecl();
907 Info->Bases.push_back(ComputeBaseSubobjectInfo(BaseDecl, IsVirtual, Info));
929 const CXXRecordDecl *BaseDecl = I.getType()->getAsCXXRecordDecl();
932 BaseSubobjectInfo *Info = ComputeBaseSubobjectInfo(BaseDecl, IsVirtual,
937 assert(VirtualBaseInfo.count(BaseDecl) &&
941 assert(!NonVirtualBaseInfo.count(BaseDecl) &&
943 NonVirtualBaseInfo.insert(std::make_pair(BaseDecl, Info));
1020 const CXXRecordDecl *BaseDecl = I.getType()->getAsCXXRecordDecl();
1025 if (BaseDecl == PrimaryBase && !PrimaryBaseIsVirtual)
1029 BaseSubobjectInfo *BaseInfo = NonVirtualBaseInfo.lookup(BaseDecl);
1101 const CXXRecordDecl *BaseDecl = I.getType()->getAsCXXRecordDecl();
1104 if (PrimaryBase != BaseDecl || !PrimaryBaseIsVirtual) {
1105 bool IndirectPrimaryBase = IndirectPrimaryBases.count(BaseDecl);
1110 if (!VisitedVirtualBases.insert(BaseDecl))
1113 const BaseSubobjectInfo *BaseInfo = VirtualBaseInfo.lookup(BaseDecl);
1120 if (!BaseDecl->getNumVBases()) {
1125 LayoutVirtualBases(BaseDecl, MostDerivedClass);
1307 const CXXRecordDecl *BaseDecl = I.getType()->getAsCXXRecordDecl();
1309 assert(Bases.count(BaseDecl) && "Did not find base offset!");
1314 const CXXRecordDecl *BaseDecl = I.getType()->getAsCXXRecordDecl();
1316 assert(VBases.count(BaseDecl) && "Did not find base offset!");
2157 BaseDecl,
2381 const CXXRecordDecl *BaseDecl = I.getType()->getAsCXXRecordDecl();
2382 const ASTRecordLayout &BaseLayout = Context.getASTRecordLayout(BaseDecl);
2390 SharedVBPtrBase = BaseDecl;
2398 PrimaryBase = BaseDecl;
2402 layoutNonVirtualBase(BaseDecl, BaseLayout, PreviousBaseLayout);
2417 const CXXRecordDecl *BaseDecl = I.getType()->getAsCXXRecordDecl();
2418 const ASTRecordLayout &BaseLayout = Context.getASTRecordLayout(BaseDecl);
2421 VBPtrOffset = Bases[BaseDecl] + BaseLayout.getNonVirtualSize();
2431 layoutNonVirtualBase(BaseDecl, BaseLayout, PreviousBaseLayout);
2432 VBPtrOffset = Bases[BaseDecl] + BaseLayout.getNonVirtualSize();
2444 const CXXRecordDecl *BaseDecl,
2455 Bases.insert(std::make_pair(BaseDecl, BaseOffset));
2605 const CXXRecordDecl *BaseDecl = I.getType()->getAsCXXRecordDecl();
2606 const ASTRecordLayout &BaseLayout = Context.getASTRecordLayout(BaseDecl);
2617 const CXXRecordDecl *BaseDecl = I.getType()->getAsCXXRecordDecl();
2618 const ASTRecordLayout &BaseLayout = Context.getASTRecordLayout(BaseDecl);
2619 bool HasVtordisp = HasVtordispSet.count(BaseDecl);
2631 VBases.insert(std::make_pair(BaseDecl,
2684 const CXXRecordDecl *BaseDecl = I.getType()->getAsCXXRecordDecl();
2685 const ASTRecordLayout &Layout = Context.getASTRecordLayout(BaseDecl);
2687 HasVtordispSet.insert(BaseDecl);
2695 const CXXRecordDecl *BaseDecl = I.getType()->getAsCXXRecordDecl();
2696 const ASTRecordLayout &Layout = Context.getASTRecordLayout(BaseDecl);
2736 const CXXRecordDecl *BaseDecl = I.getType()->getAsCXXRecordDecl();
2737 if (!HasVtordispSet.count(BaseDecl) &&
2738 RequiresVtordisp(BasesWithOverriddenMethods, BaseDecl))
2739 HasVtordispSet.insert(BaseDecl);