Return a single atomic ordering that is at least as strong as both the AO and Other orderings for an atomic operation.

Synopsis

Declared in <llvm/Support/AtomicOrdering.h>

AtomicOrdering
getMergedAtomicOrdering(
    AtomicOrdering AO,
    AtomicOrdering Other);

Return Value

An atomic ordering at least as strong as both AO and Other.

Parameters

Name

Description

AO

First atomic ordering to merge.

Other

Second atomic ordering to merge.

Created with MrDocs