#include <ManagerDepStandard.hpp>


The AnnotationManager for a DepStandard. This class can build a DepStandard, (eventually) read one in from a file, and write one out to a file.
Definition at line 42 of file ManagerDepStandard.hpp.
| OA::Activity::ManagerDepStandard::ManagerDepStandard | ( | OA_ptr< ActivityIRInterface > | _ir | ) |
Definition at line 23 of file ManagerDepStandard.cpp.
| OA::Activity::ManagerDepStandard::~ManagerDepStandard | ( | ) | [inline] |
Definition at line 46 of file ManagerDepStandard.hpp.
| OA_ptr< DataFlow::DataFlowSet > OA::Activity::ManagerDepStandard::initializeBottom | ( | ) | [private, virtual] |
Return an initialized bottom set.
Implements OA::DataFlow::CFGDFProblem.
Definition at line 37 of file ManagerDepStandard.cpp.
| OA_ptr< DataFlow::DataFlowSet > OA::Activity::ManagerDepStandard::initializeNodeIN | ( | OA_ptr< CFG::NodeInterface > | n | ) | [private, virtual] |
Should generate an in and out DataFlowSet for node.
Not doing anything special at entries and exits.
Implements OA::DataFlow::CFGDFProblem.
Definition at line 101 of file ManagerDepStandard.cpp.
| OA_ptr< DataFlow::DataFlowSet > OA::Activity::ManagerDepStandard::initializeNodeOUT | ( | OA_ptr< CFG::NodeInterface > | n | ) | [private, virtual] |
Implements OA::DataFlow::CFGDFProblem.
Definition at line 109 of file ManagerDepStandard.cpp.
| OA_ptr< DataFlow::DataFlowSet > OA::Activity::ManagerDepStandard::initializeTop | ( | ) | [private, virtual] |
Return an initialized top set.
Implements OA::DataFlow::CFGDFProblem.
Definition at line 30 of file ManagerDepStandard.cpp.
| OA_ptr< DataFlow::DataFlowSet > OA::Activity::ManagerDepStandard::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 119 of file ManagerDepStandard.cpp.
References OA::Activity::DepDFSet::clone(), OA::OA_ptr< T >::convert(), OA::Activity::debug, OA::Activity::DepDFSet::dump(), OA::OA_ptr< T >::dump(), and mIR.

| OA_ptr< DepStandard > OA::Activity::ManagerDepStandard::performAnalysis | ( | ProcHandle | proc, | |
| OA_ptr< Alias::Interface > | alias, | |||
| OA_ptr< CFG::CFGInterface > | cfg, | |||
| OA_ptr< InterDep > | interDep, | |||
| OA_ptr< DataFlow::ParamBindings > | paramBind, | |||
| DataFlow::DFPImplement | algorithm | |||
| ) |
interDep is used to get Dep results from procedures we call FIXME: should use side-effect results as backup?
Uses the CFGDFProblem::solve functionality to get In and Out Dep set for each basic block. In transfer function creates a DepDFSet for each stmt and composes that with the In DepDFSet to generate the out DepDFSet.
Definition at line 51 of file ManagerDepStandard.cpp.
| OA_ptr< DataFlow::DataFlowSet > OA::Activity::ManagerDepStandard::transfer | ( | OA_ptr< DataFlow::DataFlowSet > | in, | |
| OA::StmtHandle | stmt | |||
| ) | [private, virtual] |
Core of analysis algorithm. Transfer function for a stmt.
Create a DepDFSet for this stmt and then compose it with in to get out DepDFSet.
Implements OA::DataFlow::CFGDFProblem.
Definition at line 149 of file ManagerDepStandard.cpp.
Definition at line 84 of file ManagerDepStandard.hpp.
Definition at line 86 of file ManagerDepStandard.hpp.
Definition at line 83 of file ManagerDepStandard.hpp.
Definition at line 85 of file ManagerDepStandard.hpp.
Definition at line 82 of file ManagerDepStandard.hpp.
Referenced by meet().
Definition at line 87 of file ManagerDepStandard.hpp.
Definition at line 89 of file ManagerDepStandard.hpp.
1.7.1