Public Member Functions | Private Attributes

OA::Activity::ActivePerStmt Class Reference

#include <ActivePerStmt.hpp>

Inheritance diagram for OA::Activity::ActivePerStmt:
Inheritance graph
[legend]
Collaboration diagram for OA::Activity::ActivePerStmt:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ActivePerStmt ()
 ~ActivePerStmt ()
OA_ptr< DataFlow::LocDFSetgetInActiveSet (StmtHandle s)
OA_ptr< DataFlow::LocDFSetgetOutActiveSet (StmtHandle s)
int getNumIter ()
 returns the number of iterations over all nodes
void copyIntoInActive (StmtHandle s, OA_ptr< DataFlow::LocDFSet > dfset)
 set the InActive set for the statement
void copyIntoOutActive (StmtHandle s, OA_ptr< DataFlow::LocDFSet > dfset)
 set the OutActive set for the statement
void setNumIter (int n)
 set number of iterations over all nodes
void output (IRHandlesIRInterface &ir)
void dump (std::ostream &os, OA_ptr< IRHandlesIRInterface > ir)
 incomplete output of info for debugging

Private Attributes

std::map< StmtHandle, OA_ptr
< DataFlow::LocDFSet > > 
mInActive
std::map< StmtHandle, OA_ptr
< DataFlow::LocDFSet > > 
mOutActive
int mNumIter

Detailed Description

Definition at line 33 of file ActivePerStmt.hpp.


Constructor & Destructor Documentation

OA::Activity::ActivePerStmt::ActivePerStmt (  ) 

Definition at line 18 of file ActivePerStmt.cpp.

References mNumIter.

OA::Activity::ActivePerStmt::~ActivePerStmt (  )  [inline]

Definition at line 36 of file ActivePerStmt.hpp.


Member Function Documentation

void OA::Activity::ActivePerStmt::copyIntoInActive ( StmtHandle  s,
OA_ptr< DataFlow::LocDFSet dfset 
)

set the InActive set for the statement

Definition at line 50 of file ActivePerStmt.cpp.

References OA::OA_ptr< T >::convert(), and mInActive.

Here is the call graph for this function:

void OA::Activity::ActivePerStmt::copyIntoOutActive ( StmtHandle  s,
OA_ptr< DataFlow::LocDFSet dfset 
)

set the OutActive set for the statement

Definition at line 57 of file ActivePerStmt.cpp.

void OA::Activity::ActivePerStmt::dump ( std::ostream &  os,
OA_ptr< IRHandlesIRInterface ir 
)

incomplete output of info for debugging

Definition at line 101 of file ActivePerStmt.cpp.

References OA::OA_ptr< T >::dump(), mInActive, mOutActive, and OA::OA_ptr< T >::ptrEqual().

Here is the call graph for this function:

OA_ptr< DataFlow::LocDFSet > OA::Activity::ActivePerStmt::getInActiveSet ( StmtHandle  s  ) 

returns a location data flow set of locations that are active coming into the statement

Definition at line 24 of file ActivePerStmt.cpp.

References mInActive.

int OA::Activity::ActivePerStmt::getNumIter (  )  [inline]

returns the number of iterations over all nodes

Definition at line 47 of file ActivePerStmt.hpp.

References mNumIter.

OA_ptr< DataFlow::LocDFSet > OA::Activity::ActivePerStmt::getOutActiveSet ( StmtHandle  s  ) 

returns a location data flow set of locations that are active coming out of the statement

Definition at line 35 of file ActivePerStmt.cpp.

void OA::Activity::ActivePerStmt::output ( IRHandlesIRInterface ir  )  [virtual]

Implements OA::Annotation.

Definition at line 68 of file ActivePerStmt.cpp.

References mInActive, mOutActive, OA::OA_ptr< T >::ptrEqual(), and OA::Annotation::sOutBuild.

Here is the call graph for this function:

void OA::Activity::ActivePerStmt::setNumIter ( int  n  )  [inline]

set number of iterations over all nodes

Definition at line 60 of file ActivePerStmt.hpp.

References mNumIter.


Member Data Documentation

Definition at line 76 of file ActivePerStmt.hpp.

Referenced by copyIntoInActive(), dump(), getInActiveSet(), and output().

Definition at line 78 of file ActivePerStmt.hpp.

Referenced by ActivePerStmt(), getNumIter(), and setNumIter().

Definition at line 77 of file ActivePerStmt.hpp.

Referenced by dump(), and output().


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