9 #ifndef LLVM_LIB_CODEGEN_ASMPRINTER_ADDRESSPOOL_H 10 #define LLVM_LIB_CODEGEN_ASMPRINTER_ADDRESSPOOL_H 24 struct AddressPoolEntry {
28 AddressPoolEntry(
unsigned Number,
bool TLS) :
Number(Number), TLS(TLS) {}
36 bool HasBeenUsed =
false;
60 MCSymbol *AddressTableBaseSym =
nullptr;
65 #endif // LLVM_LIB_CODEGEN_ASMPRINTER_ADDRESSPOOL_H Instances of this class represent a uniqued identifier for a section in the current translation unit...
void setLabel(MCSymbol *Sym)
This class represents lattice values for constants.
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
void emit(AsmPrinter &Asm, MCSection *AddrSection)
This class is intended to be used as a driving class for all asm writers.
LLVM_NODISCARD bool empty() const
unsigned getIndex(const MCSymbol *Sym, bool TLS=false)
Returns the index into the address pool with the given label/symbol.