Movatterモバイル変換


[0]ホーム

URL:


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

#include "CodeGen/AsmPrinter/AddressPool.h"

Public Member Functions

 AddressPool ()=default
 
unsigned getIndex (constMCSymbol *Sym,bool TLS=false)
 Returns the index into the address pool with the given label/symbol.
 
void emit (AsmPrinter &Asm,MCSection *AddrSection)
 
bool isEmpty ()
 
bool hasBeenUsed ()const
 
void resetUsedFlag (bool HasBeenUsed=false)
 
MCSymbolgetLabel ()
 
void setLabel (MCSymbol *Sym)
 

Detailed Description

Definition at line23 of fileAddressPool.h.

Constructor & Destructor Documentation

◆ AddressPool()

llvm::AddressPool::AddressPool()
default

Member Function Documentation

◆ emit()

void AddressPool::emit(AsmPrinterAsm,
MCSectionAddrSection 
)

Definition at line42 of fileAddressPool.cpp.

Referencesllvm::MCSymbolRefExpr::create(),I, andisEmpty().

◆ getIndex()

unsigned AddressPool::getIndex(constMCSymbolSym,
bool TLS =false 
)

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

Definition at line19 of fileAddressPool.cpp.

ReferencesresetUsedFlag(), andSym.

Referenced byllvm::DwarfCompileUnit::addLabelAddress(),llvm::DwarfCompileUnit::addLocationAttribute(),llvm::DwarfUnit::addPoolOpAddress(),emitRangeList(), andllvm::DwarfDebug::insertSectionLabel().

◆ getLabel()

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

Definition at line53 of fileAddressPool.h.

Referenced byllvm::DwarfCompileUnit::addAddrTableBase().

◆ hasBeenUsed()

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

Definition at line49 of fileAddressPool.h.

Referenced byllvm::DwarfDebug::addDwarfTypeUnitType().

◆ isEmpty()

bool llvm::AddressPool::isEmpty()
inline

Definition at line47 of fileAddressPool.h.

Referencesllvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::empty().

Referenced byemit().

◆ resetUsedFlag()

void llvm::AddressPool::resetUsedFlag(bool HasBeenUsed =false)
inline

Definition at line51 of fileAddressPool.h.

Referenced byllvm::DwarfDebug::addDwarfTypeUnitType(), andgetIndex().

◆ setLabel()

void llvm::AddressPool::setLabel(MCSymbolSym)
inline

Definition at line54 of fileAddressPool.h.

ReferencesSym.

Referenced byllvm::DwarfDebug::beginModule().


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

Generated on Sun Jul 20 2025 15:07:43 for LLVM by doxygen 1.9.6
[8]ページ先頭

©2009-2025 Movatter.jp