OA::Loop Class Reference

#include <Loop.hpp>

Inheritance diagram for OA::Loop:
Inheritance graph
[legend]
Collaboration diagram for OA::Loop:
Collaboration graph
[legend]

List of all members.

Classes

class  LoopAbstraction
class  LoopIndex
 abstracts a loop index variable More...
class  LoopManager
class  LoopResults
class  LoopTreeNode
class  Statistics

Public Types

typedef ListIterator< OA_ptr
< LoopAbstraction > > 
LoopIterator
typedef SetIterator< StmtHandleStmtIterator
typedef ListIterator< OA_ptr
< LoopTreeNode > > 
LoopTreeNodeIterator

Public Member Functions

 Loop (OA_ptr< LoopIndex > loopIndex)
StmtIterator getStmtIterator ()
int getStmtOrder (StmtHandle stm1, StmtHandle stm2)
OA_ptr< LoopIndexgetLoopIndex ()
virtual void output (IRHandlesIRInterface &ir)

Private Attributes

OUTPUT GENOUT set< StmtHandlemStatements
GENOUT OA_ptr< LoopIndexmLoopIndex

Detailed Description

Definition at line 28 of file Loop.hpp.


Member Typedef Documentation

Defines an iterator type for iterating across loop objects in a list.

Definition at line 26 of file Loop/Interface.hpp.

Definition at line 72 of file LoopResults.hpp.

Definition at line 30 of file LoopAbstraction.hpp.


Constructor & Destructor Documentation

OA::Loop::Loop ( OA_ptr< LoopIndex loopIndex  ) 

Definition at line 19 of file Loop.cpp.

References mLoopIndex.


Member Function Documentation

OA_ptr<LoopIndex> OA::Loop::getLoopIndex (  )  [inline]

Definition at line 44 of file Loop.hpp.

References mLoopIndex.

StmtIterator OA::Loop::getStmtIterator (  ) 

returns an iterator over all statements in the loop

Definition at line 23 of file Loop.cpp.

int OA::Loop::getStmtOrder ( StmtHandle  stm1,
StmtHandle  stm2 
)

Uses a return code to specify the order between two statements. return code: description: -1 stmt1 occurs before stmt2 0 the ordering is unknown 1 stmt1 occurs after stmt2

Definition at line 28 of file Loop.cpp.

void OA::Loop::output ( OA::IRHandlesIRInterface ir  )  [virtual]

Implements OA::Annotation.

Definition at line 8 of file Loop_output.cpp.

References mLoopIndex, mStatements, and OA::Annotation::sOutBuild.


Member Data Documentation

Definition at line 52 of file Loop.hpp.

Referenced by getLoopIndex(), Loop(), and output().

OUTPUT GENOUT set<StmtHandle> OA::Loop::mStatements [private]

Definition at line 51 of file Loop.hpp.

Referenced by output().


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

Generated on Sat Oct 31 05:26:38 2009 for OpenAnalysis by  doxygen 1.6.1