Home
last modified time | relevance | path

Searched refs:make_scope_exit (Results 1 – 25 of 60) sorted by relevance

123

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLazyCallGraph.cpp592 auto VerifyOnExit = make_scope_exit([&]() { verify(); }); in switchInternalEdgeToCall()
737 auto VerifyOnExit = make_scope_exit([&]() { verify(); }); in switchTrivialInternalEdgeToRef()
755 auto VerifyOnExit = make_scope_exit([&]() { verify(); }); in switchInternalEdgeToRef()
1017 auto VerifyOnExit = make_scope_exit([&]() { verify(); }); in insertIncomingRefEdge()
1153 auto VerifyOnExit = make_scope_exit([&]() { verify(); }); in removeOutgoingEdge()
1173 auto VerifyOnExit = make_scope_exit([&]() { in removeInternalRefEdges()
1396 auto ExitVerifier = make_scope_exit([this] { verify(); }); in insertTrivialCallEdge()
1424 auto ExitVerifier = make_scope_exit([this] { verify(); }); in insertTrivialRefEdge()
1450 auto ExitVerifier = make_scope_exit([this] { verify(); }); in replaceNodeFunction()
1630 auto VerifyOnExit = make_scope_exit([&]() { OriginalRC->verify(); }); in addSplitFunction()
[all …]
H A DLoopInfo.cpp890 auto InvalidateOnExit = make_scope_exit([&]() { destroy(Unloop); }); in erase()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DScopeExit.h59 make_scope_exit(Callable &&F) { in make_scope_exit() function
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DResetMachineFunctionPass.cpp61 make_scope_exit([&MF]() { MF.getRegInfo().clearVirtRegTypes(); }); in runOnMachineFunction()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Platform/POSIX/
H A DPlatformPOSIX.cpp731 auto path_cleanup = llvm::make_scope_exit([process, path_addr] { in DoLoadImage()
758 auto return_cleanup = llvm::make_scope_exit([process, return_addr] { in DoLoadImage()
864 llvm::make_scope_exit([do_dlopen_function, &exe_ctx, func_args_addr] { in DoLoadImage()
/freebsd/contrib/llvm-project/clang/lib/Testing/
H A DTestAST.cpp83 llvm::make_scope_exit([&] { createMissingComponents(*Clang); }); in TestAST()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DModuleInliner.cpp130 auto AdvisorOnExit = make_scope_exit([&] { Advisor.onPassExit(); }); in run()
H A DInliner.cpp284 auto AdvisorOnExit = make_scope_exit([&] { Advisor.onPassExit(C); }); in run()
H A DArgumentPromotion.cpp324 auto RauwUndefMetadata = make_scope_exit( in doPromotion()
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DHTMLLogger.cpp544 llvm::make_scope_exit([&] { llvm::sys::fs::remove(Input); }); in renderSVG()
548 llvm::make_scope_exit([&] { llvm::sys::fs::remove(Output); }); in renderSVG()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DInstructionSelect.cpp94 auto RestoreOptLevel = make_scope_exit([=]() { OptLevel = OldOptLevel; }); in runOnMachineFunction()
/freebsd/contrib/llvm-project/clang/lib/DirectoryWatcher/linux/
H A DDirectoryWatcher-linux.cpp199 auto EpollFDGuard = llvm::make_scope_exit([EpollFD]() { close(EpollFD); }); in InotifyPollingLoop()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangUserExpression.cpp561 auto on_exit = llvm::make_scope_exit([this]() { ResetDeclMap(); }); in TryParse()
805 auto on_exit = llvm::make_scope_exit([this]() { ResetDeclMap(); }); in Complete()
H A DClangExpressionSourceCode.cpp152 auto pop_warning = llvm::make_scope_exit([&stream](){ in AddMacros()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp185 llvm::make_scope_exit([&] { this->Relations = SavedRelations; }); in TraverseTemplateSpecializationTypeLoc()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DDependencyDirectivesScanner.cpp839 auto ScEx1 = make_scope_exit([&]() { in lexPPLine()
861 auto ScEx2 = make_scope_exit( in lexPPLine()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCoroutine.cpp231 llvm::make_scope_exit([&] { CommonBinder.unbind(CGF); }); in emitSuspendExpression()
463 llvm::make_scope_exit([&] { AwaiterBinder.unbind(*this); }); in generateAwaitSuspendWrapper()
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DDXContainerYAML.cpp139 auto RestoreContext = make_scope_exit([&]() { IO.setContext(OldContext); }); in mapping()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Frontend/
H A DAnalysisConsumer.cpp591 llvm::make_scope_exit([this] { Mgr.reset(); }); in HandleTranslationUnit()
/freebsd/contrib/llvm-project/llvm/tools/llc/
H A Dllc.cpp377 auto TimeTraceScopeExit = make_scope_exit([]() { in main()
/freebsd/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningWorker.cpp331 llvm::make_scope_exit([DiagConsumer]() { DiagConsumer->finish(); }); in runInvocation()
/freebsd/contrib/llvm-project/lldb/source/Interpreter/
H A DCommandObject.cpp278 auto reset_ctx = llvm::make_scope_exit([this]() { Cleanup(); }); in HandleCompletion()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FlagsCopyLowering.cpp421 auto Cleanup = make_scope_exit([&] { in runOnMachineFunction()
/freebsd/contrib/llvm-project/llvm/lib/Support/Unix/
H A DThreading.inc70 auto AttrGuard = llvm::make_scope_exit([&] {
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kInstrInfo.cpp95 auto FinalizeOnReturn = llvm::make_scope_exit([&EraseList] { in AnalyzeBranchImpl()

123