#include <UsefulStandard.hpp>


Definition at line 35 of file UsefulStandard.hpp.
| OA::Activity::UsefulStandard::UsefulStandard | ( | ProcHandle | p | ) |
Definition at line 21 of file UsefulStandard.cpp.
References mDepLocSet, and mNumIter.
| OA::Activity::UsefulStandard::~UsefulStandard | ( | ) | [inline] |
Definition at line 38 of file UsefulStandard.hpp.
| void OA::Activity::UsefulStandard::copyIntoCallOutUseful | ( | CallHandle | c, | |
| OA_ptr< DataFlow::LocDFSet > | dfset | |||
| ) | [inline] |
copy into the CallOutUseful set for a call
Definition at line 82 of file UsefulStandard.hpp.
References OA::OA_ptr< T >::convert(), and mCallOutUseful.

| void OA::Activity::UsefulStandard::copyIntoInUseful | ( | StmtHandle | s, | |
| OA_ptr< DataFlow::LocDFSet > | dfset | |||
| ) | [inline] |
copy into the InUseful set for a statement
Definition at line 66 of file UsefulStandard.hpp.
References OA::OA_ptr< T >::convert(), and mInUseful.

| void OA::Activity::UsefulStandard::copyIntoOutUseful | ( | StmtHandle | s, | |
| OA_ptr< DataFlow::LocDFSet > | dfset | |||
| ) | [inline] |
copy into the OutUseful set for a call
Definition at line 74 of file UsefulStandard.hpp.
References OA::OA_ptr< T >::convert(), and mOutUseful.

| void OA::Activity::UsefulStandard::dump | ( | std::ostream & | os, | |
| OA_ptr< IRHandlesIRInterface > | ir | |||
| ) |
attach UsefulStandard to procedure
incomplete output of info for debugging
incomplete output of info for debugging, just lists stmts and associated set of InUseful locations
Definition at line 70 of file UsefulStandard.cpp.
References OA::OA_ptr< T >::dump(), OA::IRHandle::hval(), mDepLocSet, and mInUseful.

| OA_ptr< LocIterator > OA::Activity::UsefulStandard::getDepSetIterator | ( | ) |
Return an iterator for set of dependent locations the analysis calculated InUseful from
Definition at line 28 of file UsefulStandard.cpp.
References mDepLocSet.
| OA_ptr< LocIterator > OA::Activity::UsefulStandard::getInUsefulIterator | ( | StmtHandle | s | ) |
Return an iterator that will iterate over the set of locations that are in InUseful set for stmt (above the stmt, code-wise)
Definition at line 35 of file UsefulStandard.cpp.
References mInUseful.
| int OA::Activity::UsefulStandard::getNumIter | ( | ) | [inline] |
access the number of iterations over all nodes for Useful
Definition at line 55 of file UsefulStandard.hpp.
References mNumIter.
| OA_ptr< LocIterator > OA::Activity::UsefulStandard::getOutUsefulIterator | ( | StmtHandle | s | ) |
Return an iterator that will iterate over the set of locations that are in OutUseful set for stmt (below the stmt, code-wise)
Definition at line 45 of file UsefulStandard.cpp.
References mOutUseful.
insert an dependent location
Definition at line 62 of file UsefulStandard.hpp.
References mDepLocSet.
| void OA::Activity::UsefulStandard::output | ( | IRHandlesIRInterface & | ir | ) | [virtual] |
Implements OA::Annotation.
Definition at line 91 of file UsefulStandard.cpp.
References mDepLocSet, mInUseful, mNumIter, mOutUseful, OA::OA_ptr< T >::ptrEqual(), and OA::Annotation::sOutBuild.

| void OA::Activity::UsefulStandard::setNumIter | ( | int | n | ) | [inline] |
set the final Useful or InUseful for the entry node of proc
set the number of iterations over all nodes for Useful
Definition at line 93 of file UsefulStandard.hpp.
References mNumIter.
std::map<CallHandle,OA_ptr<DataFlow::LocDFSet> > OA::Activity::UsefulStandard::mCallOutUseful [private] |
Definition at line 116 of file UsefulStandard.hpp.
Referenced by copyIntoCallOutUseful().
Definition at line 117 of file UsefulStandard.hpp.
Referenced by dump(), getDepSetIterator(), insertDepLoc(), output(), and UsefulStandard().
std::map<StmtHandle,OA_ptr<DataFlow::LocDFSet> > OA::Activity::UsefulStandard::mInUseful [private] |
Definition at line 114 of file UsefulStandard.hpp.
Referenced by copyIntoInUseful(), dump(), getInUsefulIterator(), and output().
int OA::Activity::UsefulStandard::mNumIter [private] |
Definition at line 120 of file UsefulStandard.hpp.
Referenced by getNumIter(), output(), setNumIter(), and UsefulStandard().
std::map<StmtHandle,OA_ptr<DataFlow::LocDFSet> > OA::Activity::UsefulStandard::mOutUseful [private] |
Definition at line 115 of file UsefulStandard.hpp.
Referenced by copyIntoOutUseful(), getOutUsefulIterator(), and output().
1.7.1