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);

Parameters

NameDescription
AOAtomic ordering for LLVM's memory model.
OtherAtomic ordering for LLVM's memory model.