LLVM API Documentation

Classes | Public Types | Public Member Functions
llvm::SuccIterator< Term_, BB_ > Class Template Reference

#include <CFG.h>

Inheritance diagram for llvm::SuccIterator< Term_, BB_ >:
Inheritance graph
[legend]
Collaboration diagram for llvm::SuccIterator< Term_, BB_ >:
Collaboration graph
[legend]

List of all members.

Classes

class  SuccessorProxy
 Proxy object to allow write access in operator[].

Public Types

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

Public Member Functions

 SuccIterator (Term_ T)
 SuccIterator (Term_ T, bool)
const Self & operator= (const Self &I)
unsigned getSuccessorIndex () const
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.

Detailed Description

template<class Term_, class BB_>
class llvm::SuccIterator< Term_, BB_ >

Definition at line 104 of file IR/CFG.h.


Member Typedef Documentation

template<class Term_, class BB_>
typedef super::pointer llvm::SuccIterator< Term_, BB_ >::pointer

Definition at line 110 of file IR/CFG.h.

template<class Term_, class BB_>
typedef super::reference llvm::SuccIterator< Term_, BB_ >::reference

Definition at line 111 of file IR/CFG.h.


Constructor & Destructor Documentation

template<class Term_, class BB_>
llvm::SuccIterator< Term_, BB_ >::SuccIterator ( Term_  T) [inline, explicit]

Definition at line 143 of file IR/CFG.h.

template<class Term_, class BB_>
llvm::SuccIterator< Term_, BB_ >::SuccIterator ( Term_  T,
bool   
) [inline]

Definition at line 145 of file IR/CFG.h.


Member Function Documentation

template<class Term_, class BB_>
BB_* llvm::SuccIterator< Term_, BB_ >::getSource ( ) [inline]

Get the source BB of this iterator.

Definition at line 238 of file IR/CFG.h.

template<class Term_, class BB_>
unsigned llvm::SuccIterator< Term_, BB_ >::getSuccessorIndex ( ) const [inline]

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

Definition at line 166 of file IR/CFG.h.

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

template<class Term_, class BB_>
bool llvm::SuccIterator< Term_, BB_ >::operator!= ( const Self &  x) const [inline]

Definition at line 169 of file IR/CFG.h.

template<class Term_, class BB_>
reference llvm::SuccIterator< Term_, BB_ >::operator* ( ) const [inline]
template<class Term_, class BB_>
Self llvm::SuccIterator< Term_, BB_ >::operator+ ( int  Right) const [inline]
template<class Term_, class BB_>
Self& llvm::SuccIterator< Term_, BB_ >::operator++ ( ) [inline]

Definition at line 174 of file IR/CFG.h.

template<class Term_, class BB_>
Self llvm::SuccIterator< Term_, BB_ >::operator++ ( int  ) [inline]

Definition at line 176 of file IR/CFG.h.

template<class Term_, class BB_>
Self& llvm::SuccIterator< Term_, BB_ >::operator+= ( int  Right) [inline]
template<class Term_, class BB_>
Self llvm::SuccIterator< Term_, BB_ >::operator- ( int  Right) const [inline]

Definition at line 221 of file IR/CFG.h.

template<class Term_, class BB_>
int llvm::SuccIterator< Term_, BB_ >::operator- ( const Self &  x) const [inline]

Definition at line 225 of file IR/CFG.h.

template<class Term_, class BB_>
Self& llvm::SuccIterator< Term_, BB_ >::operator-- ( ) [inline]

Definition at line 180 of file IR/CFG.h.

template<class Term_, class BB_>
Self llvm::SuccIterator< Term_, BB_ >::operator-- ( int  ) [inline]

Definition at line 181 of file IR/CFG.h.

template<class Term_, class BB_>
Self& llvm::SuccIterator< Term_, BB_ >::operator-= ( int  Right) [inline]

Definition at line 217 of file IR/CFG.h.

template<class Term_, class BB_>
pointer llvm::SuccIterator< Term_, BB_ >::operator-> ( ) const [inline]

Definition at line 172 of file IR/CFG.h.

template<class Term_, class BB_>
bool llvm::SuccIterator< Term_, BB_ >::operator< ( const Self &  x) const [inline]

Definition at line 185 of file IR/CFG.h.

template<class Term_, class BB_>
bool llvm::SuccIterator< Term_, BB_ >::operator<= ( const Self &  x) const [inline]

Definition at line 190 of file IR/CFG.h.

template<class Term_, class BB_>
const Self& llvm::SuccIterator< Term_, BB_ >::operator= ( const Self &  I) [inline]

Definition at line 158 of file IR/CFG.h.

template<class Term_, class BB_>
bool llvm::SuccIterator< Term_, BB_ >::operator== ( const Self &  x) const [inline]
template<class Term_, class BB_>
bool llvm::SuccIterator< Term_, BB_ >::operator> ( const Self &  x) const [inline]

Definition at line 199 of file IR/CFG.h.

template<class Term_, class BB_>
bool llvm::SuccIterator< Term_, BB_ >::operator>= ( const Self &  x) const [inline]

Definition at line 194 of file IR/CFG.h.

template<class Term_, class BB_>
SuccessorProxy llvm::SuccIterator< Term_, BB_ >::operator[] ( int  offset) [inline]

Definition at line 231 of file IR/CFG.h.


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