Home
last modified time | relevance | path

Searched refs:Dtor (Results 1 – 25 of 45) 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/swiftshader/third_party/llvm-7.0/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/libcxxabi/src/
Dcxa_thread_atexit.cpp17 using Dtor = void(*)(void*); typedef
25 int __cxa_thread_atexit_impl(Dtor, void*, void*);
59 Dtor dtor;
106 _LIBCXXABI_FUNC_VIS int __cxa_thread_atexit(Dtor dtor, void* obj, void* dso_symbol) throw() { in __cxa_thread_atexit()
/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.cpp1485 const CXXDestructorDecl *Dtor) { in CanSkipVTablePointerInitialization() argument
1486 const CXXRecordDecl *ClassDecl = Dtor->getParent(); in CanSkipVTablePointerInitialization()
1490 if (!Dtor->hasTrivialBody()) in CanSkipVTablePointerInitialization()
1503 const CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(CurGD.getDecl()); in EmitDestructorBody() local
1506 Stmt *Body = Dtor->getBody(); in EmitDestructorBody()
1515 EnterDtorCleanups(Dtor, Dtor_Deleting); in EmitDestructorBody()
1516 EmitCXXDestructorCall(Dtor, Dtor_Complete, /*ForVirtualBase=*/false, in EmitDestructorBody()
1548 EnterDtorCleanups(Dtor, Dtor_Complete); in EmitDestructorBody()
1551 EmitCXXDestructorCall(Dtor, Dtor_Base, /*ForVirtualBase=*/false, in EmitDestructorBody()
1561 EnterDtorCleanups(Dtor, Dtor_Base); in EmitDestructorBody()
[all …]
DCGCXXABI.h233 const CXXDestructorDecl *Dtor) = 0;
302 virtual bool useThunkForDtorVariant(const CXXDestructorDecl *Dtor,
414 EmitVirtualDestructorCall(CodeGenFunction &CGF, const CXXDestructorDecl *Dtor,
542 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()
1551 const CXXDestructorDecl *Dtor = nullptr; in EmitObjectDelete() local
1555 Dtor = RD->getDestructor(); in EmitObjectDelete()
1557 if (Dtor->isVirtual()) { in EmitObjectDelete()
1559 Dtor); in EmitObjectDelete()
1573 if (Dtor) in EmitObjectDelete()
[all …]
DItaniumCXXABI.cpp155 const CXXDestructorDecl *Dtor) override;
210 bool useThunkForDtorVariant(const CXXDestructorDecl *Dtor, in useThunkForDtorVariant() argument
269 const CXXDestructorDecl *Dtor,
1000 const CXXDestructorDecl *Dtor) { in emitVirtualObjectDelete() argument
1032 EmitVirtualDestructorCall(CGF, Dtor, DtorType, Ptr, /*CE=*/nullptr); in emitVirtualObjectDelete()
1091 llvm::Constant *Dtor = nullptr; in emitThrow() local
1096 Dtor = CGM.getAddrOfCXXStructor(DtorD, StructorType::Complete); in emitThrow()
1097 Dtor = llvm::ConstantExpr::getBitCast(Dtor, CGM.Int8PtrTy); in emitThrow()
1100 if (!Dtor) Dtor = llvm::Constant::getNullValue(CGM.Int8PtrTy); in emitThrow()
1102 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()
1832 CodeGenFunction &CGF, const CXXDestructorDecl *Dtor, CXXDtorType DtorType, in EmitVirtualDestructorCall() argument
1839 GlobalDecl GD(Dtor, Dtor_Deleting); in EmitVirtualDestructorCall()
1841 Dtor, StructorType::Deleting); in EmitVirtualDestructorCall()
1853 CGF.EmitCXXDestructorCall(Dtor, Callee, This.getPointer(), ImplicitParam, in EmitVirtualDestructorCall()
[all …]
/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/swiftshader/third_party/subzero/src/
DIceDefs.h219 for (auto Dtor = Dtors.rbegin(); Dtor != Dtors.rend(); ++Dtor) { in clearAndPurge() local
220 (*Dtor)(); in clearAndPurge()
/external/llvm/tools/lli/
DOrcLazyJIT.h75 for (auto Dtor : orc::getDestructors(*M)) in addModule() local
76 DtorNames.push_back(mangle(Dtor.Func->getName())); in addModule()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/
DWebAssemblyLowerGlobalDtors.cpp151 for (auto Dtor : AssociatedAndMore.second) in runOnModule() local
152 CallInst::Create(Dtor, "", BB); in runOnModule()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Orc/
DOrcMCJITReplacement.h281 for (auto Dtor : orc::getDestructors(*M)) { in addModule() local
284 Dtor.Func->setName(NewDtorName); in addModule()
285 Dtor.Func->setLinkage(GlobalValue::ExternalLinkage); in addModule()
286 Dtor.Func->setVisibility(GlobalValue::HiddenVisibility); in addModule()
DOrcCBindingsStack.h312 for (auto Dtor : orc::getDestructors(*M)) in addIRModule() local
313 DtorNames.push_back(mangle(Dtor.Func->getName())); in addIRModule()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DELFWriter.cpp208 const MCSectionELF *Dtor = (const MCSectionELF *)TLOF.getStaticDtorSection(); in getDtorSection() local
209 return getSection(Dtor->getSectionName(), Dtor->getType(), Dtor->getFlags()); in getDtorSection()
651 ELFSection &Dtor = getDtorSection(); in EmitSpecialLLVMGlobal() local
652 Dtor.emitAlignment(Align); in EmitSpecialLLVMGlobal()
653 EmitXXStructorList(GV->getInitializer(), Dtor); in EmitSpecialLLVMGlobal()
/external/clang/lib/StaticAnalyzer/Core/
DExprEngineCallAndReturn.cpp645 const CXXDestructorCall &Dtor = cast<CXXDestructorCall>(Call); in mayInlineCallKind() local
648 const MemRegion *Target = Dtor.getCXXThisVal().getAsRegion(); in mayInlineCallKind()
716 const CXXDestructorDecl *Dtor = dyn_cast<CXXDestructorDecl>(FD); in isCXXSharedPtrDtor() local
717 if (!Dtor) in isCXXSharedPtrDtor()
720 const CXXRecordDecl *RD = Dtor->getParent(); in isCXXSharedPtrDtor()
DCallEvent.cpp1100 const CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(CalleeCtx->getDecl()); in getCaller() local
1101 Loc ThisPtr = SVB.getCXXThis(Dtor, CalleeCtx); in getCaller()
1110 Trigger = Dtor->getBody(); in getCaller()
1112 return getCXXDestructorCall(Dtor, Trigger, ThisVal.getAsRegion(), in getCaller()
/external/llvm/lib/ExecutionEngine/Orc/
DOrcCBindingsStack.h179 for (auto Dtor : orc::getDestructors(*M)) in DEFINE_SIMPLE_CONVERSION_FUNCTIONS() local
180 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()

12