OpenADFortTk (basic)
Open64IRExprHandleIterator Class Reference

#include <Open64IRInterface.hpp>

Collaboration diagram for Open64IRExprHandleIterator:

List of all members.

Public Member Functions

 Open64IRExprHandleIterator (OA::StmtHandle h)
 Open64IRExprHandleIterator ()
virtual ~Open64IRExprHandleIterator ()
virtual OA::ExprHandle current () const
virtual bool isValid () const
virtual void operator++ ()
virtual void reset ()

Private Member Functions

void create (OA::StmtHandle h)

Private Attributes

std::list< OA::ExprHandle > mExprList
std::list< OA::ExprHandle >
::iterator 
mEnd
std::list< OA::ExprHandle >
::iterator 
mBegin
std::list< OA::ExprHandle >
::iterator 
mExprIter
bool mValid

Detailed Description

Enumerate all the ExprHandle in a stmt Used by a helper method

Definition at line 203 of file Open64IRInterface.hpp.


Constructor & Destructor Documentation

Definition at line 430 of file Open64IRInterface.cpp.

References create(), mValid, and reset().

Here is the call graph for this function:

Definition at line 206 of file Open64IRInterface.hpp.

References mValid.

Definition at line 207 of file Open64IRInterface.hpp.


Member Function Documentation

void Open64IRExprHandleIterator::create ( OA::StmtHandle  stmt) [private]

this method sets up sMemRef2StmtMap, sStmt2MemRefSet, and sMemRef2mreSetMap Is only way to get MemRefHandle's therefore no queries should be logically made on MemRefHandle's before one of these iterators has been requested.

Definition at line 470 of file Open64IRInterface.cpp.

References mExprList.

Referenced by Open64IRExprHandleIterator().

OA::ExprHandle Open64IRExprHandleIterator::current ( ) const [virtual]

Definition at line 438 of file Open64IRInterface.cpp.

References mExprIter, and mValid.

virtual bool Open64IRExprHandleIterator::isValid ( ) const [inline, virtual]

Definition at line 210 of file Open64IRInterface.hpp.

References mEnd, mExprIter, and mValid.

void Open64IRExprHandleIterator::operator++ ( ) [virtual]

Definition at line 448 of file Open64IRInterface.cpp.

References mExprIter, and mValid.

Definition at line 456 of file Open64IRInterface.cpp.

References mBegin, mEnd, mExprIter, and mExprList.

Referenced by Open64IRExprHandleIterator().


Member Data Documentation

std::list<OA::ExprHandle>::iterator Open64IRExprHandleIterator::mBegin [private]

Definition at line 219 of file Open64IRInterface.hpp.

Referenced by reset().

std::list<OA::ExprHandle>::iterator Open64IRExprHandleIterator::mEnd [private]

Definition at line 218 of file Open64IRInterface.hpp.

Referenced by isValid(), and reset().

std::list<OA::ExprHandle>::iterator Open64IRExprHandleIterator::mExprIter [private]

Definition at line 220 of file Open64IRInterface.hpp.

Referenced by current(), isValid(), operator++(), and reset().

std::list<OA::ExprHandle> Open64IRExprHandleIterator::mExprList [private]

Definition at line 217 of file Open64IRInterface.hpp.

Referenced by create(), and reset().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines