#include <auto_ManagerLivenessStandard.hpp>


Definition at line 31 of file auto_ManagerLivenessStandard.hpp.
| OA::Liveness::ManagerLivenessStandard::ManagerLivenessStandard | ( | OA_ptr< LivenessIRInterface > | _ir | ) |
Definition at line 18 of file auto_ManagerLivenessStandard.cpp.
References OA::Liveness::debug, mSolver, and OA_DEBUG_CTRL_MACRO.
| OA::Liveness::ManagerLivenessStandard::~ManagerLivenessStandard | ( | ) | [inline] |
Definition at line 36 of file auto_ManagerLivenessStandard.hpp.
| OA::Liveness::ManagerLivenessStandard::ManagerLivenessStandard | ( | OA_ptr< LivenessIRInterface > | _ir | ) |
| OA::Liveness::ManagerLivenessStandard::~ManagerLivenessStandard | ( | ) | [inline] |
Definition at line 29 of file ManagerLivenessStandard.hpp.
| void OA::Liveness::ManagerLivenessStandard::dumpset | ( | OA_ptr< LivenessDFSet > | inSet | ) | [private] |
Definition at line 176 of file auto_ManagerLivenessStandard.cpp.
References OA::OA_ptr< T >::convert(), and mIR.
Referenced by meet(), and transfer().

| OA_ptr< DataFlowSet > OA::Liveness::ManagerLivenessStandard::genSet | ( | StmtHandle | stmt | ) | [private] |
Definition at line 218 of file auto_ManagerLivenessStandard.cpp.
References mStmt2MayUseMap.
Referenced by transfer().
| OA_ptr< DataFlow::DataFlowSet > OA::Liveness::ManagerLivenessStandard::initializeBottom | ( | ) | [private, virtual] |
Return an initialized bottom set.
Implements OA::DataFlow::CFGDFProblem.
Definition at line 36 of file auto_ManagerLivenessStandard.cpp.
| OA_ptr<DataFlow::DataFlowSet> OA::Liveness::ManagerLivenessStandard::initializeBottom | ( | ) | [private, virtual] |
Return an initialized bottom set.
Implements OA::DataFlow::CFGDFProblem.
| OA_ptr< DataFlow::DataFlowSet > OA::Liveness::ManagerLivenessStandard::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_ManagerLivenessStandard.cpp.
| OA_ptr<DataFlow::DataFlowSet> OA::Liveness::ManagerLivenessStandard::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.
| OA_ptr< DataFlow::DataFlowSet > OA::Liveness::ManagerLivenessStandard::initializeNodeOUT | ( | OA_ptr< CFG::NodeInterface > | n | ) | [private, virtual] |
Implements OA::DataFlow::CFGDFProblem.
Definition at line 54 of file auto_ManagerLivenessStandard.cpp.
| OA_ptr<DataFlow::DataFlowSet> OA::Liveness::ManagerLivenessStandard::initializeNodeOUT | ( | OA_ptr< CFG::NodeInterface > | n | ) | [private, virtual] |
Implements OA::DataFlow::CFGDFProblem.
| OA_ptr<DataFlow::DataFlowSet> OA::Liveness::ManagerLivenessStandard::initializeTop | ( | ) | [private, virtual] |
Return an initialized top set.
Implements OA::DataFlow::CFGDFProblem.
| OA_ptr< DataFlow::DataFlowSet > OA::Liveness::ManagerLivenessStandard::initializeTop | ( | ) | [private, virtual] |
Return an initialized top set.
Implements OA::DataFlow::CFGDFProblem.
Definition at line 28 of file auto_ManagerLivenessStandard.cpp.
| OA_ptr< DataFlowSet > OA::Liveness::ManagerLivenessStandard::killSet | ( | StmtHandle | stmt, | |
| OA_ptr< DataFlow::DataFlowSet > | X | |||
| ) | [private] |
Definition at line 231 of file auto_ManagerLivenessStandard.cpp.
References OA::OA_ptr< T >::convert(), and mStmt2MustDefMap.
Referenced by transfer().

