LLVM  8.0.1
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 32 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 42 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 60 of file DwarfStringPoolEntry.h.

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

◆ getIndex()

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

Definition at line 53 of file DwarfStringPoolEntry.h.

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

◆ getOffset()

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

Definition at line 51 of file DwarfStringPoolEntry.h.

◆ getString()

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

◆ getSymbol()

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

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

◆ operator!=()

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

Definition at line 65 of file DwarfStringPoolEntry.h.

◆ operator==()

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

Definition at line 62 of file DwarfStringPoolEntry.h.


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