19 struct SimpleTypeEntry {
27 static 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>";
103 if (!TypeName.
empty())
This class represents lattice values for constants.
SimpleTypeKind getSimpleKind() const
print alias Alias Set Printer
SimpleTypeMode getSimpleMode() const
amdgpu Simplify well known AMD library false Value Value const Twine & Name
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.
static TypeIndex NullptrT()