Home
last modified time | relevance | path

Searched refs:Dtor (Results 1 – 25 of 36) sorted by relevance

12

/external/llvm/test/CodeGen/X86/
Dwin-cleanuppad.ll4 %struct.Dtor = type { i8 }
8 %o = alloca %struct.Dtor, align 1
13 call x86_thiscallcc void @"\01??1Dtor@@QAE@XZ"(%struct.Dtor* %o) #2
18 call x86_thiscallcc void @"\01??1Dtor@@QAE@XZ"(%struct.Dtor* %o) #2 [ "funclet"(token %0) ]
29 ; CHECK: callq "??1Dtor@@QAE@XZ"
36 ; CHECK: callq "??1Dtor@@QAE@XZ"
57 declare x86_thiscallcc void @"\01??1Dtor@@QAE@XZ"(%struct.Dtor*) #1
61 %o1 = alloca %struct.Dtor, align 1
62 %o2 = alloca %struct.Dtor, align 1
71 call x86_thiscallcc void @"\01??1Dtor@@QAE@XZ"(%struct.Dtor* %o2) #2
[all …]
Dcleanuppad-realign.ll5 declare void @Dtor(i64* %o)
16 call void @Dtor(i64* %o)
21 call void @Dtor(i64* %o) [ "funclet"(token %0) ]
/external/clang/test/Analysis/
Dtemporaries.cpp115 struct Dtor { struct
116 ~Dtor();
119 extern bool check(const Dtor &);
124 if (coin() && (coin() || coin() || check(Dtor()))) { in testPR16664andPR18159Crash()
125 Dtor(); in testPR16664andPR18159Crash()
302 []() { check(NoReturnDtor()); } != nullptr || check(Dtor()); in testLambdas()
330 if (!value || check((NoReturnDtor(), Dtor())) || value) { in testMultipleTemporaries()
371 check(Dtor()) && in testNoReturnInComplexCondition()
372 (check(NoReturnDtor()) || check(NoReturnDtor())) && check(Dtor()); in testNoReturnInComplexCondition()
377 b || (check(Dtor()), check(NoReturnDtor())); in testSequencingOfConditionalTempDtors()
[all …]
Ddtor.cpp234 class Dtor { class
236 ~Dtor() { in ~Dtor()
242 Dtor d; in allocate()
/external/clang/test/CXX/class/class.union/
Dp1.cpp34 class Dtor { class
35 …~Dtor() { abort(); } // expected-note 2 {{because type 'Dtor' has a user-provided destructor}} exp… in ~Dtor()
46 Dtor dtor; // expected-error {{union member 'dtor' has a non-trivial destructor}}
70 Dtor dtor; // expected-note {{because field of type 'Dtor' has a user-provided destructor}}
90 …struct s6 : Dtor { // expected-note {{because base class of type 'Dtor' has a user-provided destru…
131 Either<int,Dtor> dtor(0); // expected-note {{in instantiation of template}} in fred()
/external/clang/test/SemaCXX/
Ddeprecated.cpp83 struct Dtor { struct
84 ~Dtor();
88 Dtor c1, c2(c1); // expected-note {{implicit copy constructor for 'Dtor' first required here}}
/external/clang/lib/CodeGen/
DCGClass.cpp1489 const CXXDestructorDecl *Dtor) { in CanSkipVTablePointerInitialization() argument
1490 const CXXRecordDecl *ClassDecl = Dtor->getParent(); in CanSkipVTablePointerInitialization()
1494 if (!Dtor->hasTrivialBody()) in CanSkipVTablePointerInitialization()
1507 const CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(CurGD.getDecl()); in EmitDestructorBody() local
1510 Stmt *Body = Dtor->getBody(); in EmitDestructorBody()
1519 EnterDtorCleanups(Dtor, Dtor_Deleting); in EmitDestructorBody()
1520 EmitCXXDestructorCall(Dtor, Dtor_Complete, /*ForVirtualBase=*/false, in EmitDestructorBody()
1552 EnterDtorCleanups(Dtor, Dtor_Complete); in EmitDestructorBody()
1555 EmitCXXDestructorCall(Dtor, Dtor_Base, /*ForVirtualBase=*/false, in EmitDestructorBody()
1565 EnterDtorCleanups(Dtor, Dtor_Base); in EmitDestructorBody()
[all …]
DCGCXXABI.h223 const CXXDestructorDecl *Dtor) = 0;
292 virtual bool useThunkForDtorVariant(const CXXDestructorDecl *Dtor,
398 EmitVirtualDestructorCall(CodeGenFunction &CGF, const CXXDestructorDecl *Dtor,
526 llvm::Constant *Dtor,
DCGExprCXX.cpp209 if (const auto *Dtor = dyn_cast<CXXDestructorDecl>(CalleeDecl)) in EmitCXXMemberOrOperatorMemberCallExpr() local
211 Dtor, StructorType::Complete); in EmitCXXMemberOrOperatorMemberCallExpr()
229 if (const CXXDestructorDecl *Dtor = dyn_cast<CXXDestructorDecl>(MD)) { in EmitCXXMemberOrOperatorMemberCallExpr() local
235 *this, Dtor, Dtor_Complete, This, cast<CXXMemberCallExpr>(CE)); in EmitCXXMemberOrOperatorMemberCallExpr()
241 CGM.getAddrOfCXXStructor(Dtor, StructorType::Complete, FInfo, Ty); in EmitCXXMemberOrOperatorMemberCallExpr()
1543 const CXXDestructorDecl *Dtor = nullptr; in EmitObjectDelete() local
1547 Dtor = RD->getDestructor(); in EmitObjectDelete()
1549 if (Dtor->isVirtual()) { in EmitObjectDelete()
1551 Dtor); in EmitObjectDelete()
1565 if (Dtor) in EmitObjectDelete()
[all …]
DItaniumCXXABI.cpp155 const CXXDestructorDecl *Dtor) override;
218 bool useThunkForDtorVariant(const CXXDestructorDecl *Dtor, in useThunkForDtorVariant() argument
277 const CXXDestructorDecl *Dtor,
1007 const CXXDestructorDecl *Dtor) { in emitVirtualObjectDelete() argument
1039 EmitVirtualDestructorCall(CGF, Dtor, DtorType, Ptr, /*CE=*/nullptr); in emitVirtualObjectDelete()
1098 llvm::Constant *Dtor = nullptr; in emitThrow() local
1103 Dtor = CGM.getAddrOfCXXStructor(DtorD, StructorType::Complete); in emitThrow()
1104 Dtor = llvm::ConstantExpr::getBitCast(Dtor, CGM.Int8PtrTy); in emitThrow()
1107 if (!Dtor) Dtor = llvm::Constant::getNullValue(CGM.Int8PtrTy); in emitThrow()
1109 llvm::Value *args[] = { ExceptionPtr, TypeInfo, Dtor }; in emitThrow()
[all …]
DMicrosoftCXXABI.cpp117 const CXXDestructorDecl *Dtor) override;
209 bool useThunkForDtorVariant(const CXXDestructorDecl *Dtor, in useThunkForDtorVariant() argument
292 const CXXDestructorDecl *Dtor,
392 llvm::Constant *Dtor, llvm::Constant *Addr) override;
855 const CXXDestructorDecl *Dtor) { in emitVirtualObjectDelete() argument
861 EmitVirtualDestructorCall(CGF, Dtor, DtorType, Ptr, /*CE=*/nullptr); in emitVirtualObjectDelete()
1826 CodeGenFunction &CGF, const CXXDestructorDecl *Dtor, CXXDtorType DtorType, in EmitVirtualDestructorCall() argument
1833 GlobalDecl GD(Dtor, Dtor_Deleting); in EmitVirtualDestructorCall()
1835 Dtor, StructorType::Deleting); in EmitVirtualDestructorCall()
1846 RValue RV = CGF.EmitCXXStructorCall(Dtor, Callee, ReturnValueSlot(), in EmitVirtualDestructorCall()
[all …]
DCGDecl.cpp427 const CXXDestructorDecl *Dtor, in DestroyNRVOVariable()
429 : Dtor(Dtor), NRVOFlag(NRVOFlag), Loc(addr) {} in DestroyNRVOVariable()
431 const CXXDestructorDecl *Dtor; member
450 CGF.EmitCXXDestructorCall(Dtor, Dtor_Complete, in Emit()
DCGOpenMPRuntime.h364 llvm::Value *Dtor, SourceLocation Loc);
DCGOpenMPRuntime.cpp1076 llvm::Value *CopyCtor, llvm::Value *Dtor, SourceLocation Loc) { in emitThreadPrivateVarInit() argument
1087 Ctor, CopyCtor, Dtor}; in emitThreadPrivateVarInit()
1104 llvm::Value *Ctor = nullptr, *CopyCtor = nullptr, *Dtor = nullptr; in emitThreadPrivateVarDefinition() local
1162 Dtor = Fn; in emitThreadPrivateVarDefinition()
1165 if (!Ctor && !Dtor) in emitThreadPrivateVarDefinition()
1181 if (Dtor == nullptr) { in emitThreadPrivateVarDefinition()
1184 Dtor = llvm::Constant::getNullValue(DtorTy); in emitThreadPrivateVarDefinition()
1197 emitThreadPrivateVarInit(InitCGF, VDAddr, Ctor, CopyCtor, Dtor, Loc); in emitThreadPrivateVarDefinition()
1201 emitThreadPrivateVarInit(*CGF, VDAddr, Ctor, CopyCtor, Dtor, Loc); in emitThreadPrivateVarDefinition()
/external/compiler-rt/test/asan/TestCases/Posix/
Dtsd_dtor_leak.cc20 void Dtor(void *tsd) { in Dtor() function
27 assert(0 == pthread_key_create(&tsd_key, Dtor)); in main()
/external/llvm/tools/lli/
DOrcLazyJIT.h78 for (auto Dtor : orc::getDestructors(*M)) in addModule() local
79 DtorNames.push_back(mangle(Dtor.Func->getName())); in addModule()
/external/clang/lib/StaticAnalyzer/Core/
DExprEngineCallAndReturn.cpp658 const CXXDestructorCall &Dtor = cast<CXXDestructorCall>(Call); in mayInlineCallKind() local
661 const MemRegion *Target = Dtor.getCXXThisVal().getAsRegion(); in mayInlineCallKind()
729 const CXXDestructorDecl *Dtor = dyn_cast<CXXDestructorDecl>(FD); in isCXXSharedPtrDtor() local
730 if (!Dtor) in isCXXSharedPtrDtor()
733 const CXXRecordDecl *RD = Dtor->getParent(); in isCXXSharedPtrDtor()
DCallEvent.cpp1023 const CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(CalleeCtx->getDecl()); in getCaller() local
1024 Loc ThisPtr = SVB.getCXXThis(Dtor, CalleeCtx); in getCaller()
1033 Trigger = Dtor->getBody(); in getCaller()
1035 return getCXXDestructorCall(Dtor, Trigger, ThisVal.getAsRegion(), in getCaller()
DPathDiagnostic.cpp558 const CFGAutomaticObjDtor &Dtor = Source.castAs<CFGAutomaticObjDtor>(); in getLocationForCaller() local
559 return PathDiagnosticLocation::createEnd(Dtor.getTriggerStmt(), in getLocationForCaller()
563 const CFGDeleteDtor &Dtor = Source.castAs<CFGDeleteDtor>(); in getLocationForCaller() local
564 return PathDiagnosticLocation(Dtor.getDeleteExpr(), SM, CallerCtx); in getLocationForCaller()
DExprEngine.cpp589 void ExprEngine::ProcessAutomaticObjDtor(const CFGAutomaticObjDtor Dtor, in ProcessAutomaticObjDtor() argument
592 const VarDecl *varDecl = Dtor.getVarDecl(); in ProcessAutomaticObjDtor()
604 VisitCXXDestructor(varType, Region, Dtor.getTriggerStmt(), /*IsBase=*/ false, in ProcessAutomaticObjDtor()
608 void ExprEngine::ProcessDeleteDtor(const CFGDeleteDtor Dtor, in ProcessDeleteDtor() argument
613 const CXXDeleteExpr *DE = Dtor.getDeleteExpr(); in ProcessDeleteDtor()
623 const CXXDestructorDecl *Dtor = RD->getDestructor(); in ProcessDeleteDtor() local
625 PostImplicitCall PP(Dtor, DE->getLocStart(), LCtx); in ProcessDeleteDtor()
/external/llvm/lib/ExecutionEngine/Orc/
DOrcCBindingsStack.h189 for (auto Dtor : orc::getDestructors(*M)) in DEFINE_SIMPLE_CONVERSION_FUNCTIONS() local
190 DtorNames.push_back(mangle(Dtor.Func->getName())); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
/external/clang/lib/StaticAnalyzer/Checkers/
DDynamicTypePropagation.cpp183 if (const CXXDestructorCall *Dtor = dyn_cast<CXXDestructorCall>(&Call)) { in checkPreCall() local
185 if (!Dtor->isBaseDestructor()) in checkPreCall()
188 const MemRegion *Target = Dtor->getCXXThisVal().getAsRegion(); in checkPreCall()
192 const Decl *D = Dtor->getDecl(); in checkPreCall()
/external/clang/lib/Analysis/
DLiveVariables.cpp456 if (Optional<CFGAutomaticObjDtor> Dtor = in runOnBlock() local
458 val.liveDecls = DSetFact.add(val.liveDecls, Dtor->getVarDecl()); in runOnBlock()
DThreadSafety.cpp1819 bool Dtor = isa<CXXDestructorDecl>(D); in handleCall() local
1821 Analyzer->removeLock(FSet, M, Loc, Dtor, LK_Exclusive, CapDiagKind); in handleCall()
1823 Analyzer->removeLock(FSet, M, Loc, Dtor, LK_Shared, CapDiagKind); in handleCall()
1825 Analyzer->removeLock(FSet, M, Loc, Dtor, LK_Generic, CapDiagKind); in handleCall()
/external/clang/lib/Sema/
DSemaAccess.cpp1593 CXXDestructorDecl *Dtor, in CheckDestructorAccess() argument
1600 AccessSpecifier Access = Dtor->getAccess(); in CheckDestructorAccess()
1604 CXXRecordDecl *NamingClass = Dtor->getParent(); in CheckDestructorAccess()
1608 DeclAccessPair::make(Dtor, Access), in CheckDestructorAccess()

12