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())
Compute iterated dominance frontiers using a linear time algorithm.
SimpleTypeKind getSimpleKind() const
print alias Alias Set Printer
SimpleTypeMode getSimpleMode() const
LLVM_NODISCARD LLVM_ATTRIBUTE_ALWAYS_INLINE bool empty() const
empty - Check if the string is empty.
void printTypeIndex(ScopedPrinter &Printer, StringRef FieldName, TypeIndex TI, TypeCollection &Types)
static StringRef simpleTypeName(TypeIndex TI)
constexpr char TypeName[]
Key for Kernel::Arg::Metadata::mTypeName.
void printHex(StringRef Label, T Value)
uint32_t getIndex() const
virtual StringRef getTypeName(TypeIndex Index)=0
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
StringRef - Represent a constant reference to a string, i.e.