LLVM  6.0.0svn
Public Member Functions | Public Attributes | List of all members
llvm::DwarfStringPoolEntryRef Struct Reference

String pool entry reference. More...

#include "llvm/CodeGen/DwarfStringPoolEntry.h"

Collaboration diagram for llvm::DwarfStringPoolEntryRef:
Collaboration graph
[legend]

Public Member Functions

 DwarfStringPoolEntryRef ()=default
 
 DwarfStringPoolEntryRef (const StringMapEntry< DwarfStringPoolEntry > &I)
 
 operator bool () const
 
MCSymbolgetSymbol () const
 
unsigned getOffset () const
 
unsigned getIndex () const
 
StringRef getString () const
 
bool operator== (const DwarfStringPoolEntryRef &X) const
 
bool operator!= (const DwarfStringPoolEntryRef &X) const
 

Public Attributes

const StringMapEntry< DwarfStringPoolEntry > * I = nullptr
 

Detailed Description

String pool entry reference.

Definition at line 27 of file DwarfStringPoolEntry.h.

Constructor & Destructor Documentation

◆ DwarfStringPoolEntryRef() [1/2]

llvm::DwarfStringPoolEntryRef::DwarfStringPoolEntryRef ( )
default

◆ DwarfStringPoolEntryRef() [2/2]

llvm::DwarfStringPoolEntryRef::DwarfStringPoolEntryRef ( const StringMapEntry< DwarfStringPoolEntry > &  I)
inlineexplicit

Definition at line 32 of file DwarfStringPoolEntry.h.

Member Function Documentation

◆ getIndex()

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

Definition at line 42 of file DwarfStringPoolEntry.h.

References llvm::StringMapEntry< ValueTy >::second.

◆ getOffset()

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

◆ getString()

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

◆ getSymbol()

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

◆ operator bool()

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

Definition at line 36 of file DwarfStringPoolEntry.h.

References I.

◆ operator!=()

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

Definition at line 46 of file DwarfStringPoolEntry.h.

References I.

◆ operator==()

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

Definition at line 45 of file DwarfStringPoolEntry.h.

References I.

Member Data Documentation

◆ I

const StringMapEntry<DwarfStringPoolEntry>* llvm::DwarfStringPoolEntryRef::I = nullptr

Definition at line 28 of file DwarfStringPoolEntry.h.

Referenced by operator!=(), and operator==().


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