OA::Linearity::ManagerLinearity Class Reference

#include <ManagerLinearityStandard.hpp>

Inheritance diagram for OA::Linearity::ManagerLinearity:
Inheritance graph
[legend]
Collaboration diagram for OA::Linearity::ManagerLinearity:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ManagerLinearity (OA_ptr< LinearityIRInterface > _ir)
virtual ~ManagerLinearity ()
virtual OA_ptr< LinearityMatrixperformAnalysis (ProcHandle proc, OA_ptr< CFG::CFGInterface > cfg, OA_ptr< Alias::Interface > alias, OA_ptr< DataFlow::ParamBindings > paramBind, DataFlow::DFPImplement algorithm)
virtual OA_ptr< LinearityMatrixperformAnalysis2 (SymHandle)
virtual OA_ptr< LinearityMatrixperformAnalysis3 (ProcHandle proc, OA_ptr< CFG::CFGInterface > cfg, OA_ptr< Alias::Interface > alias, OA_ptr< DataFlow::ParamBindings > paramBind)

Private Member Functions

OA_ptr< DataFlow::DataFlowSetinitializeTop ()
 Return an initialized top set.
OA_ptr< DataFlow::DataFlowSetinitializeBottom ()
 Return an initialized bottom set.
OA_ptr< DataFlow::DataFlowSetinitializeNodeIN (OA_ptr< CFG::NodeInterface > n)
 Should generate an in and out DataFlowSet for node.
OA_ptr< DataFlow::DataFlowSetinitializeNodeOUT (OA_ptr< CFG::NodeInterface > n)
OA_ptr< DataFlow::DataFlowSetmeet (OA_ptr< DataFlow::DataFlowSet > set1, OA_ptr< DataFlow::DataFlowSet > set2)
OA_ptr< DataFlow::DataFlowSettransfer (OA_ptr< DataFlow::DataFlowSet > in, OA::StmtHandle stmt)
 Transfer function for Linearity, LinearityMatrix in/out Sets.

Private Attributes

OA_ptr< LinearityIRInterfacemIR
OA_ptr< LinearityMatrixmLM
ProcHandle mProc
OA_ptr< CFG::CFGInterfacemCFG
OA_ptr< Alias::InterfacemAlias
OA_ptr< DataFlow::ParamBindingsmParamBind
OA_ptr< DataFlow::CFGDFSolvermSolver
OA_ptr< CFG::NodeInterfacemExitNode

Detailed Description

Definition at line 54 of file ManagerLinearityStandard.hpp.


Constructor & Destructor Documentation

OA::Linearity::ManagerLinearity::ManagerLinearity ( OA_ptr< LinearityIRInterface _ir  ) 

Definition at line 32 of file ManagerLinearityStandard.cpp.

References OA::DataFlow::CFGDFSolver::Forward, and mSolver.

virtual OA::Linearity::ManagerLinearity::~ManagerLinearity (  )  [inline, virtual]

Definition at line 57 of file ManagerLinearityStandard.hpp.


Member Function Documentation

OA_ptr< DataFlow::DataFlowSet > OA::Linearity::ManagerLinearity::initializeBottom (  )  [private, virtual]

Return an initialized bottom set.

Implements OA::DataFlow::CFGDFProblem.

Definition at line 44 of file ManagerLinearityStandard.cpp.

OA_ptr< DataFlow::DataFlowSet > OA::Linearity::ManagerLinearity::initializeNodeIN ( OA_ptr< CFG::NodeInterface n  )  [private, virtual]

Should generate an in and out DataFlowSet for node.

Implements OA::DataFlow::CFGDFProblem.

Definition at line 52 of file ManagerLinearityStandard.cpp.

OA_ptr< DataFlow::DataFlowSet > OA::Linearity::ManagerLinearity::initializeNodeOUT ( OA_ptr< CFG::NodeInterface n  )  [private, virtual]

Implements OA::DataFlow::CFGDFProblem.

Definition at line 60 of file ManagerLinearityStandard.cpp.

OA_ptr< DataFlow::DataFlowSet > OA::Linearity::ManagerLinearity::initializeTop (  )  [private, virtual]

Return an initialized top set.

Implements OA::DataFlow::CFGDFProblem.

Definition at line 37 of file ManagerLinearityStandard.cpp.

OA_ptr< DataFlow::DataFlowSet > OA::Linearity::ManagerLinearity::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 197 of file ManagerLinearityStandard.cpp.

References OA::OA_ptr< T >::convert(), OA::Linearity::debug, OA::OA_ptr< T >::dump(), and mIR.

Here is the call graph for this function:

OA_ptr< Linearity::LinearityMatrix > OA::Linearity::ManagerLinearity::performAnalysis ( ProcHandle  proc,
OA_ptr< CFG::CFGInterface cfg,
OA_ptr< Alias::Interface alias,
OA_ptr< DataFlow::ParamBindings paramBind,
DataFlow::DFPImplement  algorithm 
) [virtual]

Definition at line 67 of file ManagerLinearityStandard.cpp.

References OA::OA_ptr< T >::convert(), mAlias, mCFG, mExitNode, mLM, mParamBind, mProc, and mSolver.

Here is the call graph for this function:

OA_ptr< Linearity::LinearityMatrix > OA::Linearity::ManagerLinearity::performAnalysis2 ( SymHandle  sym  )  [virtual]

Definition at line 284 of file ManagerLinearityStandard.cpp.

OA_ptr< Linearity::LinearityMatrix > OA::Linearity::ManagerLinearity::performAnalysis3 ( ProcHandle  proc,
OA_ptr< CFG::CFGInterface cfg,
OA_ptr< Alias::Interface alias,
OA_ptr< DataFlow::ParamBindings paramBind 
) [virtual]
OA_ptr< DataFlow::DataFlowSet > OA::Linearity::ManagerLinearity::transfer ( OA_ptr< DataFlow::DataFlowSet in,
OA::StmtHandle  stmt 
) [private, virtual]

Transfer function for Linearity, LinearityMatrix in/out Sets.

Implements OA::DataFlow::CFGDFProblem.

Definition at line 228 of file ManagerLinearityStandard.cpp.

References OA::OA_ptr< T >::convert(), OA::Linearity::debug, OA::LinearityLocsVisitor::getDepsSet(), mAlias, mIR, mParamBind, and OA::OA_ptr< T >::ptrEqual().

Here is the call graph for this function:


Member Data Documentation

Definition at line 105 of file ManagerLinearityStandard.hpp.

Referenced by performAnalysis(), and transfer().

Definition at line 104 of file ManagerLinearityStandard.hpp.

Referenced by performAnalysis().

Definition at line 108 of file ManagerLinearityStandard.hpp.

Referenced by performAnalysis().

Definition at line 101 of file ManagerLinearityStandard.hpp.

Referenced by meet(), and transfer().

Definition at line 102 of file ManagerLinearityStandard.hpp.

Referenced by performAnalysis(), and performAnalysis3().

Definition at line 106 of file ManagerLinearityStandard.hpp.

Referenced by performAnalysis(), and transfer().

Definition at line 103 of file ManagerLinearityStandard.hpp.

Referenced by performAnalysis().

Definition at line 107 of file ManagerLinearityStandard.hpp.

Referenced by ManagerLinearity(), and performAnalysis().


The documentation for this class was generated from the following files:

Generated on Sat Oct 31 05:32:31 2009 for OpenAnalysis by  doxygen 1.6.1