LLVM API Documentation

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

llvm::PDGIterator Class Reference

#include <PgmDependenceGraph.h>

Inheritance diagram for llvm::PDGIterator:

Inheritance graph
[legend]
Collaboration diagram for llvm::PDGIterator:

Collaboration graph
[legend]
List of all members.

Public Types

typedef PDGIterator _Self

Public Member Functions

 PDGIterator (DepIterState *_istate)
 ~PDGIterator ()
 PDGIterator (const PDGIterator &I)
PDGIteratoroperator= (const PDGIterator &I)
bool fini () const
Dependenceoperator * () const
Dependenceoperator-> () const
_Selfoperator++ ()
_Selfoperator++ (int)
bool operator== (const PDGIterator &I) const
bool operator!= (const PDGIterator &I) const

Friends

class PgmDependenceGraph

Detailed Description

PDGIterator Class - represents a pointer to a single dependence in the program dependence graph. It is essentially like a pointer to an object of class Dependence but it is much more efficient to retrieve information about the dependence directly rather than constructing the equivalent Dependence object (since that object is normally not constructed for SSA def-use dependences).

Definition at line 136 of file PgmDependenceGraph.h.


Member Typedef Documentation

typedef PDGIterator llvm::PDGIterator::_Self
 

Definition at line 151 of file PgmDependenceGraph.h.


Constructor & Destructor Documentation

llvm::PDGIterator::PDGIterator DepIterState _istate  )  [inline]
 

Definition at line 153 of file PgmDependenceGraph.h.

llvm::PDGIterator::~PDGIterator  )  [inline]
 

Definition at line 154 of file PgmDependenceGraph.h.

llvm::PDGIterator::PDGIterator const PDGIterator I  )  [inline]
 

Definition at line 156 of file PgmDependenceGraph.h.


Member Function Documentation

bool llvm::PDGIterator::fini  )  const [inline]
 

fini - check if the iteration is complete

Definition at line 166 of file PgmDependenceGraph.h.

References llvm::DepIterState::done().

Referenced by operator *(), operator++(), and operator->().

Dependence* llvm::PDGIterator::operator *  )  const [inline]
 

Definition at line 170 of file PgmDependenceGraph.h.

References llvm::DepIterState::dep, and fini().

bool llvm::PDGIterator::operator!= const PDGIterator I  )  const [inline]
 

Definition at line 189 of file PgmDependenceGraph.h.

_Self& llvm::PDGIterator::operator++ int   ) 
 

_Self& llvm::PDGIterator::operator++  )  [inline]
 

Definition at line 175 of file PgmDependenceGraph.h.

References fini(), and llvm::DepIterState::Next().

Dependence* llvm::PDGIterator::operator->  )  const [inline]
 

Definition at line 171 of file PgmDependenceGraph.h.

References llvm::DepIterState::dep, and fini().

PDGIterator& llvm::PDGIterator::operator= const PDGIterator I  )  [inline]
 

Definition at line 158 of file PgmDependenceGraph.h.

References istate.

bool llvm::PDGIterator::operator== const PDGIterator I  )  const [inline]
 

Definition at line 182 of file PgmDependenceGraph.h.

References llvm::DepIterState::done(), and istate.


Friends And Related Function Documentation

friend class PgmDependenceGraph [friend]
 

Definition at line 148 of file PgmDependenceGraph.h.


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