#include <DepStandard.hpp>

Public Member Functions | |
| DepStandard () | |
| ~DepStandard () | |
| OA_ptr< DepDFSet > | getFinalDep () |
| Returns the DepDFSet for the whole procedure. | |
| OA_ptr< LocIterator > | getMayDefIterator (StmtHandle stmt, const OA_ptr< Location > use) |
| OA_ptr< LocIterator > | getDiffUseIterator (StmtHandle stmt, OA_ptr< Location > def) |
| OA_ptr< LocIterator > | getMustDefIterator (StmtHandle stmt) |
| void | mapStmtToDeps (StmtHandle stmt, OA_ptr< DepDFSet > depDFSet) |
| map stmt to a DepDFSet | |
| void | mapFinalDeps (OA_ptr< DepDFSet > depDFSet) |
| DepDFSet for whole procedure. | |
| void | insertDepForStmt (StmtHandle stmt, OA_ptr< Location > use, OA_ptr< Location > def) |
| Insert use,def dependence pair. | |
| void | insertMustDefForStmt (StmtHandle stmt, OA_ptr< Location > def) |
| Insert must def location. | |
| void | dump (std::ostream &os, OA_ptr< IRHandlesIRInterface > ir) |
Private Attributes | |
| OA_ptr< DepDFSet > | mProcDepDFSet |
| std::map< StmtHandle, OA_ptr < DepDFSet > > | mDepDFSet |
| std::map< StmtHandle, OA_ptr < LocSet > > | mMustDefMap |
Definition at line 35 of file DepStandard.hpp.
| OA::Activity::DepStandard::DepStandard | ( | ) | [inline] |
Definition at line 37 of file DepStandard.hpp.
| OA::Activity::DepStandard::~DepStandard | ( | ) | [inline] |
Definition at line 38 of file DepStandard.hpp.
| void OA::Activity::DepStandard::dump | ( | std::ostream & | os, | |
| OA_ptr< IRHandlesIRInterface > | ir | |||
| ) |
Definition at line 109 of file DepStandard.cpp.
References OA::OA_ptr< T >::dump(), getMustDefIterator(), mDepDFSet, and mMustDefMap.

| OA_ptr< LocIterator > OA::Activity::DepStandard::getDiffUseIterator | ( | StmtHandle | stmt, | |
| OA_ptr< Location > | def | |||
| ) |
Return an iterator over all locations that are differentiable locations used in the possible definition of the given location, in the given stmt
Return an iterator over all locations that are differentiable locations used in the possible definition of the given location
For now assuming that all defs depend on all uses.
Definition at line 49 of file DepStandard.cpp.
References OA::Activity::debug, and mDepDFSet.
Returns the DepDFSet for the whole procedure.
Definition at line 45 of file DepStandard.hpp.
References mProcDepDFSet.
| OA_ptr< LocIterator > OA::Activity::DepStandard::getMayDefIterator | ( | StmtHandle | stmt, | |
| const OA_ptr< Location > | use | |||
| ) |
Return an iterator over all locations whose definition may depend on the given use location in the given stmt.
Return an iterator over all locations whose definition may depend on the given use location.
Definition at line 33 of file DepStandard.cpp.
References OA::Activity::debug, mDepDFSet, and OA_DEBUG_CTRL_MACRO.
| OA_ptr< LocIterator > OA::Activity::DepStandard::getMustDefIterator | ( | StmtHandle | stmt | ) |
Return an iterator over all locations that are definitely defined in the given stmt
Definition at line 62 of file DepStandard.cpp.
References mMustDefMap.
Referenced by dump().
| void OA::Activity::DepStandard::insertDepForStmt | ( | StmtHandle | stmt, | |
| OA_ptr< Location > | use, | |||
| OA_ptr< Location > | def | |||
| ) |
Insert use,def dependence pair.
Definition at line 80 of file DepStandard.cpp.
References mDepDFSet, and OA::OA_ptr< T >::ptrEqual().

| void OA::Activity::DepStandard::insertMustDefForStmt | ( | StmtHandle | stmt, | |
| OA_ptr< Location > | def | |||
| ) |
DepDFSet for whole procedure.
Definition at line 72 of file DepStandard.hpp.
References mProcDepDFSet.
| void OA::Activity::DepStandard::mapStmtToDeps | ( | StmtHandle | stmt, | |
| OA_ptr< DepDFSet > | depDFSet | |||
| ) | [inline] |
std::map<StmtHandle,OA_ptr<DepDFSet> > OA::Activity::DepStandard::mDepDFSet [private] |
Definition at line 90 of file DepStandard.hpp.
Referenced by dump(), getDiffUseIterator(), getMayDefIterator(), insertDepForStmt(), and mapStmtToDeps().
std::map<StmtHandle,OA_ptr<LocSet> > OA::Activity::DepStandard::mMustDefMap [private] |
Definition at line 92 of file DepStandard.hpp.
Referenced by dump(), getMustDefIterator(), and insertMustDefForStmt().
Definition at line 89 of file DepStandard.hpp.
Referenced by getFinalDep(), and mapFinalDeps().
1.6.1