9 #ifndef LLVM_SUPPORT_ARMATTRIBUTEPARSER_H 10 #define LLVM_SUPPORT_ARMATTRIBUTEPARSER_H 23 std::map<unsigned, unsigned> Attributes;
25 struct DisplayHandler {
30 static const DisplayHandler DisplayRoutines[];
40 void PrintAttribute(
unsigned Tag,
unsigned Value,
StringRef ValueDesc);
95 const uint8_t *Data,
uint32_t &Offset);
117 void ParseAttributeList(
const uint8_t *Data,
uint32_t &Offset,
119 void ParseIndexList(
const uint8_t *Data,
uint32_t &Offset,
121 void ParseSubsection(
const uint8_t *Data,
uint32_t Length);
130 return Attributes.count(Tag);
134 return Attributes.find(Tag)->second;
bool hasAttribute(unsigned Tag) const
This class represents lattice values for constants.
ARMAttributeParser(ScopedPrinter *SW)
unsigned getAttributeValue(unsigned Tag) const
LLVM Value Representation.
void Parse(ArrayRef< uint8_t > Section, bool isLittle)
StringRef - Represent a constant reference to a string, i.e.