LLVM  4.0.0
Classes | Public Member Functions | List of all members
llvm::AddressPool Class Reference

#include <AddressPool.h>

Public Member Functions

 AddressPool ()
 
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 ()
 

Detailed Description

Definition at line 22 of file AddressPool.h.

Constructor & Destructor Documentation

llvm::AddressPool::AddressPool ( )
inline

Definition at line 37 of file AddressPool.h.

Member Function Documentation

void AddressPool::emit ( AsmPrinter Asm,
MCSection AddrSection 
)
unsigned AddressPool::getIndex ( const MCSymbol Sym,
bool  TLS = false 
)

Returns the index into the address pool with the given label/symbol.

Definition at line 17 of file AddressPool.cpp.

Referenced by llvm::DwarfCompileUnit::addLabelAddress(), llvm::DwarfUnit::addOpAddress(), and llvm::DwarfCompileUnit::getOrCreateGlobalVariableDIE().

bool llvm::AddressPool::hasBeenUsed ( ) const
inline

Definition at line 47 of file AddressPool.h.

Referenced by llvm::DwarfDebug::addDwarfTypeUnitType().

bool llvm::AddressPool::isEmpty ( )
inline

Definition at line 45 of file AddressPool.h.

void llvm::AddressPool::resetUsedFlag ( )
inline

Definition at line 49 of file AddressPool.h.

Referenced by llvm::DwarfDebug::addDwarfTypeUnitType().


The documentation for this class was generated from the following files: