LLVM 20.0.0git
|
#include "CodeGen/AsmPrinter/AddressPool.h"
Public Member Functions | |
AddressPool ()=default | |
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) |
bool | isEmpty () |
bool | hasBeenUsed () const |
void | resetUsedFlag (bool HasBeenUsed=false) |
MCSymbol * | getLabel () |
void | setLabel (MCSymbol *Sym) |
Definition at line 23 of file AddressPool.h.
|
default |
void AddressPool::emit | ( | AsmPrinter & | Asm, |
MCSection * | AddrSection | ||
) |
Definition at line 43 of file AddressPool.cpp.
References llvm::MCSymbolRefExpr::create(), I, and isEmpty().
Returns the index into the address pool with the given label/symbol.
Definition at line 20 of file AddressPool.cpp.
References resetUsedFlag(), and Sym.
Referenced by llvm::DwarfCompileUnit::addLabelAddress(), llvm::DwarfCompileUnit::addLocationAttribute(), llvm::DwarfUnit::addPoolOpAddress(), emitRangeList(), and llvm::DwarfDebug::insertSectionLabel().
|
inline |
Definition at line 53 of file AddressPool.h.
Referenced by llvm::DwarfCompileUnit::addAddrTableBase().
|
inline |
Definition at line 49 of file AddressPool.h.
Referenced by llvm::DwarfDebug::addDwarfTypeUnitType().
|
inline |
Definition at line 47 of file AddressPool.h.
References llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::empty().
Referenced by emit().
|
inline |
Definition at line 51 of file AddressPool.h.
Referenced by llvm::DwarfDebug::addDwarfTypeUnitType(), and getIndex().
|
inline |
Definition at line 54 of file AddressPool.h.
References Sym.
Referenced by llvm::DwarfDebug::beginModule().