/external/clang/lib/CodeGen/ |
D | CGCXX.cpp | 33 bool CodeGenModule::TryEmitBaseDestructorAsAlias(const CXXDestructorDecl *D) { in TryEmitBaseDestructorAsAlias() 88 const CXXDestructorDecl *BaseD = UniqueBase->getDestructor(); in TryEmitBaseDestructorAsAlias() 230 void CodeGenModule::EmitCXXDestructors(const CXXDestructorDecl *D) { in EmitCXXDestructors() 250 void CodeGenModule::EmitCXXDestructor(const CXXDestructorDecl *dtor, in EmitCXXDestructor() 280 CodeGenModule::GetAddrOfCXXDestructor(const CXXDestructorDecl *dtor, in GetAddrOfCXXDestructor() 334 if (const CXXDestructorDecl *DD = dyn_cast<CXXDestructorDecl>(MD)) in BuildAppleKextVirtualCall() 355 const CXXDestructorDecl *DD, in BuildAppleKextVirtualDestructorCall() 366 &CGM.getTypes().getFunctionInfo(cast<CXXDestructorDecl>(MD), in BuildAppleKextVirtualDestructorCall() 375 DD = cast<CXXDestructorDecl>(DD->getCanonicalDecl()); in BuildAppleKextVirtualDestructorCall() 389 CodeGenFunction::BuildVirtualCall(const CXXDestructorDecl *DD, CXXDtorType Type, in BuildVirtualCall() [all …]
|
D | CGTemporaries.cpp | 20 const CXXDestructorDecl *dtor; 22 DestroyTemporary(const CXXDestructorDecl *dtor, llvm::Value *addr) in DestroyTemporary()
|
D | CGClass.cpp | 336 const CXXDestructorDecl *D = BaseClass->getDestructor(); in Emit() 509 CXXDestructorDecl *Dtor; 511 CallMemberDtor(FieldDecl *Field, CXXDestructorDecl *Dtor) in CallMemberDtor() 825 const CXXDestructorDecl *Dtor) { in CanSkipVTablePointerInitialization() 844 const CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(CurGD.getDecl()); in EmitDestructorBody() 925 const CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(CGF.CurCodeDecl); in Emit() 958 void CodeGenFunction::EnterDtorCleanups(const CXXDestructorDecl *DD, in EnterDtorCleanups() 1167 const CXXDestructorDecl *dtor = record->getDestructor(); in destroyCXXObject() 1306 const CXXDestructorDecl *Dtor; 1310 CallDelegatingCtorDtor(const CXXDestructorDecl *D, llvm::Value *Addr, in CallDelegatingCtorDtor() [all …]
|
D | CodeGenModule.h | 67 class CXXDestructorDecl; variable 422 else if (isa<CXXDestructorDecl>(GD.getDecl())) in GetAddrOfGlobal() 423 return GetAddrOfCXXDestructor(cast<CXXDestructorDecl>(GD.getDecl()), in GetAddrOfGlobal() 567 llvm::GlobalValue *GetAddrOfCXXDestructor(const CXXDestructorDecl *dtor, 768 bool TryEmitBaseDestructorAsAlias(const CXXDestructorDecl *D); 783 void EmitCXXDestructors(const CXXDestructorDecl *D); 787 void EmitCXXDestructor(const CXXDestructorDecl *D, CXXDtorType Type);
|
D | CGVTables.cpp | 484 assert(!isa<CXXDestructorDecl>(MD) && in MakeFunction() 491 static VTableComponent MakeCompleteDtor(const CXXDestructorDecl *DD) { in MakeCompleteDtor() 496 static VTableComponent MakeDeletingDtor(const CXXDestructorDecl *DD) { in MakeDeletingDtor() 502 assert(!isa<CXXDestructorDecl>(MD) && in MakeUnusedFunction() 547 const CXXDestructorDecl *getDestructorDecl() const { in getDestructorDecl() 551 return reinterpret_cast<CXXDestructorDecl *>(getPointer()); in getDestructorDecl() 668 if (isa<CXXDestructorDecl>(LHS)) in MethodsCanShareVCallOffset() 669 return isa<CXXDestructorDecl>(RHS); in MethodsCanShareVCallOffset() 1291 if (isa<CXXDestructorDecl>(MD)) { in ComputeThisAdjustments() 1457 if (const CXXDestructorDecl *DD = dyn_cast<CXXDestructorDecl>(MD)) { in AddMethod() [all …]
|
D | CGCXXABI.h | 31 class CXXDestructorDecl; variable 160 virtual void BuildDestructorSignature(const CXXDestructorDecl *Dtor,
|
D | CodeGenTypes.h | 37 class CXXDestructorDecl; variable 161 const CGFunctionInfo &getFunctionInfo(const CXXDestructorDecl *D,
|
D | MicrosoftCXXABI.cpp | 39 void BuildDestructorSignature(const CXXDestructorDecl *Ctor, in BuildDestructorSignature()
|
D | ItaniumCXXABI.cpp | 101 void BuildDestructorSignature(const CXXDestructorDecl *Dtor, 136 void BuildDestructorSignature(const CXXDestructorDecl *Dtor, 165 return ((isa<CXXDestructorDecl>(MD) && GD.getDtorType() != Dtor_Deleting) || in HasThisReturn() 702 void ItaniumCXXABI::BuildDestructorSignature(const CXXDestructorDecl *Dtor, in BuildDestructorSignature() 717 void ARMCXXABI::BuildDestructorSignature(const CXXDestructorDecl *Dtor, in BuildDestructorSignature() 783 if (!isa<CXXDestructorDecl>(CGF.CurGD.getDecl())) in EmitReturnFromThunk()
|
D | CodeGenModule.cpp | 303 else if (const CXXDestructorDecl *D = dyn_cast<CXXDestructorDecl>(ND)) in getMangledName() 330 else if (const CXXDestructorDecl *DD = dyn_cast<CXXDestructorDecl>(D)) in getBlockMangledName() 480 if (isa<CXXConstructorDecl>(D) || isa<CXXDestructorDecl>(D)) in SetLLVMFunctionAttributesForDefinition() 826 else if (const CXXDestructorDecl *DD =dyn_cast<CXXDestructorDecl>(Method)) in EmitGlobalDefinition() 2127 EmitCXXDestructors(cast<CXXDestructorDecl>(D)); in EmitTopLevelDecl()
|
D | CGExprCXX.cpp | 204 if (isa<CXXDestructorDecl>(MD)) return RValue::get(0); in EmitCXXMemberCallExpr() 229 if (isa<CXXDestructorDecl>(MD)) in EmitCXXMemberCallExpr() 230 FInfo = &CGM.getTypes().getFunctionInfo(cast<CXXDestructorDecl>(MD), in EmitCXXMemberCallExpr() 253 if (const CXXDestructorDecl *Dtor = dyn_cast<CXXDestructorDecl>(MD)) { in EmitCXXMemberCallExpr() 1206 const CXXDestructorDecl *Dtor = 0; in EmitObjectDelete()
|
D | CGCall.cpp | 129 assert(!isa<CXXDestructorDecl>(MD) && "wrong method for destructors!"); in getFunctionInfo() 155 const CGFunctionInfo &CodeGenTypes::getFunctionInfo(const CXXDestructorDecl *D, in getFunctionInfo() 209 if (const CXXDestructorDecl *DD = dyn_cast<CXXDestructorDecl>(FD)) in getFunctionInfo() 696 if (isa<CXXDestructorDecl>(MD)) in GetFunctionTypeForVTable() 697 Info = &getFunctionInfo(cast<CXXDestructorDecl>(MD), GD.getDtorType()); in GetFunctionTypeForVTable()
|
D | CodeGenFunction.h | 46 class CXXDestructorDecl; variable 795 void PushDestructorCleanup(const CXXDestructorDecl *Dtor, 1361 void EnterDtorCleanups(const CXXDestructorDecl *Dtor, CXXDtorType Type); 1708 void EmitCXXDestructorCall(const CXXDestructorDecl *D, CXXDtorType Type, 2084 llvm::Value *BuildVirtualCall(const CXXDestructorDecl *DD, CXXDtorType Type, 2090 llvm::Value *BuildAppleKextVirtualDestructorCall(const CXXDestructorDecl *DD,
|
/external/clang/include/clang/AST/ |
D | Mangle.h | 28 class CXXDestructorDecl; variable 102 virtual void mangleCXXDtorThunk(const CXXDestructorDecl *DD, CXXDtorType Type, 118 virtual void mangleCXXDtor(const CXXDestructorDecl *D, CXXDtorType Type, 125 void mangleDtorBlock(const CXXDestructorDecl *CD, CXXDtorType DT,
|
D | GlobalDecl.h | 33 assert(!isa<CXXDestructorDecl>(D) && "Use other ctor with dtor decls!"); in Init() 48 GlobalDecl(const CXXDestructorDecl *D, CXXDtorType Type) in GlobalDecl() 67 assert(isa<CXXDestructorDecl>(getDecl()) && "Decl is not a dtor!"); in getDtorType()
|
D | DeclCXX.h | 32 class CXXDestructorDecl; variable 1004 CXXDestructorDecl *getDestructor() const; 1840 class CXXDestructorDecl : public CXXMethodDecl { 1851 CXXDestructorDecl(CXXRecordDecl *RD, SourceLocation StartLoc, 1862 static CXXDestructorDecl *Create(ASTContext& C, EmptyShell Empty); 1863 static CXXDestructorDecl *Create(ASTContext &C, CXXRecordDecl *RD, 1893 static bool classof(const CXXDestructorDecl *D) { return true; }
|
/external/clang/lib/AST/ |
D | DeclCXX.cpp | 483 } else if (isa<CXXDestructorDecl>(D)) { in addedMember() 573 if (CXXDestructorDecl *DD = dyn_cast<CXXDestructorDecl>(D)) { in addedMember() 1063 CXXDestructorDecl *CXXRecordDecl::getDestructor() const { in getDestructor() 1076 CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(*I); in getDestructor() 1537 CXXDestructorDecl * 1538 CXXDestructorDecl::Create(ASTContext &C, EmptyShell Empty) { in Create() 1539 return new (C) CXXDestructorDecl(0, SourceLocation(), DeclarationNameInfo(), in Create() 1543 CXXDestructorDecl * 1544 CXXDestructorDecl::Create(ASTContext &C, CXXRecordDecl *RD, in Create() 1553 return new (C) CXXDestructorDecl(RD, StartLoc, NameInfo, T, TInfo, isInline, in Create()
|
D | Mangle.cpp | 78 void MangleContext::mangleDtorBlock(const CXXDestructorDecl *DD, in mangleDtorBlock() 91 assert(!isa<CXXConstructorDecl>(DC) && !isa<CXXDestructorDecl>(DC)); in mangleBlock()
|
D | MicrosoftMangle.cpp | 87 virtual void mangleCXXDtorThunk(const CXXDestructorDecl *DD, CXXDtorType Type, 101 virtual void mangleCXXDtor(const CXXDestructorDecl *D, CXXDtorType Type, 198 if (isa<CXXConstructorDecl>(MD) || isa<CXXDestructorDecl>(MD)) in mangleFunctionEncoding() 1128 assert(!isa<CXXConstructorDecl>(D) && !isa<CXXDestructorDecl>(D) && in mangleName() 1143 void MicrosoftMangleContext::mangleCXXDtorThunk(const CXXDestructorDecl *DD, in mangleCXXDtorThunk() 1176 void MicrosoftMangleContext::mangleCXXDtor(const CXXDestructorDecl *D, in mangleCXXDtor()
|
D | ItaniumMangle.cpp | 99 void mangleCXXDtorThunk(const CXXDestructorDecl *DD, CXXDtorType Type, 115 void mangleCXXDtor(const CXXDestructorDecl *D, CXXDtorType Type, 199 assert(!D || (!isa<CXXDestructorDecl>(D) && in CXXNameMangler() 207 const CXXDestructorDecl *D, CXXDtorType Type) in CXXNameMangler() 447 if (!(isa<CXXConstructorDecl>(FD) || isa<CXXDestructorDecl>(FD) || in mangleFunctionEncoding() 3202 assert(!isa<CXXConstructorDecl>(D) && !isa<CXXDestructorDecl>(D) && in mangleName() 3220 void ItaniumMangleContext::mangleCXXDtor(const CXXDestructorDecl *D, in mangleCXXDtor() 3237 assert(!isa<CXXDestructorDecl>(MD) && in mangleThunk() 3256 ItaniumMangleContext::mangleCXXDtorThunk(const CXXDestructorDecl *DD, in mangleCXXDtorThunk()
|
/external/clang/lib/Frontend/ |
D | ASTConsumers.cpp | 255 const CXXDestructorDecl* D = cast<CXXDestructorDecl>(DC); in PrintDeclContext()
|
/external/clang/lib/Sema/ |
D | SemaExceptionSpec.cpp | 706 if (getLangOptions().CPlusPlus0x && isa<CXXDestructorDecl>(New)) { in CheckOverridingFunctionExceptionSpec() 715 cast<CXXDestructorDecl>(New), cast<CXXDestructorDecl>(Old))); in CheckOverridingFunctionExceptionSpec()
|
D | SemaDeclCXX.cpp | 2233 if (CXXDestructorDecl *Dtor = LookupDestructor(Constructor->getParent())) { in SetDelegatingInitializer() 2661 CXXDestructorDecl *Dtor = LookupDestructor(FieldClassDecl); in MarkBaseAndMemberDestructorsReferenced() 2668 MarkDeclarationReferenced(Location, const_cast<CXXDestructorDecl*>(Dtor)); in MarkBaseAndMemberDestructorsReferenced() 2691 CXXDestructorDecl *Dtor = LookupDestructor(BaseClassDecl); in MarkBaseAndMemberDestructorsReferenced() 2700 MarkDeclarationReferenced(Location, const_cast<CXXDestructorDecl*>(Dtor)); in MarkBaseAndMemberDestructorsReferenced() 2722 CXXDestructorDecl *Dtor = LookupDestructor(BaseClassDecl); in MarkBaseAndMemberDestructorsReferenced() 2728 MarkDeclarationReferenced(Location, const_cast<CXXDestructorDecl*>(Dtor)); in MarkBaseAndMemberDestructorsReferenced() 3064 CXXDestructorDecl *dtor = Record->getDestructor(); in CheckCompletedCXXClass() 3106 CheckExplicitlyDefaultedDestructor(cast<CXXDestructorDecl>(*MI)); in CheckExplicitlyDefaultedMethods() 3344 void Sema::CheckExplicitlyDefaultedDestructor(CXXDestructorDecl *DD) { in CheckExplicitlyDefaultedDestructor() [all …]
|
/external/clang/include/clang/Sema/ |
D | Template.h | 355 Decl *VisitCXXDestructorDecl(CXXDestructorDecl *D);
|
/external/clang/include/clang/Analysis/ |
D | CFG.h | 36 class CXXDestructorDecl; variable 136 const CXXDestructorDecl *getDestructorDecl(ASTContext &astContext) const;
|