Searched refs:SmartScopedReader (Results 1 – 3 of 3) sorted by relevance
170 using SmartScopedReader = const std::shared_lock<SmartRWMutex<mt_only>>; variable172 template <bool mt_only> struct SmartScopedReader { struct175 explicit SmartScopedReader(SmartRWMutex<mt_only> &m) : mutex(m) { in SmartScopedReader() argument179 ~SmartScopedReader() { mutex.unlock_shared(); } in ~SmartScopedReader() argument182 typedef SmartScopedReader<false> ScopedReader;
36 sys::SmartScopedReader<true> Guard(Lock); in getPassInfo()41 sys::SmartScopedReader<true> Guard(Lock); in getPassInfo()66 sys::SmartScopedReader<true> Guard(Lock); in enumerateWith()
83 llvm::sys::SmartScopedReader<false> rlock(pool.m_mutex); in GetMangledCounterpart()107 llvm::sys::SmartScopedReader<false> rlock(pool.m_mutex); in GetConstCStringWithStringRef()168 llvm::sys::SmartScopedReader<false> rlock(pool.m_mutex); in GetMemoryStats()