Lines Matching refs:ClassDecl
175 CodeGenModule::GetNonVirtualBaseClassOffset(const CXXRecordDecl *ClassDecl, in GetNonVirtualBaseClassOffset() argument
181 computeNonVirtualBaseClassOffset(ClassDecl, PathBegin, PathEnd); in GetNonVirtualBaseClassOffset()
521 const CXXRecordDecl *ClassDecl, in EmitBaseInitializer() argument
543 CGF.InitializeVTablePointers(ClassDecl); in EmitBaseInitializer()
548 CGF.GetAddressOfDirectBaseInCompleteClass(ThisPtr, ClassDecl, in EmitBaseInitializer()
696 const CXXRecordDecl *ClassDecl, in EmitMemberInitializer() argument
710 QualType RecordTy = CGF.getContext().getTypeDeclType(ClassDecl); in EmitMemberInitializer()
856 const CXXRecordDecl *ClassDecl = in EmitAsanPrologueOrEpilogue() local
859 if (!ClassDecl->mayInsertExtraPadding()) return; in EmitAsanPrologueOrEpilogue()
867 const ASTRecordLayout &Info = Context.getASTRecordLayout(ClassDecl); in EmitAsanPrologueOrEpilogue()
876 for (const auto *Field : ClassDecl->fields()) { in EmitAsanPrologueOrEpilogue()
995 FieldMemcpyizer(CodeGenFunction &CGF, const CXXRecordDecl *ClassDecl, in FieldMemcpyizer() argument
997 : CGF(CGF), ClassDecl(ClassDecl), SrcRec(SrcRec), in FieldMemcpyizer()
998 RecLayout(CGF.getContext().getASTRecordLayout(ClassDecl)), in FieldMemcpyizer()
1052 QualType RecordTy = CGF.getContext().getTypeDeclType(ClassDecl); in emitMemcpy()
1072 const CXXRecordDecl *ClassDecl; member in __anon7d8fdd600311::FieldMemcpyizer
1205 QualType RecordTy = CGF.getContext().getTypeDeclType(ClassDecl); in pushEHDestructors()
1358 const CXXRecordDecl *ClassDecl = CD->getParent(); in EmitCtorPrologue() local
1364 if (ClassDecl->getNumVBases() && in EmitCtorPrologue()
1369 CGM.getCXXABI().EmitCtorCompleteObjectHandler(*this, ClassDecl); in EmitCtorPrologue()
1380 EmitBaseInitializer(*this, ClassDecl, *B, CtorType); in EmitCtorPrologue()
1397 EmitBaseInitializer(*this, ClassDecl, *B, CtorType); in EmitCtorPrologue()
1402 InitializeVTablePointers(ClassDecl); in EmitCtorPrologue()
1486 const CXXRecordDecl *ClassDecl = Dtor->getParent(); in CanSkipVTablePointerInitialization() local
1487 if (!ClassDecl->isDynamicClass()) in CanSkipVTablePointerInitialization()
1494 for (const auto *Field : ClassDecl->fields()) in CanSkipVTablePointerInitialization()
1620 const CXXRecordDecl *ClassDecl = Dtor->getParent(); in Emit() local
1622 CGF.getContext().getTagDeclType(ClassDecl)); in Emit()
1644 const CXXRecordDecl *ClassDecl = Dtor->getParent(); in Emit() local
1646 CGF.getContext().getTagDeclType(ClassDecl)); in Emit()
1828 const CXXRecordDecl *ClassDecl = DD->getParent(); in EnterDtorCleanups() local
1831 if (ClassDecl->isUnion()) in EnterDtorCleanups()
1839 SanOpts.has(SanitizerKind::Memory) && ClassDecl->getNumVBases() && in EnterDtorCleanups()
1840 ClassDecl->isPolymorphic()) in EnterDtorCleanups()
1845 for (const auto &Base : ClassDecl->vbases()) { in EnterDtorCleanups()
1865 SanOpts.has(SanitizerKind::Memory) && !ClassDecl->getNumVBases() && in EnterDtorCleanups()
1866 ClassDecl->isPolymorphic()) in EnterDtorCleanups()
1870 for (const auto &Base : ClassDecl->bases()) { in EnterDtorCleanups()
1893 for (const auto *Field : ClassDecl->fields()) { in EnterDtorCleanups()
2107 const CXXRecordDecl *ClassDecl = D->getParent(); in EmitCXXConstructorCall() local
2114 This.getPointer(), getContext().getRecordType(ClassDecl)); in EmitCXXConstructorCall()
2129 QualType DestTy = getContext().getTypeDeclType(ClassDecl); in EmitCXXConstructorCall()
2166 ClassDecl->isDynamicClass() && Type != Ctor_Base && in EmitCXXConstructorCall()
2167 CGM.getCXXABI().canSpeculativelyEmitVTable(ClassDecl) && in EmitCXXConstructorCall()
2169 EmitVTableAssumptionLoads(ClassDecl, This); in EmitCXXConstructorCall()
2282 void CodeGenFunction::EmitVTableAssumptionLoads(const CXXRecordDecl *ClassDecl, in EmitVTableAssumptionLoads() argument
2284 if (CGM.getCXXABI().doStructorsInitializeVPtrs(ClassDecl)) in EmitVTableAssumptionLoads()
2285 for (const VPtr &Vptr : getVTablePointers(ClassDecl)) in EmitVTableAssumptionLoads()
2380 const CXXRecordDecl *ClassDecl = Ctor->getParent(); in EmitDelegatingCXXConstructorCall() local
2381 if (CGM.getLangOpts().Exceptions && !ClassDecl->hasTrivialDestructor()) { in EmitDelegatingCXXConstructorCall()
2386 ClassDecl->getDestructor(), in EmitDelegatingCXXConstructorCall()
2422 CXXRecordDecl *ClassDecl = T->getAsCXXRecordDecl(); in PushDestructorCleanup() local
2423 if (!ClassDecl) return; in PushDestructorCleanup()
2424 if (ClassDecl->hasTrivialDestructor()) return; in PushDestructorCleanup()
2426 const CXXDestructorDecl *D = ClassDecl->getDestructor(); in PushDestructorCleanup()
2655 const CXXRecordDecl *ClassDecl = cast<CXXRecordDecl>(ClassTy->getDecl()); in EmitVTablePtrCheckForCast() local
2657 if (!ClassDecl->isCompleteDefinition() || !ClassDecl->isDynamicClass()) in EmitVTablePtrCheckForCast()
2661 ClassDecl = LeastDerivedClassWithSameLayout(ClassDecl); in EmitVTablePtrCheckForCast()
2678 GetVTablePtr(Address(Derived, getPointerAlign()), Int8PtrTy, ClassDecl); in EmitVTablePtrCheckForCast()
2680 EmitVTablePtrCheck(ClassDecl, VTable, TCK, Loc); in EmitVTablePtrCheckForCast()