20 : NameStorage(
Allocator), Records(Records) {
21 Names.resize(Records.size());
44 return CVType(Kind, Bytes);
52 if (Names[I].data() ==
nullptr) {
This class represents lattice values for constants.
TypeLeafKind
Duplicate copy of the above enum, but using the official CV names.
std::string computeTypeName(TypeCollection &Types, TypeIndex Index)
CVRecord< TypeLeafKind > CVType
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory)...
uint32_t toArrayIndex() const
static TypeIndex fromArrayIndex(uint32_t Index)
bool contains(TypeIndex Index) override
TypeTableCollection(ArrayRef< ArrayRef< uint8_t >> Records)
static StringRef simpleTypeName(TypeIndex TI)
Optional< TypeIndex > getFirst() override
StringRef getTypeName(TypeIndex Index) override
uint32_t capacity() override
StringRef save(const char *S)
Optional< TypeIndex > getNext(TypeIndex Prev) override
CVType getType(TypeIndex Index) override
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
StringRef - Represent a constant reference to a string, i.e.