llvm::isStrongerThan

Returns true if ao is stronger than other as defined by the AtomicOrdering lattice, which is based on C++'s definition.

Synopsis

Declared in <llvm/Support/AtomicOrdering.h>

bool
isStrongerThan(
    AtomicOrdering AO,
    AtomicOrdering Other);

Return Value

True if AO is strictly stronger than 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.