9#ifndef LLVM_LIB_CODEGEN_ASMPRINTER_ADDRESSPOOL_H
10#define LLVM_LIB_CODEGEN_ASMPRINTER_ADDRESSPOOL_H
24 struct AddressPoolEntry {
36 bool HasBeenUsed =
false;
51 void resetUsedFlag(
bool HasBeenUsed =
false) { this->HasBeenUsed = HasBeenUsed; }
60 MCSymbol *AddressTableBaseSym =
nullptr;
This file defines the DenseMap class.
unsigned getIndex(const MCSymbol *Sym, bool TLS=false)
Returns the index into the address pool with the given label/symbol.
void emit(AsmPrinter &Asm, MCSection *AddrSection)
void setLabel(MCSymbol *Sym)
void resetUsedFlag(bool HasBeenUsed=false)
This class is intended to be used as a driving class for all asm writers.
Instances of this class represent a uniqued identifier for a section in the current translation unit.
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
This is an optimization pass for GlobalISel generic memory operations.