22 uint64_t Val = CI->getZExtValue();
25 OS << toIRString(static_cast<AtomicOrdering>(Val));
30 int64_t Val = CI->getSExtValue();
57 int64_t Val = CI->getSExtValue();
92 int64_t Val = CI->getSExtValue();
109 int64_t Val = CI->getSExtValue();
Atomic ordering constants.
This file declares utility interfaces for PISA intrinsics.
This is an important base class in LLVM.
This class implements an extremely fast bulk output stream that can only output to a stream.
LLVM_ABI void printSHFLMode(raw_ostream &OS, const Constant *ImmArgVal)
LLVM_ABI void printFRedOp(raw_ostream &OS, const Constant *ImmArgVal)
LLVM_ABI void printRoundingMode(raw_ostream &OS, const Constant *ImmArgVal)
LLVM_ABI void printIRedOp(raw_ostream &OS, const Constant *ImmArgVal)
LLVM_ABI void printMemoryOrdering(raw_ostream &OS, const Constant *ImmArgVal)
This is an optimization pass for GlobalISel generic memory operations.
bool isValidAtomicOrdering(Int I)
RoundingMode
Rounding mode.
@ TowardZero
roundTowardZero.
@ NearestTiesToEven
roundTiesToEven.
@ Invalid
Denotes invalid value.
@ Dynamic
Denotes mode unknown at compile time.
@ TowardPositive
roundTowardPositive.
@ NearestTiesToAway
roundTiesToAway.
@ TowardNegative
roundTowardNegative.
decltype(auto) cast(const From &Val)
cast<X> - Return the argument parameter cast to the specified type.