LLVM  8.0.1
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 ()
 
MCSymbolgetLabel ()
 
void setLabel (MCSymbol *Sym)
 

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 
)

◆ getLabel()

MCSymbol* llvm::AddressPool::getLabel ( )
inline

Definition at line 54 of file AddressPool.h.

Referenced by llvm::DwarfCompileUnit::addAddrTableBase().

◆ 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.

◆ setLabel()

void llvm::AddressPool::setLabel ( MCSymbol Sym)
inline

Definition at line 55 of file AddressPool.h.

References llvm::ARMBuildAttrs::Section.

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


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