10 #ifndef LLVM_SUPPORT_ARMATTRIBUTEPARSER_H 11 #define LLVM_SUPPORT_ARMATTRIBUTEPARSER_H 24 std::map<unsigned, unsigned> Attributes;
26 struct DisplayHandler {
31 static const DisplayHandler DisplayRoutines[];
41 void PrintAttribute(
unsigned Tag,
unsigned Value,
StringRef ValueDesc);
94 const uint8_t *Data,
uint32_t &Offset);
116 void ParseAttributeList(
const uint8_t *Data,
uint32_t &Offset,
118 void ParseIndexList(
const uint8_t *Data,
uint32_t &Offset,
120 void ParseSubsection(
const uint8_t *Data,
uint32_t Length);
129 return Attributes.count(Tag);
133 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.