LLVM
8.0.1
|
#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. More... | |
void | emit (AsmPrinter &Asm, MCSection *AddrSection) |
bool | isEmpty () |
bool | hasBeenUsed () const |
void | resetUsedFlag () |
MCSymbol * | getLabel () |
void | setLabel (MCSymbol *Sym) |
Definition at line 24 of file AddressPool.h.
|
default |
void AddressPool::emit | ( | AsmPrinter & | Asm, |
MCSection * | AddrSection | ||
) |
Definition at line 45 of file AddressPool.cpp.
References llvm::MCSymbolRefExpr::create(), llvm::AsmPrinter::getDataLayout(), llvm::TargetLoweringObjectFile::getDebugThreadLocalSymbol(), llvm::AsmPrinter::getDwarfVersion(), llvm::AsmPrinter::getObjFileLowering(), llvm::DataLayout::getPointerSize(), I, isEmpty(), llvm::AsmPrinter::OutContext, and llvm::AsmPrinter::OutStreamer.
Returns the index into the address pool with the given label/symbol.
Definition at line 20 of file AddressPool.cpp.
References llvm::HexStyle::Asm, llvm::AsmPrinter::emitInt16(), llvm::AsmPrinter::emitInt32(), llvm::AsmPrinter::emitInt8(), llvm::AsmPrinter::getDataLayout(), llvm::AsmPrinter::getDwarfVersion(), llvm::DataLayout::getPointerSize(), llvm::AsmPrinter::OutStreamer, and llvm::ARMBuildAttrs::Section.
Referenced by llvm::DwarfCompileUnit::addLabelAddress(), llvm::DwarfUnit::addOpAddress(), emitLoclistsTableHeader(), emitRangeList(), and llvm::DwarfCompileUnit::getOrCreateGlobalVariableDIE().
|
inline |
Definition at line 54 of file AddressPool.h.
Referenced by llvm::DwarfCompileUnit::addAddrTableBase().
|
inline |
Definition at line 50 of file AddressPool.h.
|
inline |
Definition at line 48 of file AddressPool.h.
References llvm::DenseMapBase< DenseMap< KeyT, ValueT, KeyInfoT, BucketT >, KeyT, ValueT, KeyInfoT, BucketT >::empty().
Referenced by llvm::DwarfDebug::beginModule(), and emit().
|
inline |
Definition at line 52 of file AddressPool.h.
|
inline |
Definition at line 55 of file AddressPool.h.
References llvm::ARMBuildAttrs::Section.
Referenced by llvm::DwarfDebug::beginModule().