enum RMWOperations
Description
These are values used in the bitcode files to encode AtomicRMW operations. The values of these enums have no fixed relation to the LLVM IR enum values. Changing these will break compatibility with old files.
Declared at: llvm/include/llvm/Bitcode/LLVMBitCodes.h:420
Enumerators
Name | Value | Comment |
---|---|---|
RMW_XCHG | 0 | |
RMW_ADD | 1 | |
RMW_SUB | 2 | |
RMW_AND | 3 | |
RMW_NAND | 4 | |
RMW_OR | 5 | |
RMW_XOR | 6 | |
RMW_MAX | 7 | |
RMW_MIN | 8 | |
RMW_UMAX | 9 | |
RMW_UMIN | 10 | |
RMW_FADD | 11 | |
RMW_FSUB | 12 |