reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/ExecutionEngine/Orc/RPCUtils.h
 1192       std::unique_lock<std::mutex> Lock(ResponsesMutex);
 1591       std::unique_lock<std::mutex> Lock(M);
 1601       std::unique_lock<std::mutex> Lock(M);
 1613     std::unique_lock<std::mutex> Lock(M);
include/llvm/ExecutionEngine/Orc/ThreadSafeModule.h
   46     std::unique_lock<std::recursive_mutex> L;
include/llvm/IR/ValueMap.h
  264     std::unique_lock<typename Config::mutex_type> Guard;
  266       Guard = std::unique_lock<typename Config::mutex_type>(*M);
  277     std::unique_lock<typename Config::mutex_type> Guard;
  279       Guard = std::unique_lock<typename Config::mutex_type>(*M);
include/llvm/Support/Parallel.h
   61     std::unique_lock<std::mutex> lock(Mutex);
lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
  261   std::unique_lock<sys::Mutex> Guard(*FunctionsLock);
lib/ExecutionEngine/Orc/IndirectionUtils.cpp
   83     std::unique_lock<std::mutex> Lock(CCMgrMutex);
lib/LTO/LTO.cpp
 1138             std::unique_lock<std::mutex> L(ErrMu);
lib/Support/Parallel.cpp
   52     std::unique_lock<std::mutex> Lock(Mutex);
   60     std::unique_lock<std::mutex> Lock(Mutex);
   69       std::unique_lock<std::mutex> Lock(Mutex);
lib/Support/ThreadPool.cpp
   36           std::unique_lock<std::mutex> LockGuard(QueueLock);
   49             std::unique_lock<std::mutex> LockGuard(CompletionLock);
   60           std::unique_lock<std::mutex> LockGuard(CompletionLock);
   73   std::unique_lock<std::mutex> LockGuard(CompletionLock);
   87     std::unique_lock<std::mutex> LockGuard(QueueLock);
  101     std::unique_lock<std::mutex> LockGuard(QueueLock);
tools/clang/lib/DirectoryWatcher/linux/DirectoryWatcher-linux.cpp
   92       std::unique_lock<std::mutex> L(Mtx);
  101     std::unique_lock<std::mutex> L(Mtx);
tools/clang/lib/Tooling/AllTUsExecution.cpp
   36     std::unique_lock<std::mutex> LockGuard(Mutex);
   91     std::unique_lock<std::mutex> LockGuard(TUMutex);
   96     std::unique_lock<std::mutex> LockGuard(TUMutex);
  110     std::unique_lock<std::mutex> LockGuard(TUMutex);
tools/clang/lib/Tooling/DependencyScanning/DependencyScanningFilesystem.cpp
  120   std::unique_lock<std::mutex> LockGuard(Shard.CacheLock);
  167     std::unique_lock<std::mutex> LockGuard(SharedCacheEntry.ValueLock);
tools/clang/tools/clang-scan-deps/ClangScanDeps.cpp
   32     std::unique_lock<std::mutex> LockGuard(Lock);
  233           std::unique_lock<std::mutex> LockGuard(Lock);
tools/clang/tools/extra/clang-include-fixer/find-all-symbols/tool/FindAllSymbolsMain.cpp
   84     std::unique_lock<std::mutex> LockGuard(SymbolMutex);
tools/clang/tools/extra/clangd/GlobalCompilationDatabase.cpp
  310     std::unique_lock<std::mutex> Lock(Mutex);
tools/clang/tools/extra/clangd/TUScheduler.cpp
  106     std::unique_lock<std::mutex> Lock(Mut);
  124     std::unique_lock<std::mutex> Lock(Mut);
  571   std::unique_lock<std::mutex> Lock(Mutex);
  595   std::unique_lock<std::mutex> Lock(Mutex);
  600   std::unique_lock<std::mutex> Lock(Mutex);
  665       std::unique_lock<std::mutex> Lock(Mutex);
  698       std::unique_lock<Semaphore> Lock(Barrier, std::try_to_lock);
  789   std::unique_lock<std::mutex> Lock(Mutex);
