enum class TargetLoweringBase::AtomicExpansionKind

Description

Enum that specifies what an atomic load/AtomicRMWInst is expanded to, if at all. Exists because different targets have different levels of support for these atomic instructions, and also have different options w.r.t. what they should expand to.

Declared at: llvm/include/llvm/CodeGen/TargetLowering.h:249

Enumerators

NameValueComment
None0
CastToInteger1
LLSC2
LLOnly3
CmpXChg4
MaskedIntrinsic5
BitTestIntrinsic6
Expand7
NotAtomic8