|
LLVM
7.0.0
|
#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 () |
Definition at line 24 of file AddressPool.h.
|
default |
| void AddressPool::emit | ( | AsmPrinter & | Asm, |
| MCSection * | AddrSection | ||
| ) |
Definition at line 43 of file AddressPool.cpp.
References llvm::MCSymbolRefExpr::create(), llvm::AsmPrinter::getDataLayout(), llvm::TargetLoweringObjectFile::getDebugThreadLocalSymbol(), llvm::AsmPrinter::getDwarfVersion(), llvm::AsmPrinter::getObjFileLowering(), llvm::DataLayout::getPointerSize(), I, 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(), llvm::DwarfDebug::emitDebugLocEntryLocation(), and llvm::DwarfCompileUnit::getOrCreateGlobalVariableDIE().
|
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().
|
inline |
Definition at line 52 of file AddressPool.h.
References llvm::ARMBuildAttrs::Section.
1.8.13