LLVM  6.0.0svn
Public Types | Public Member Functions | List of all members
llvm::PredIterator< Ptr, USE_iterator > Class Template Reference

#include "llvm/IR/CFG.h"

Inheritance diagram for llvm::PredIterator< Ptr, USE_iterator >:
Inheritance graph
[legend]
Collaboration diagram for llvm::PredIterator< Ptr, USE_iterator >:
Collaboration graph
[legend]

Public Types

using pointer = typename super::pointer
 
using reference = typename super::reference
 

Public Member Functions

 PredIterator ()=default
 
 PredIterator (Ptr *bb)
 
 PredIterator (Ptr *bb, bool)
 
bool operator== (const Self &x) const
 
bool operator!= (const Self &x) const
 
reference operator* () const
 
pointeroperator-> () const
 
Selfoperator++ ()
 
Self operator++ (int)
 
unsigned getOperandNo () const
 getOperandNo - Return the operand number in the predecessor's terminator of the successor. More...
 
UsegetUse () const
 getUse - Return the operand Use in the predecessor's terminator of the successor. More...
 

Detailed Description

template<class Ptr, class USE_iterator>
class llvm::PredIterator< Ptr, USE_iterator >

Definition at line 38 of file CFG.h.

Member Typedef Documentation

◆ pointer

template<class Ptr , class USE_iterator >
using llvm::PredIterator< Ptr, USE_iterator >::pointer = typename super::pointer

Definition at line 52 of file CFG.h.

◆ reference

template<class Ptr , class USE_iterator >
using llvm::PredIterator< Ptr, USE_iterator >::reference = typename super::reference

Definition at line 53 of file CFG.h.

Constructor & Destructor Documentation

◆ PredIterator() [1/3]

template<class Ptr , class USE_iterator >
llvm::PredIterator< Ptr, USE_iterator >::PredIterator ( )
default

◆ PredIterator() [2/3]

template<class Ptr , class USE_iterator >
llvm::PredIterator< Ptr, USE_iterator >::PredIterator ( Ptr *  bb)
inlineexplicit

Definition at line 56 of file CFG.h.

◆ PredIterator() [3/3]

template<class Ptr , class USE_iterator >
llvm::PredIterator< Ptr, USE_iterator >::PredIterator ( Ptr *  bb,
bool   
)
inline

Definition at line 59 of file CFG.h.

Member Function Documentation

◆ getOperandNo()

template<class Ptr , class USE_iterator >
unsigned llvm::PredIterator< Ptr, USE_iterator >::getOperandNo ( ) const
inline

getOperandNo - Return the operand number in the predecessor's terminator of the successor.

Definition at line 82 of file CFG.h.

◆ getUse()

template<class Ptr , class USE_iterator >
Use& llvm::PredIterator< Ptr, USE_iterator >::getUse ( ) const
inline

getUse - Return the operand Use in the predecessor's terminator of the successor.

Definition at line 88 of file CFG.h.

◆ operator!=()

template<class Ptr , class USE_iterator >
bool llvm::PredIterator< Ptr, USE_iterator >::operator!= ( const Self x) const
inline

Definition at line 62 of file CFG.h.

References llvm::PredIterator< Ptr, USE_iterator >::operator==().

◆ operator*()

template<class Ptr , class USE_iterator >
reference llvm::PredIterator< Ptr, USE_iterator >::operator* ( ) const
inline

Definition at line 64 of file CFG.h.

References assert().

Referenced by llvm::PredIterator< Ptr, USE_iterator >::operator->().

◆ operator++() [1/2]

template<class Ptr , class USE_iterator >
Self& llvm::PredIterator< Ptr, USE_iterator >::operator++ ( )
inline

Definition at line 70 of file CFG.h.

References assert().

◆ operator++() [2/2]

template<class Ptr , class USE_iterator >
Self llvm::PredIterator< Ptr, USE_iterator >::operator++ ( int  )
inline

Definition at line 76 of file CFG.h.

◆ operator->()

template<class Ptr , class USE_iterator >
pointer* llvm::PredIterator< Ptr, USE_iterator >::operator-> ( ) const
inline

Definition at line 68 of file CFG.h.

References llvm::PredIterator< Ptr, USE_iterator >::operator*().

◆ operator==()

template<class Ptr , class USE_iterator >
bool llvm::PredIterator< Ptr, USE_iterator >::operator== ( const Self x) const
inline

Definition at line 61 of file CFG.h.

Referenced by llvm::PredIterator< Ptr, USE_iterator >::operator!=().


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