16 using namespace llvm::codeview;
19 struct SimpleTypeEntry {
27 static const SimpleTypeEntry SimpleTypeNames[] = {
78 for (
const auto &SimpleTypeName : SimpleTypeNames) {
81 return SimpleTypeName.Name.drop_back(1);
84 return SimpleTypeName.Name;
87 return "<unknown simple type>";
100 if (!TypeName.
empty())
print alias Alias Set Printer
uint32_t getIndex() const
void printTypeIndex(ScopedPrinter &Printer, StringRef FieldName, TypeIndex TI, TypeCollection &Types)
static StringRef simpleTypeName(TypeIndex TI)
void printHex(StringRef Label, T Value)
SimpleTypeKind getSimpleKind() const
virtual StringRef getTypeName(TypeIndex Index)=0
LLVM_NODISCARD LLVM_ATTRIBUTE_ALWAYS_INLINE bool empty() const
empty - Check if the string is empty.
constexpr char TypeName[]
Key for Kernel::Arg::Metadata::mTypeName.
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
SimpleTypeMode getSimpleMode() const
StringRef - Represent a constant reference to a string, i.e.