10 #ifndef LLVM_CODEGEN_DWARFSTRINGPOOLENTRY_H 11 #define LLVM_CODEGEN_DWARFSTRINGPOOLENTRY_H 44 : MapEntryAndIndexed(&Entry, Indexed) {}
46 explicit operator bool()
const {
return getMapEntry(); }
48 assert(getMapEntry()->
second.Symbol &&
"No symbol available!");
49 return getMapEntry()->second.Symbol;
51 unsigned getOffset()
const {
return getMapEntry()->second.Offset; }
56 return getMapEntry()->second.Index;
63 return getMapEntry() == X.getMapEntry();
66 return getMapEntry() != X.getMapEntry();
StringRef getString() const
static GCMetadataPrinterRegistry::Add< ErlangGCPrinter > X("erlang", "erlang-compatible garbage collector")
MCSymbol * getSymbol() const
This class represents lattice values for constants.
PointerTy getPointer() const
StringMapEntry - This is used to represent one value that is inserted into a StringMap.
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
DwarfStringPoolEntry getEntry() const
Return the entire string pool entry for convenience.
DwarfStringPoolEntryRef(const StringMapEntry< DwarfStringPoolEntry > &Entry, bool Indexed)
static constexpr unsigned NotIndexed
Data for a string pool entry.
unsigned getOffset() const
PointerIntPair - This class implements a pair of a pointer and small integer.
bool operator==(const DwarfStringPoolEntryRef &X) const
unsigned getIndex() const
bool operator!=(const DwarfStringPoolEntryRef &X) const
String pool entry reference.
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
StringRef - Represent a constant reference to a string, i.e.