OpenADFortTk (including Open64 and OpenAnalysis references)
|
#include <VaryStandard.hpp>
Public Member Functions | |
VaryStandard (ProcHandle p) | |
~VaryStandard () | |
OA_ptr< LocIterator > | getIndepSetIterator () |
OA_ptr< LocIterator > | getOutVaryIterator (StmtHandle s) |
OA_ptr< DataFlow::LocDFSet > | getInVarySet (ExprHandle call) |
void | insertIndepLoc (OA_ptr< Location > loc) |
insert an independent location More... | |
void | copyIntoOutVary (StmtHandle s, OA_ptr< DataFlow::LocDFSet > dfset) |
set the OutVary set for a statement More... | |
void | copyIntoInVary (ExprHandle call, OA_ptr< DataFlow::LocDFSet > dfset) |
set the InVary set for a call More... | |
void | dump (std::ostream &os, OA_ptr< IRHandlesIRInterface > ir) |
incomplete output of info for debugging More... | |
Private Attributes | |
std::map< StmtHandle, OA_ptr < DataFlow::LocDFSet > > | mOutVary |
std::map< ExprHandle, OA_ptr < DataFlow::LocDFSet > > | mInVary |
OA_ptr< DataFlow::LocDFSet > | mIndepLocSet |
Definition at line 34 of file VaryStandard.hpp.
OA::Activity::VaryStandard::VaryStandard | ( | ProcHandle | p) |
Definition at line 20 of file VaryStandard.cpp.
References mIndepLocSet.
|
inline |
Definition at line 37 of file VaryStandard.hpp.
void OA::Activity::VaryStandard::copyIntoInVary | ( | ExprHandle | call, |
OA_ptr< DataFlow::LocDFSet > | dfset | ||
) |
set the InVary set for a call
Definition at line 69 of file VaryStandard.cpp.
References OA::DataFlow::LocDFSet::clone(), OA::OA_ptr< T >::convert(), and mInVary.
void OA::Activity::VaryStandard::copyIntoOutVary | ( | StmtHandle | s, |
OA_ptr< DataFlow::LocDFSet > | dfset | ||
) |
set the OutVary set for a statement
Definition at line 62 of file VaryStandard.cpp.
References OA::DataFlow::LocDFSet::clone(), OA::OA_ptr< T >::convert(), and mOutVary.
void OA::Activity::VaryStandard::dump | ( | std::ostream & | os, |
OA_ptr< IRHandlesIRInterface > | ir | ||
) |
incomplete output of info for debugging
incomplete output of info for debugging, just lists stmts and associated set of OutVary locations
Definition at line 82 of file VaryStandard.cpp.
References OA::DataFlow::LocDFSet::dump(), OA::OA_ptr< T >::dump(), OA::IRHandle::hval(), mIndepLocSet, and mOutVary.
OA_ptr< LocIterator > OA::Activity::VaryStandard::getIndepSetIterator | ( | ) |
Return an iterator for set of independent locations the analysis calculated OutVary from
Definition at line 25 of file VaryStandard.cpp.
References mIndepLocSet.
OA_ptr< DataFlow::LocDFSet > OA::Activity::VaryStandard::getInVarySet | ( | ExprHandle | call) |
returns a location data flow set of locations that vary coming into the statement for the given call
Definition at line 42 of file VaryStandard.cpp.
References mInVary.
OA_ptr< LocIterator > OA::Activity::VaryStandard::getOutVaryIterator | ( | StmtHandle | s) |
Return an iterator that will iterate over the set of locations that are in OutVary set for stmt
Definition at line 32 of file VaryStandard.cpp.
References mOutVary.
insert an independent location
Definition at line 57 of file VaryStandard.cpp.
References OA::DataFlow::LocDFSet::insert(), and mIndepLocSet.
|
private |
Definition at line 79 of file VaryStandard.hpp.
Referenced by dump(), getIndepSetIterator(), insertIndepLoc(), and VaryStandard().
|
private |
Definition at line 78 of file VaryStandard.hpp.
Referenced by copyIntoInVary(), and getInVarySet().
|
private |
Definition at line 77 of file VaryStandard.hpp.
Referenced by copyIntoOutVary(), dump(), and getOutVaryIterator().