LLVM  15.0.0git
Public Member Functions | List of all members
llvm::DwarfStringPoolEntryRef Class Reference

String pool entry reference. More...

#include "llvm/CodeGen/DwarfStringPoolEntry.h"

Public Member Functions

 DwarfStringPoolEntryRef ()=default
 
 DwarfStringPoolEntryRef (const StringMapEntry< DwarfStringPoolEntry > &Entry)
 
 operator bool () const
 
MCSymbolgetSymbol () const
 
uint64_t getOffset () const
 
unsigned getIndex () const
 
StringRef getString () const
 
DwarfStringPoolEntry getEntry () const
 Return the entire string pool entry for convenience. More...
 
bool operator== (const DwarfStringPoolEntryRef &X) const
 
bool operator!= (const DwarfStringPoolEntryRef &X) const
 

Detailed Description

String pool entry reference.

Definition at line 31 of file DwarfStringPoolEntry.h.

Constructor & Destructor Documentation

◆ DwarfStringPoolEntryRef() [1/2]

llvm::DwarfStringPoolEntryRef::DwarfStringPoolEntryRef ( )
default

◆ DwarfStringPoolEntryRef() [2/2]

llvm::DwarfStringPoolEntryRef::DwarfStringPoolEntryRef ( const StringMapEntry< DwarfStringPoolEntry > &  Entry)
inline

Definition at line 40 of file DwarfStringPoolEntry.h.

Member Function Documentation

◆ getEntry()

DwarfStringPoolEntry llvm::DwarfStringPoolEntryRef::getEntry ( ) const
inline

Return the entire string pool entry for convenience.

Definition at line 55 of file DwarfStringPoolEntry.h.

◆ getIndex()

unsigned llvm::DwarfStringPoolEntryRef::getIndex ( ) const
inline

◆ getOffset()

uint64_t llvm::DwarfStringPoolEntryRef::getOffset ( ) const
inline

◆ getString()

StringRef llvm::DwarfStringPoolEntryRef::getString ( ) const
inline

Definition at line 53 of file DwarfStringPoolEntry.h.

Referenced by llvm::DIEString::print().

◆ getSymbol()

MCSymbol* llvm::DwarfStringPoolEntryRef::getSymbol ( ) const
inline

Definition at line 44 of file DwarfStringPoolEntry.h.

References assert().

Referenced by llvm::DIEString::emitValue(), and llvm::DIEString::sizeOf().

◆ operator bool()

llvm::DwarfStringPoolEntryRef::operator bool ( ) const
inlineexplicit

Definition at line 43 of file DwarfStringPoolEntry.h.

◆ operator!=()

bool llvm::DwarfStringPoolEntryRef::operator!= ( const DwarfStringPoolEntryRef X) const
inline

Definition at line 60 of file DwarfStringPoolEntry.h.

References X.

◆ operator==()

bool llvm::DwarfStringPoolEntryRef::operator== ( const DwarfStringPoolEntryRef X) const
inline

Definition at line 57 of file DwarfStringPoolEntry.h.

References X.


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