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:161
Enumerators
Name | Value | Comment |
---|---|---|
None | 0 | |
LLSC | 1 | |
LLOnly | 2 | |
CmpXChg | 3 | |
MaskedIntrinsic | 4 |