Lines Matching refs:Base

39     const CXXBaseSpecifier *Base = *I;
40 assert(!Base->isVirtual() && "Should not see virtual bases here!");
46 cast<CXXRecordDecl>(Base->getType()->getAs<RecordType>()->getDecl());
61 assert(PathBegin != PathEnd && "Base path should not be empty!");
83 const CXXRecordDecl *Base,
94 Offset = Layout.getVBaseClassOffset(Base);
96 Offset = Layout.getBaseClassOffset(Base);
105 V = Builder.CreateBitCast(V, ConvertType(Base)->getPointerTo());
141 assert(PathBegin != PathEnd && "Base path should not be empty!");
233 assert(PathBegin != PathEnd && "Base path should not be empty!");
294 const CXXRecordDecl *Base = cast<CXXMethodDecl>(GD.getDecl())->getParent();
303 } else if (RD == Base) {
313 Layout.getVBaseClassOffset(Base) :
314 Layout.getBaseClassOffset(Base);
317 CGM.getVTables().getSubVTTIndex(RD, BaseSubobject(Base, BaseOffset));
339 CallBaseDtor(const CXXRecordDecl *Base, bool BaseIsVirtual)
340 : BaseClass(Base), BaseIsVirtual(BaseIsVirtual) {}
1439 const CXXBaseSpecifier &Base = *I;
1441 = cast<CXXRecordDecl>(Base.getType()->getAs<RecordType>()->getDecl());
1460 const CXXBaseSpecifier &Base = *I;
1463 if (Base.isVirtual())
1466 CXXRecordDecl *BaseClassDecl = Base.getType()->getAsCXXRecordDecl();
1884 CodeGenFunction::InitializeVTablePointer(BaseSubobject Base,
1889 const CXXRecordDecl *RD = Base.getBase();
1899 CGM.getVTables().getSecondaryVirtualPointerIndex(VTableClass, Base);
1910 CGM.getVTableContext().getVTableLayout(VTableClass).getAddressPoint(Base);
1927 NonVirtualOffset = Base.getBaseOffset();
1947 CodeGenFunction::InitializeVTablePointers(BaseSubobject Base,
1958 InitializeVTablePointer(Base, NearestVBase, OffsetFromNearestVBase,
1962 const CXXRecordDecl *RD = Base.getBase();
1992 BaseOffset = Base.getBaseOffset() + Layout.getBaseClassOffset(BaseDecl);
2031 static const CXXRecordDecl *getMostDerivedClassDecl(const Expr *Base) {
2032 const Expr *E = Base;
2082 static bool canDevirtualizeMemberFunctionCall(const Expr *Base,
2094 const CXXRecordDecl *MostDerivedClassDecl = getMostDerivedClassDecl(Base);
2108 Base = skipNoOpCastsAndParens(Base);
2109 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(Base)) {
2119 if (isa<CXXConstructExpr>(Base))
2123 if (isa<CXXBindTemporaryExpr>(Base))
2127 if (const CallExpr *CE = dyn_cast<CallExpr>(Base))