tools/clang/tools/extra/clangd/Threading.cpp
   28   std::unique_lock<std::mutex> Lock(Mu);
   35   std::unique_lock<std::mutex> Lock(Mutex);
   48     std::unique_lock<std::mutex> Lock(Mutex);
   55   std::unique_lock<std::mutex> Lock(Mutex);
   65   std::unique_lock<std::mutex> Lock(Mutex);
  107 void wait(std::unique_lock<std::mutex> &Lock, std::condition_variable &CV,
tools/clang/tools/extra/clangd/Threading.h
   88 void wait(std::unique_lock<std::mutex> &Lock, std::condition_variable &CV,
   92 LLVM_NODISCARD bool wait(std::unique_lock<std::mutex> &Lock,
tools/clang/tools/extra/clangd/index/BackgroundQueue.cpp
   24       std::unique_lock<std::mutex> Lock(Mu);
   45       std::unique_lock<std::mutex> Lock(Mu);
  109   std::unique_lock<std::mutex> Lock(Mu);
tools/clang/tools/extra/clangd/unittests/ClangdTests.cpp
  778       std::unique_lock<std::mutex> Lock(Mutex, std::try_to_lock_t());
tools/clang/tools/extra/clangd/unittests/CodeCompleteTests.cpp
 1160     std::unique_lock<std::mutex> Lock(Mut);
 1181     std::unique_lock<std::mutex> Lock(Mut);
tools/clang/unittests/DirectoryWatcher/DirectoryWatcherTest.cpp
  128     std::unique_lock<std::mutex> L(Mtx);
  142     std::unique_lock<std::mutex> L(Mtx);
  181     std::unique_lock<std::mutex> L(Mtx);
  249   std::unique_lock<std::mutex> L(TestConsumer.Mtx);
tools/dsymutil/DwarfLinker.cpp
 2809       std::unique_lock<std::mutex> LockGuard(ProcessedFilesMutex);
 2818         std::unique_lock<std::mutex> LockGuard(ProcessedFilesMutex);
tools/lld/Common/Filesystem.cpp
   76   std::unique_lock<std::mutex> l(m);
tools/lldb/include/lldb/Breakpoint/BreakpointList.h
  143   void GetListMutex(std::unique_lock<std::recursive_mutex> &lock);
tools/lldb/include/lldb/Breakpoint/WatchpointList.h
  185   void GetListMutex(std::unique_lock<std::recursive_mutex> &lock);
tools/lldb/include/lldb/Host/OptionParser.h
   37   static void Prepare(std::unique_lock<std::mutex> &lock);
tools/lldb/include/lldb/Interpreter/CommandObject.h
  359   std::unique_lock<std::recursive_mutex> m_api_locker;
tools/lldb/include/lldb/Target/ExecutionContext.h
  320                    std::unique_lock<std::recursive_mutex> &locker);
  322                    std::unique_lock<std::recursive_mutex> &locker);
tools/lldb/include/lldb/Utility/Listener.h
  118   FindNextEventInternal(std::unique_lock<std::mutex> &lock,
tools/lldb/include/lldb/Utility/Predicate.h
  123     std::unique_lock<std::mutex> lock(m_mutex);
tools/lldb/source/API/SBCommandInterpreter.cpp
  567     std::unique_lock<std::recursive_mutex> lock;
  586     std::unique_lock<std::recursive_mutex> lock;
tools/lldb/source/API/SBDebugger.cpp
  476     std::unique_lock<std::recursive_mutex> lock;
tools/lldb/source/API/SBFrame.cpp
   99   std::unique_lock<std::recursive_mutex> lock;
  119   std::unique_lock<std::recursive_mutex> lock;
  142   std::unique_lock<std::recursive_mutex> lock;
  167   std::unique_lock<std::recursive_mutex> lock;
  191   std::unique_lock<std::recursive_mutex> lock;
  215   std::unique_lock<std::recursive_mutex> lock;
  238   std::unique_lock<std::recursive_mutex> lock;
  259   std::unique_lock<std::recursive_mutex> lock;
  280   std::unique_lock<std::recursive_mutex> lock;
  304   std::unique_lock<std::recursive_mutex> lock;
  317   std::unique_lock<std::recursive_mutex> lock;
  330   std::unique_lock<std::recursive_mutex> lock;
  354   std::unique_lock<std::recursive_mutex> lock;
  377   std::unique_lock<std::recursive_mutex> lock;
  400   std::unique_lock<std::recursive_mutex> lock;
  422   std::unique_lock<std::recursive_mutex> lock;
  450   std::unique_lock<std::recursive_mutex> lock;
  474   std::unique_lock<std::recursive_mutex> lock;
  504   std::unique_lock<std::recursive_mutex> lock;
  530   std::unique_lock<std::recursive_mutex> lock;
  557   std::unique_lock<std::recursive_mutex> lock;
  583   std::unique_lock<std::recursive_mutex> lock;
  719   std::unique_lock<std::recursive_mutex> lock;
  732   std::unique_lock<std::recursive_mutex> lock;
  758   std::unique_lock<std::recursive_mutex> lock;
  789   std::unique_lock<std::recursive_mutex> lock;
  810   std::unique_lock<std::recursive_mutex> lock;
  912   std::unique_lock<std::recursive_mutex> lock;
  944   std::unique_lock<std::recursive_mutex> lock;
  984   std::unique_lock<std::recursive_mutex> lock;
 1010   std::unique_lock<std::recursive_mutex> lock;
 1042   std::unique_lock<std::recursive_mutex> lock;
 1062   std::unique_lock<std::recursive_mutex> lock;
 1093   std::unique_lock<std::recursive_mutex> lock;
 1140   std::unique_lock<std::recursive_mutex> lock;
 1170   std::unique_lock<std::recursive_mutex> lock;
 1189   std::unique_lock<std::recursive_mutex> lock;
 1211   std::unique_lock<std::recursive_mutex> lock;
 1255   std::unique_lock<std::recursive_mutex> lock;
tools/lldb/source/API/SBFunction.cpp
  133     std::unique_lock<std::recursive_mutex> lock;
tools/lldb/source/API/SBInstruction.cpp
  122     std::unique_lock<std::recursive_mutex> lock;
  142     std::unique_lock<std::recursive_mutex> lock;
  162     std::unique_lock<std::recursive_mutex> lock;
tools/lldb/source/API/SBSymbol.cpp
  131     std::unique_lock<std::recursive_mutex> lock;
tools/lldb/source/API/SBTarget.cpp
 1373     std::unique_lock<std::recursive_mutex> lock;
 1391     std::unique_lock<std::recursive_mutex> lock;
 1443     std::unique_lock<std::recursive_mutex> lock;
 1457     std::unique_lock<std::recursive_mutex> lock;
 1528     std::unique_lock<std::recursive_mutex> lock;
tools/lldb/source/API/SBThread.cpp
   96   std::unique_lock<std::recursive_mutex> lock;
  119   std::unique_lock<std::recursive_mutex> lock;
  143   std::unique_lock<std::recursive_mutex> lock;
  159   std::unique_lock<std::recursive_mutex> lock;
  209   std::unique_lock<std::recursive_mutex> lock;
  273   std::unique_lock<std::recursive_mutex> lock;
  298   std::unique_lock<std::recursive_mutex> lock;
  319   std::unique_lock<std::recursive_mutex> lock;
  416   std::unique_lock<std::recursive_mutex> lock;
  458   std::unique_lock<std::recursive_mutex> lock;
  475   std::unique_lock<std::recursive_mutex> lock;
  492   std::unique_lock<std::recursive_mutex> lock;
  510   std::unique_lock<std::recursive_mutex> lock;
  599   std::unique_lock<std::recursive_mutex> lock;
  651   std::unique_lock<std::recursive_mutex> lock;
  705   std::unique_lock<std::recursive_mutex> lock;
  743   std::unique_lock<std::recursive_mutex> lock;
  788   std::unique_lock<std::recursive_mutex> lock;
  818   std::unique_lock<std::recursive_mutex> lock;
  852   std::unique_lock<std::recursive_mutex> lock;
  992   std::unique_lock<std::recursive_mutex> lock;
 1029   std::unique_lock<std::recursive_mutex> lock;
 1050   std::unique_lock<std::recursive_mutex> lock;
 1068   std::unique_lock<std::recursive_mutex> lock;
 1091   std::unique_lock<std::recursive_mutex> lock;
 1118   std::unique_lock<std::recursive_mutex> lock;
 1139   std::unique_lock<std::recursive_mutex> lock;
 1150   std::unique_lock<std::recursive_mutex> lock;
 1162   std::unique_lock<std::recursive_mutex> lock;
 1178   std::unique_lock<std::recursive_mutex> lock;
 1196   std::unique_lock<std::recursive_mutex> lock;
 1215   std::unique_lock<std::recursive_mutex> lock;
 1235   std::unique_lock<std::recursive_mutex> lock;
 1298   std::unique_lock<std::recursive_mutex> lock;
 1322   std::unique_lock<std::recursive_mutex> lock;
 1341   std::unique_lock<std::recursive_mutex> lock;
tools/lldb/source/API/SBValue.cpp
  109                             std::unique_lock<std::recursive_mutex> &lock,
  214   std::unique_lock<std::recursive_mutex> m_lock;
tools/lldb/source/Breakpoint/BreakpointList.cpp
  189     std::unique_lock<std::recursive_mutex> &lock) {
tools/lldb/source/Breakpoint/WatchpointList.cpp
  250     std::unique_lock<std::recursive_mutex> &lock) {
tools/lldb/source/Commands/CommandObjectBreakpoint.cpp
  841     std::unique_lock<std::recursive_mutex> lock;
  905     std::unique_lock<std::recursive_mutex> lock;
 1012     std::unique_lock<std::recursive_mutex> lock;
 1167     std::unique_lock<std::recursive_mutex> lock;
 1297     std::unique_lock<std::recursive_mutex> lock;
 1434     std::unique_lock<std::recursive_mutex> lock;
 1683     std::unique_lock<std::recursive_mutex> lock;
 1774     std::unique_lock<std::recursive_mutex> lock;
 1853     std::unique_lock<std::recursive_mutex> lock;
 1945           std::unique_lock<std::recursive_mutex> lock;
 2077     std::unique_lock<std::recursive_mutex> lock;
 2188     std::unique_lock<std::recursive_mutex> lock;
tools/lldb/source/Commands/CommandObjectTarget.cpp
 3007       std::unique_lock<std::recursive_mutex> guard(
 3040       std::unique_lock<std::recursive_mutex> lock;
tools/lldb/source/Commands/CommandObjectWatchpoint.cpp
  230     std::unique_lock<std::recursive_mutex> lock;
  303     std::unique_lock<std::recursive_mutex> lock;
  373     std::unique_lock<std::recursive_mutex> lock;
  445     std::unique_lock<std::recursive_mutex> lock;
  562     std::unique_lock<std::recursive_mutex> lock;
  683     std::unique_lock<std::recursive_mutex> lock;
tools/lldb/source/Core/ModuleList.cpp
  260   std::unique_lock<std::recursive_mutex> lock(m_modules_mutex, std::defer_lock);
tools/lldb/source/Host/common/OptionParser.cpp
   17 void OptionParser::Prepare(std::unique_lock<std::mutex> &lock) {
tools/lldb/source/Host/common/TaskPool.cpp
   62   std::unique_lock<std::mutex> lock(m_tasks_mutex);
   89     std::unique_lock<std::mutex> lock(pool->m_tasks_mutex);
tools/lldb/source/Host/posix/ConnectionFileDescriptorPosix.cpp
  317   std::unique_lock<std::recursive_mutex> locker(m_mutex, std::defer_lock);
  360   std::unique_lock<std::recursive_mutex> locker(m_mutex, std::defer_lock);
tools/lldb/source/Interpreter/Options.cpp
  987   std::unique_lock<std::mutex> lock;
 1112   std::unique_lock<std::mutex> lock;
 1301   std::unique_lock<std::mutex> lock;
tools/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp
  167   std::unique_lock<std::recursive_mutex> api_lock(target.GetAPIMutex(),
  309   std::unique_lock<std::recursive_mutex> api_lock(target.GetAPIMutex(),
  396     std::unique_lock<std::recursive_mutex> api_lock(target.GetAPIMutex(),
tools/lldb/source/Plugins/Process/Utility/HistoryThread.cpp
   63   std::unique_lock<std::mutex> lock(m_framelist_mutex);
tools/lldb/source/Plugins/Process/Utility/HistoryUnwind.cpp
   57   std::unique_lock<std::recursive_mutex> guard(m_unwind_mutex);
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteClientBase.cpp
  303     std::unique_lock<std::mutex> lock(m_comm.m_mutex);
  317   std::unique_lock<std::mutex> lock(m_comm.m_mutex);
  349   std::unique_lock<std::mutex> lock(m_comm.m_mutex);
  382     std::unique_lock<std::mutex> lock(m_comm.m_mutex);
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteClientBase.h
   68     std::unique_lock<std::recursive_mutex> m_async_lock;
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
  243   std::unique_lock<std::mutex> lock(m_packet_queue_mutex);
tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
 1595     std::unique_lock<std::recursive_mutex> stop_stack_lock(
tools/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetItemInfoHandler.cpp
  109     std::unique_lock<std::mutex> lock(m_get_item_info_retbuffer_mutex,
tools/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetPendingItemsHandler.cpp
  112     std::unique_lock<std::mutex> lock(m_get_pending_items_retbuffer_mutex,
tools/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetQueuesHandler.cpp
  108     std::unique_lock<std::mutex> lock(m_get_queues_retbuffer_mutex,
tools/lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.cpp
  118     std::unique_lock<std::mutex> lock(m_get_thread_item_info_retbuffer_mutex,
tools/lldb/source/Symbol/ClangExternalASTSourceCommon.cpp
   22 static ASTSourceMap &GetSourceMap(std::unique_lock<std::mutex> &guard) {
   26   std::unique_lock<std::mutex> locked_guard(s_mutex);
   33   std::unique_lock<std::mutex> guard;
   48   std::unique_lock<std::mutex> guard;
   53   std::unique_lock<std::mutex> guard;
tools/lldb/source/Target/ExecutionContext.cpp
  130                                    std::unique_lock<std::recursive_mutex> &lock)
  145                                    std::unique_lock<std::recursive_mutex> &lock)
tools/lldb/source/Target/StackFrameList.cpp
  826   std::unique_lock<std::recursive_mutex> current_lock, previous_lock;
tools/lldb/source/Target/Target.cpp
  172   std::unique_lock<std::recursive_mutex> lock;
  808   std::unique_lock<std::recursive_mutex> lock;
 1009   std::unique_lock<std::recursive_mutex> lock;
 1066   std::unique_lock<std::recursive_mutex> lock;
tools/lldb/source/Utility/Listener.cpp
  264     std::unique_lock<std::mutex> &lock,
  319   std::unique_lock<std::mutex> guard(m_events_mutex);
  327   std::unique_lock<std::mutex> guard(m_events_mutex);
  337   std::unique_lock<std::mutex> guard(m_events_mutex);
  354   std::unique_lock<std::mutex> lock(m_events_mutex);
tools/llvm-cov/CodeCoverage.cpp
  175   std::unique_lock<std::mutex> Guard{ErrsLock};
  181   std::unique_lock<std::mutex> Guard{ErrsLock};
  233   std::unique_lock<std::mutex> Guard{LoadedSourceFilesLock};
tools/llvm-profdata/llvm-profdata.cpp
  226   std::unique_lock<std::mutex> CtxGuard{WC->Lock};
  267       std::unique_lock<std::mutex> ErrGuard{WC->ErrLock};
  286     std::unique_lock<std::mutex> ErrGuard{Dst->ErrLock};
unittests/ExecutionEngine/Orc/QueueChannel.h
  109     std::unique_lock<std::mutex> Lock(InQueue->getMutex());
  129     std::unique_lock<std::mutex> Lock(OutQueue->getMutex());
unittests/Support/TaskQueueTest.cpp
   32   std::unique_lock<std::mutex> L1(M1);
   33   std::unique_lock<std::mutex> L2(M2);
   34   std::unique_lock<std::mutex> L3(M3);
   37     std::unique_lock<std::mutex> Lock(M1);
   41     std::unique_lock<std::mutex> Lock(M2);
   45     std::unique_lock<std::mutex> Lock(M3);
   76   std::unique_lock<std::mutex> Lock(M);
   81     std::unique_lock<std::mutex> Lock(M);
unittests/Support/ThreadPool.cpp
   57     std::unique_lock<std::mutex> LockGuard(WaitMainThreadMutex);
   64       std::unique_lock<std::mutex> LockGuard(WaitMainThreadMutex);
unittests/Support/Threading.cpp
   40     std::unique_lock<std::mutex> Lock(M);
usr/include/c++/7.4.0/bits/std_mutex.h
  235       unique_lock(const unique_lock&) = delete;
  236       unique_lock& operator=(const unique_lock&) = delete;
  236       unique_lock& operator=(const unique_lock&) = delete;
  238       unique_lock(unique_lock&& __u) noexcept
  245       unique_lock& operator=(unique_lock&& __u) noexcept
  245       unique_lock& operator=(unique_lock&& __u) noexcept
  250 	unique_lock(std::move(__u)).swap(*this);
  329       swap(unique_lock& __u) noexcept
  363     swap(unique_lock<_Mutex>& __x, unique_lock<_Mutex>& __y) noexcept
  363     swap(unique_lock<_Mutex>& __x, unique_lock<_Mutex>& __y) noexcept
usr/include/c++/7.4.0/condition_variable
   92     wait(unique_lock<mutex>& __lock) noexcept;
   96       wait(unique_lock<mutex>& __lock, _Predicate __p)
  104       wait_until(unique_lock<mutex>& __lock,
  110       wait_until(unique_lock<mutex>& __lock,
  124       wait_until(unique_lock<mutex>& __lock,
  136       wait_for(unique_lock<mutex>& __lock,
  148       wait_for(unique_lock<mutex>& __lock,
  166       __wait_until_impl(unique_lock<mutex>& __lock,
  187   notify_all_at_thread_exit(condition_variable&, unique_lock<mutex>);
  258 	unique_lock<mutex> __my_lock(*__mutex);
  262 	unique_lock<mutex> __my_lock2(std::move(__my_lock));
  281 	unique_lock<mutex> __my_lock(*__mutex);
  285 	unique_lock<mutex> __my_lock2(std::move(__my_lock));
usr/include/c++/7.4.0/mutex
  468     inline unique_lock<_Lock>
  470     { return unique_lock<_Lock>{__l, try_to_lock}; }
  547           unique_lock<_L1> __first(__l1);
utils/benchmark/src/mutex.h
   88   typedef std::unique_lock<std::mutex> MutexLockImp;