18 struct SimpleTypeEntry {
26 static const SimpleTypeEntry SimpleTypeNames[] = {
77 return "std::nullptr_t";
80 for (
const auto &SimpleTypeName : SimpleTypeNames) {
83 return SimpleTypeName.Name.drop_back(1);
86 return SimpleTypeName.Name;
89 return "<unknown simple type>";
102 if (!TypeName.
empty())
This class represents lattice values for constants.
amdgpu Simplify well known AMD library false FunctionCallee Value const Twine & Name
SimpleTypeKind getSimpleKind() const
print alias Alias Set Printer
SimpleTypeMode getSimpleMode() const
LLVM_NODISCARD 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()