LLVM  8.0.1
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 43 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 62 of file CFG.h.

◆ reference

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

Definition at line 63 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 66 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 69 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 92 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 98 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 72 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

◆ operator++() [1/2]

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

Definition at line 80 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 86 of file CFG.h.

◆ operator->()

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

Definition at line 78 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 71 of file CFG.h.

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


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