LLVM  10.0.0svn
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, bool Indexed)
 
 operator bool () const
 
MCSymbolgetSymbol () const
 
unsigned getOffset () const
 
bool isIndexed () 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,
bool  Indexed 
)
inline

Definition at line 41 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 59 of file DwarfStringPoolEntry.h.

Referenced by llvm::AsmPrinter::emitDwarfStringOffset().

◆ getIndex()

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

Definition at line 52 of file DwarfStringPoolEntry.h.

References assert(), and llvm::DwarfStringPoolEntry::isIndexed().

◆ getOffset()

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

Definition at line 50 of file DwarfStringPoolEntry.h.

◆ getString()

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

◆ getSymbol()

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

Definition at line 46 of file DwarfStringPoolEntry.h.

References assert(), and second.

◆ isIndexed()

bool llvm::DwarfStringPoolEntryRef::isIndexed ( ) const
inline

◆ operator bool()

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

Definition at line 45 of file DwarfStringPoolEntry.h.

◆ operator!=()

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

Definition at line 64 of file DwarfStringPoolEntry.h.

◆ operator==()

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

Definition at line 61 of file DwarfStringPoolEntry.h.


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