18struct SimpleTypeEntry {
26static const SimpleTypeEntry SimpleTypeNames[] = {
78 return "std::nullptr_t";
81 for (
const auto &SimpleTypeName : SimpleTypeNames) {
84 return SimpleTypeName.Name.drop_back(1);
87 return SimpleTypeName.Name;
90 return "<unknown simple type>";
100 TypeName = Types.getTypeName(TI);
103 if (!TypeName.empty())
assert(UImm &&(UImm !=~static_cast< T >(0)) &&"Invalid immediate!")
dxil pretty DXIL Metadata Pretty Printer
StringRef - Represent a constant reference to a string, i.e.
SimpleTypeKind getSimpleKind() const
SimpleTypeMode getSimpleMode() const
static LLVM_ABI StringRef simpleTypeName(TypeIndex TI)
uint32_t getIndex() const
static TypeIndex NullptrT()
@ Float32PartialPrecision
LLVM_ABI void printTypeIndex(ScopedPrinter &Printer, StringRef FieldName, TypeIndex TI, TypeCollection &Types)
This is an optimization pass for GlobalISel generic memory operations.