LLVM  8.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
 
DwarfStringPoolEntry getEntry () const
 Return the entire string pool entry for convenience. More...
 
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

◆ getEntry()

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

Return the entire string pool entry for convenience.

Definition at line 45 of file DwarfStringPoolEntry.h.

References llvm::StringMapEntry< ValueTy >::getValue().

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

◆ 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

Definition at line 41 of file DwarfStringPoolEntry.h.

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

◆ getString()

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

◆ getSymbol()

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

Definition at line 37 of file DwarfStringPoolEntry.h.

References assert(), and llvm::StringMapEntry< ValueTy >::second.

◆ 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 48 of file DwarfStringPoolEntry.h.

References I.

◆ operator==()

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

Definition at line 47 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: