10 #ifndef LLVM_LIB_CODEGEN_ASMPRINTER_ADDRESSPOOL_H 11 #define LLVM_LIB_CODEGEN_ASMPRINTER_ADDRESSPOOL_H 25 struct AddressPoolEntry {
29 AddressPoolEntry(
unsigned Number,
bool TLS) :
Number(Number), TLS(TLS) {}
37 bool HasBeenUsed =
false;
61 MCSymbol *AddressTableBaseSym =
nullptr;
66 #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.