Home
last modified time | relevance | path

Searched defs:SmartScopedWriter (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/llvm/include/llvm/Support/
DRWMutex.h184 using SmartScopedWriter = std::lock_guard<SmartRWMutex<mt_only>>; variable
186 template <bool mt_only> struct SmartScopedWriter { struct
189 explicit SmartScopedWriter(SmartRWMutex<mt_only> &m) : mutex(m) { in SmartScopedWriter() argument
193 ~SmartScopedWriter() { mutex.unlock(); } in ~SmartScopedWriter() argument
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DRWMutex.h186 using SmartScopedWriter = std::lock_guard<SmartRWMutex<mt_only>>; variable
188 template <bool mt_only> struct SmartScopedWriter { struct
191 explicit SmartScopedWriter(SmartRWMutex<mt_only> &m) : mutex(m) { in SmartScopedWriter() argument
195 ~SmartScopedWriter() { mutex.unlock(); } in ~SmartScopedWriter() argument
/external/llvm/include/llvm/Support/
DRWMutex.h162 struct SmartScopedWriter { struct
165 explicit SmartScopedWriter(SmartRWMutex<mt_only>& m) : mutex(m) { in SmartScopedWriter() argument
169 ~SmartScopedWriter() { in ~SmartScopedWriter() argument