#include <auto_ManagerReachingDefsStandard.hpp>


Definition at line 31 of file auto_ManagerReachingDefsStandard.hpp.
| OA::ReachingDefs::ManagerReachingDefsStandard::ManagerReachingDefsStandard | ( | OA_ptr< ReachingDefsIRInterface > | _ir | ) |
Definition at line 18 of file auto_ManagerReachingDefsStandard.cpp.
References OA::ReachingDefs::debug, mSolver, and OA_DEBUG_CTRL_MACRO.
| OA::ReachingDefs::ManagerReachingDefsStandard::~ManagerReachingDefsStandard | ( | ) | [inline] |
Definition at line 36 of file auto_ManagerReachingDefsStandard.hpp.
| void OA::ReachingDefs::ManagerReachingDefsStandard::dumpset | ( | OA_ptr< ReachingDefsDFSet > | inSet | ) | [private] |
Definition at line 141 of file auto_ManagerReachingDefsStandard.cpp.
References OA::OA_ptr< T >::convert(), and mIR.
Referenced by meet(), and transfer().

| OA_ptr< DataFlowSet > OA::ReachingDefs::ManagerReachingDefsStandard::genSet | ( | StmtHandle | stmt | ) | [private] |
Definition at line 183 of file auto_ManagerReachingDefsStandard.cpp.
References mStmt2MayDefMap.
Referenced by transfer().
| OA_ptr< DataFlowSet > OA::ReachingDefs::ManagerReachingDefsStandard::initializeBottom | ( | ) | [private, virtual] |
Return an initialized bottom set.
Implements OA::DataFlow::CFGDFProblem.
Definition at line 36 of file auto_ManagerReachingDefsStandard.cpp.
| OA_ptr< DataFlowSet > OA::ReachingDefs::ManagerReachingDefsStandard::initializeNodeIN | ( | OA_ptr< CFG::NodeInterface > | n | ) | [private, virtual] |
Should generate an in and out DataFlowSet for node.
Should generate an in and out DataFlowSet for node and store these in mNodeInSetMap and mNodeOutSetMap.
Implements OA::DataFlow::CFGDFProblem.
Definition at line 45 of file auto_ManagerReachingDefsStandard.cpp.
| OA_ptr< DataFlowSet > OA::ReachingDefs::ManagerReachingDefsStandard::initializeNodeOUT | ( | OA_ptr< CFG::NodeInterface > | n | ) | [private, virtual] |
Implements OA::DataFlow::CFGDFProblem.
Definition at line 54 of file auto_ManagerReachingDefsStandard.cpp.
| OA_ptr< DataFlowSet > OA::ReachingDefs::ManagerReachingDefsStandard::initializeTop | ( | ) | [private, virtual] |
Return an initialized top set.
Implements OA::DataFlow::CFGDFProblem.
Definition at line 28 of file auto_ManagerReachingDefsStandard.cpp.
| OA_ptr< DataFlowSet > OA::ReachingDefs::ManagerReachingDefsStandard::killSet | ( | StmtHandle | stmt, | |
| OA_ptr< DataFlow::DataFlowSet > | X | |||
| ) | [private] |
Definition at line 211 of file auto_ManagerReachingDefsStandard.cpp.
References OA::OA_ptr< T >::convert(), mStmt2MayDefMap, and mStmt2MustDefMap.
Referenced by transfer().

| OA_ptr< DataFlowSet > OA::ReachingDefs::ManagerReachingDefsStandard::meet | ( | OA_ptr< DataFlow::DataFlowSet > | set1, | |
| OA_ptr< DataFlow::DataFlowSet > | set2 | |||
| ) | [private, virtual] |
OK to modify set1 and return it as result, because solver only passes a tempSet in as set1
Implements OA::DataFlow::CFGDFProblem.
Definition at line 154 of file auto_ManagerReachingDefsStandard.cpp.
References OA::OA_ptr< T >::convert(), OA::ReachingDefs::debug, and dumpset().

| OA_ptr< ReachingDefsStandard > OA::ReachingDefs::ManagerReachingDefsStandard::performAnalysis | ( | ProcHandle | proc, | |
| OA_ptr< CFG::CFGInterface > | cfg, | |||
| OA_ptr< Alias::Interface > | alias, | |||
| OA_ptr< SideEffect::InterSideEffectInterface > | interSE | |||
| ) |
Definition at line 62 of file auto_ManagerReachingDefsStandard.cpp.
References OA::OA_ptr< T >::convert(), OA::ReachingDefs::debug, OA::DataFlow::ITERATIVE, mAlias, mIR, mReachingDefsMap, mSolver, mStmt2MayDefMap, and mStmt2MustDefMap.

| OA_ptr< DataFlowSet > OA::ReachingDefs::ManagerReachingDefsStandard::transfer | ( | OA_ptr< DataFlow::DataFlowSet > | in, | |
| OA::StmtHandle | stmt | |||
| ) | [private, virtual] |
OK to modify in set and return it again as result because solver clones the BB in sets
Implements OA::DataFlow::CFGDFProblem.
Definition at line 248 of file auto_ManagerReachingDefsStandard.cpp.
References OA::OA_ptr< T >::convert(), OA::ReachingDefs::debug, dumpset(), genSet(), killSet(), mIR, and mReachingDefsMap.

Definition at line 70 of file auto_ManagerReachingDefsStandard.hpp.
Referenced by performAnalysis().
Definition at line 69 of file auto_ManagerReachingDefsStandard.hpp.
Referenced by dumpset(), performAnalysis(), and transfer().
OA_ptr<ReachingDefsStandard> OA::ReachingDefs::ManagerReachingDefsStandard::mReachingDefsMap [private] |
Definition at line 71 of file auto_ManagerReachingDefsStandard.hpp.
Referenced by performAnalysis(), and transfer().
Definition at line 72 of file auto_ManagerReachingDefsStandard.hpp.
Referenced by ManagerReachingDefsStandard(), and performAnalysis().
std::map<StmtHandle, set<OA_ptr<Location> > > OA::ReachingDefs::ManagerReachingDefsStandard::mStmt2MayDefMap [private] |
Definition at line 74 of file auto_ManagerReachingDefsStandard.hpp.
Referenced by genSet(), killSet(), and performAnalysis().
std::map<StmtHandle, set<OA_ptr<Location> > > OA::ReachingDefs::ManagerReachingDefsStandard::mStmt2MustDefMap [private] |
Definition at line 75 of file auto_ManagerReachingDefsStandard.hpp.
Referenced by killSet(), and performAnalysis().
1.6.1