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
| Name | Value | Comment |
|---|---|---|
| NotAtomic | 0 | |
| Unordered | 1 | |
| Monotonic | 2 | |
| Acquire | 4 | |
| Release | 5 | |
| AcquireRelease | 6 | |
| SequentiallyConsistent | 7 | |
| LAST | 7 |