| OA_ptr<DataFlow::DataFlowSet> OA::Liveness::ManagerLivenessStandard::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.
| OA_ptr< DataFlow::DataFlowSet > OA::Liveness::ManagerLivenessStandard::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 189 of file auto_ManagerLivenessStandard.cpp.
References OA::OA_ptr< T >::convert(), OA::Liveness::debug, and dumpset().

| OA_ptr< LivenessStandard > OA::Liveness::ManagerLivenessStandard::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_ManagerLivenessStandard.cpp.
References OA::OA_ptr< T >::convert(), OA::Liveness::debug, OA::DataFlow::ITERATIVE, mAlias, mIR, mLivenessMap, mSolver, mStmt2MayDefMap, mStmt2MayUseMap, mStmt2MustDefMap, and mStmt2MustUseMap.

| OA_ptr< LivenessStandard > OA::Liveness::ManagerLivenessStandard::performAnalysis | ( | ProcHandle | proc, | |
| OA_ptr< CFG::CFGInterface > | cfg, | |||
| OA_ptr< Alias::Interface > | alias, | |||
| OA_ptr< SideEffect::InterSideEffectInterface > | interSE, | |||
| DataFlow::DFPImplement | algorithm | |||
| ) |
Definition at line 34 of file ManagerLivenessStandard.cpp.
| OA_ptr<DataFlow::DataFlowSet> OA::Liveness::ManagerLivenessStandard::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.
| OA_ptr< DataFlow::DataFlowSet > OA::Liveness::ManagerLivenessStandard::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 251 of file auto_ManagerLivenessStandard.cpp.
References OA::OA_ptr< T >::convert(), OA::Liveness::debug, dumpset(), genSet(), killSet(), mIR, and mLivenessMap.

Definition at line 70 of file auto_ManagerLivenessStandard.hpp.
Referenced by performAnalysis().
Definition at line 69 of file auto_ManagerLivenessStandard.hpp.
Referenced by dumpset(), performAnalysis(), and transfer().
Definition at line 57 of file ManagerLivenessStandard.hpp.
Definition at line 71 of file auto_ManagerLivenessStandard.hpp.
Referenced by performAnalysis(), and transfer().
Definition at line 72 of file auto_ManagerLivenessStandard.hpp.
Referenced by ManagerLivenessStandard(), and performAnalysis().
std::map<StmtHandle, set<OA_ptr<Location> > > OA::Liveness::ManagerLivenessStandard::mStmt2MayDefMap [private] |
Definition at line 74 of file auto_ManagerLivenessStandard.hpp.
Referenced by performAnalysis().
std::map<StmtHandle, set<OA_ptr<Location> > > OA::Liveness::ManagerLivenessStandard::mStmt2MayUseMap [private] |
Definition at line 76 of file auto_ManagerLivenessStandard.hpp.
Referenced by genSet(), and performAnalysis().
std::map<StmtHandle, set<OA_ptr<Location> > > OA::Liveness::ManagerLivenessStandard::mStmt2MustDefMap [private] |
Definition at line 75 of file auto_ManagerLivenessStandard.hpp.
Referenced by killSet(), and performAnalysis().
std::map<StmtHandle, set<OA_ptr<Location> > > OA::Liveness::ManagerLivenessStandard::mStmt2MustUseMap [private] |
Definition at line 77 of file auto_ManagerLivenessStandard.hpp.
Referenced by performAnalysis().
std::map<StmtHandle, LocSet > OA::Liveness::ManagerLivenessStandard::mStmtMayUseMap [private] |
Definition at line 62 of file ManagerLivenessStandard.hpp.
std::map<StmtHandle, LocSet > OA::Liveness::ManagerLivenessStandard::mStmtMustDefMap [private] |
Definition at line 61 of file ManagerLivenessStandard.hpp.
1.7.1