LLVM  4.0.0
Classes | Public Types | Public Member Functions | List of all members
llvm::TerminatorInst::SuccIterator< Term, BB > Class Template Reference

#include <InstrTypes.h>

Inheritance diagram for llvm::TerminatorInst::SuccIterator< Term, BB >:
[legend]
Collaboration diagram for llvm::TerminatorInst::SuccIterator< Term, BB >:
[legend]

Public Types

typedef super::pointer pointer
 
typedef super::reference reference
 

Public Member Functions

 SuccIterator (Term T)
 
 SuccIterator (Term T, bool)
 
unsigned getSuccessorIndex () const
 This is used to interface between code that wants to operate on terminator instructions directly. More...
 
bool operator== (const Self &x) const
 
bool operator!= (const Self &x) const
 
reference operator* () const
 
pointer operator-> () const
 
Self & operator++ ()
 
Self operator++ (int)
 
Self & operator-- ()
 
Self operator-- (int)
 
bool operator< (const Self &x) const
 
bool operator<= (const Self &x) const
 
bool operator>= (const Self &x) const
 
bool operator> (const Self &x) const
 
Self & operator+= (int Right)
 
Self operator+ (int Right) const
 
Self & operator-= (int Right)
 
Self operator- (int Right) const
 
int operator- (const Self &x) const
 
SuccessorProxy operator[] (int offset)
 
BB * getSource ()
 Get the source BB of this iterator. More...
 

Detailed Description

template<class Term, class BB>
class llvm::TerminatorInst::SuccIterator< Term, BB >

Definition at line 115 of file InstrTypes.h.

Member Typedef Documentation

template<class Term , class BB >
typedef super::pointer llvm::TerminatorInst::SuccIterator< Term, BB >::pointer

Definition at line 121 of file InstrTypes.h.

template<class Term , class BB >
typedef super::reference llvm::TerminatorInst::SuccIterator< Term, BB >::reference

Definition at line 122 of file InstrTypes.h.

Constructor & Destructor Documentation

template<class Term , class BB >
llvm::TerminatorInst::SuccIterator< Term, BB >::SuccIterator ( Term  T)
inlineexplicit

Definition at line 157 of file InstrTypes.h.

template<class Term , class BB >
llvm::TerminatorInst::SuccIterator< Term, BB >::SuccIterator ( Term  T,
bool   
)
inline

Definition at line 159 of file InstrTypes.h.

Member Function Documentation

template<class Term , class BB >
BB* llvm::TerminatorInst::SuccIterator< Term, BB >::getSource ( )
inline

Get the source BB of this iterator.

Definition at line 257 of file InstrTypes.h.

References assert().

template<class Term , class BB >
unsigned llvm::TerminatorInst::SuccIterator< Term, BB >::getSuccessorIndex ( ) const
inline

This is used to interface between code that wants to operate on terminator instructions directly.

Definition at line 174 of file InstrTypes.h.

Referenced by llvm::DOTGraphTraits< const Function * >::getEdgeAttributes(), llvm::BranchProbabilityInfo::getEdgeProbability(), llvm::DOTGraphTraits< const Function * >::getEdgeSourceLabel(), and llvm::SplitCriticalEdge().

template<class Term , class BB >
bool llvm::TerminatorInst::SuccIterator< Term, BB >::operator!= ( const Self &  x) const
inline
template<class Term , class BB >
reference llvm::TerminatorInst::SuccIterator< Term, BB >::operator* ( ) const
inline
template<class Term , class BB >
Self llvm::TerminatorInst::SuccIterator< Term, BB >::operator+ ( int  Right) const
inline

Definition at line 233 of file InstrTypes.h.

References llvm::Right.

Referenced by llvm::TerminatorInst::SuccIterator< Term, BB >::operator-().

template<class Term , class BB >
Self& llvm::TerminatorInst::SuccIterator< Term, BB >::operator++ ( )
inline

Definition at line 182 of file InstrTypes.h.

template<class Term , class BB >
Self llvm::TerminatorInst::SuccIterator< Term, BB >::operator++ ( int  )
inline

Definition at line 187 of file InstrTypes.h.

template<class Term , class BB >
Self& llvm::TerminatorInst::SuccIterator< Term, BB >::operator+= ( int  Right)
inline

Definition at line 226 of file InstrTypes.h.

References assert(), and llvm::Right.

Referenced by llvm::TerminatorInst::SuccIterator< Term, BB >::operator-=().

template<class Term , class BB >
Self llvm::TerminatorInst::SuccIterator< Term, BB >::operator- ( int  Right) const
inline
template<class Term , class BB >
int llvm::TerminatorInst::SuccIterator< Term, BB >::operator- ( const Self &  x) const
inline

Definition at line 243 of file InstrTypes.h.

References assert().

template<class Term , class BB >
Self& llvm::TerminatorInst::SuccIterator< Term, BB >::operator-- ( )
inline

Definition at line 193 of file InstrTypes.h.

template<class Term , class BB >
Self llvm::TerminatorInst::SuccIterator< Term, BB >::operator-- ( int  )
inline

Definition at line 197 of file InstrTypes.h.

template<class Term , class BB >
Self& llvm::TerminatorInst::SuccIterator< Term, BB >::operator-= ( int  Right)
inline
template<class Term , class BB >
pointer llvm::TerminatorInst::SuccIterator< Term, BB >::operator-> ( ) const
inline
template<class Term , class BB >
bool llvm::TerminatorInst::SuccIterator< Term, BB >::operator< ( const Self &  x) const
inline

Definition at line 203 of file InstrTypes.h.

References assert().

template<class Term , class BB >
bool llvm::TerminatorInst::SuccIterator< Term, BB >::operator<= ( const Self &  x) const
inline

Definition at line 209 of file InstrTypes.h.

References assert().

template<class Term , class BB >
bool llvm::TerminatorInst::SuccIterator< Term, BB >::operator== ( const Self &  x) const
inline
template<class Term , class BB >
bool llvm::TerminatorInst::SuccIterator< Term, BB >::operator> ( const Self &  x) const
inline

Definition at line 220 of file InstrTypes.h.

References assert().

template<class Term , class BB >
bool llvm::TerminatorInst::SuccIterator< Term, BB >::operator>= ( const Self &  x) const
inline

Definition at line 214 of file InstrTypes.h.

References assert().

template<class Term , class BB >
SuccessorProxy llvm::TerminatorInst::SuccIterator< Term, BB >::operator[] ( int  offset)
inline

Definition at line 250 of file InstrTypes.h.


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