llvm::isAtLeastOrStrongerThan

Return true if AO is at least as strong as Other in the atomic ordering lattice.

Synopsis

Declared in <llvm/Support/AtomicOrdering.h>

bool
isAtLeastOrStrongerThan(
    AtomicOrdering AO,
    AtomicOrdering Other);

Return Value

True if AO is at least as strong as Other in the lattice.

Parameters

NameDescription
AOAtomic ordering on the left-hand side of the comparison.
OtherAtomic ordering on the right-hand side of the comparison.