38 "printTcgen05MMAKind called with invalid value for immediate argument");
60 llvm_unreachable(
"printTcgen05CollectorUsageOp called with invalid value for "
61 "immediate argument");
65 static constexpr StringRef TensormapElemTypes[] = {
66 "u8",
"u16",
"u32",
"s32",
"u64",
"s64",
67 "f16",
"f32",
"f32.ftz",
"f64",
"bf16",
"tf32",
68 "tf32.ftz",
"b4x16",
"b4x16_p64",
"b6x16_p32"};
72 OS << TensormapElemTypes[Val];
84 OS <<
"No interleave";
87 OS <<
"16B interleave";
90 OS <<
"32B interleave";
98 static constexpr StringRef TensormapSwizzleModes[] = {
99 "No swizzling",
"32B swizzling",
"64B swizzling",
"128B swizzling",
104 OS << TensormapSwizzleModes[Val];
112 static constexpr StringRef TensormapSwizzleAtomicities[] = {
113 "16B",
"32B",
"32B + 8B flip",
"64B"};
118 OS << TensormapSwizzleAtomicities[Val];
This file contains the definitions of the enumerations and flags associated with NVVM Intrinsics,...
This is an important base class in LLVM.
StringRef - Represent a constant reference to a string, i.e.
This class implements an extremely fast bulk output stream that can only output to a stream.
#define llvm_unreachable(msg)
Marks that the current location is not supposed to be reachable.
void printTensormapSwizzleMode(raw_ostream &OS, const Constant *ImmArgVal)
void printTensormapInterleaveLayout(raw_ostream &OS, const Constant *ImmArgVal)
void printTensormapSwizzleAtomicity(raw_ostream &OS, const Constant *ImmArgVal)
TensormapInterleaveLayout
void printTcgen05MMAKind(raw_ostream &OS, const Constant *ImmArgVal)
void printTcgen05CollectorUsageOp(raw_ostream &OS, const Constant *ImmArgVal)
void printTensormapFillMode(raw_ostream &OS, const Constant *ImmArgVal)
void printTensormapElemType(raw_ostream &OS, const Constant *ImmArgVal)
This is an optimization pass for GlobalISel generic memory operations.
decltype(auto) dyn_cast(const From &Val)
dyn_cast<X> - Return the argument parameter cast to the specified type.