enum class AtomicOrdering

Description

Atomic ordering for LLVM's memory model. C++ defines ordering as a lattice. LLVM supplements this with NotAtomic and Unordered, which are both below the C++ orders. not_atomic-->unordered-->relaxed-->release--------------->acq_rel-->seq_cst \ -->consume-->acquire--/

Declared at: llvm/include/llvm/Support/AtomicOrdering.h:56

Enumerators

NameValueComment
NotAtomic0
Unordered1
Monotonic2
Acquire4
Release5
AcquireRelease6
SequentiallyConsistent7