LLVM 19.0.0git
Classes | Namespaces | Typedefs
Mutex.h File Reference
#include "llvm/Support/Threading.h"
#include <cassert>
#include <mutex>

Go to the source code of this file.

Classes

class  llvm::sys::SmartMutex< mt_only >
 SmartMutex - A mutex with a compile time constant parameter that indicates whether this mutex should become a no-op when we're not running in multithreaded mode. More...
 

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 
namespace  llvm::sys
 

Typedefs

typedef SmartMutex< false > llvm::sys::Mutex
 Mutex - A standard, always enforced mutex.
 
template<bool mt_only>
using llvm::sys::SmartScopedLock = std::lock_guard< SmartMutex< mt_only > >
 
typedef SmartScopedLock< false > llvm::sys::ScopedLock