28 static const char *
Lookup =
"0123456789ABCDEF";
32 for (
int i = 0; i < 16;) {
34 uint8_t HighNibble = (Byte >> 4) & 0xF;
35 uint8_t LowNibble = Byte & 0xF;
36 Stream << Lookup[HighNibble] << Lookup[LowNibble];
38 if (i >= 4 && i <= 10 && i % 2 == 0)
This class represents lattice values for constants.
ArrayRef< T > makeArrayRef(const T &OneElt)
Construct an ArrayRef from a single element.
static int Lookup(ArrayRef< TableEntry > Table, unsigned Opcode)
void format(raw_ostream &Stream, StringRef Style) override
This represents the 'GUID' type from windows.h.
size_t size() const
size - Get the array size.
raw_ostream & operator<<(raw_ostream &OS, const GUID &Guid)
GuidAdapter(ArrayRef< uint8_t > Guid)
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
This class implements an extremely fast bulk output stream that can only output to a stream...
StringRef - Represent a constant reference to a string, i.e.