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

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

Detailed Description

Definition at line 24 of file AddressPool.h.

Constructor & Destructor Documentation

◆ AddressPool()

llvm::AddressPool::AddressPool ( )
default

Member Function Documentation

◆ emit()

void AddressPool::emit ( AsmPrinter Asm,
MCSection AddrSection 
)

◆ getIndex()

unsigned AddressPool::getIndex ( const MCSymbol Sym,
bool  TLS = false 
)

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

Definition at line 20 of file AddressPool.cpp.

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

◆ hasBeenUsed()

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

Definition at line 50 of file AddressPool.h.

◆ isEmpty()

bool llvm::AddressPool::isEmpty ( )
inline

◆ resetUsedFlag()

void llvm::AddressPool::resetUsedFlag ( )
inline

Definition at line 52 of file AddressPool.h.


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