OA::Linearity::LinearityMatrix Class Reference

#include <LinearityMatrixStandard.hpp>

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

List of all members.

Public Member Functions

 LinearityMatrix ()
 LinearityMatrix (int num)
 LinearityMatrix (const LinearityMatrix &other)
OA_ptr< LinearityPairIteratorgetPairIteratorForVar (OA_ptr< Location > v)
void putLPSet (OA_ptr< Location > v, OA_ptr< std::set< OA_ptr< LinearityPair > > >lpSet)
void putLPair (OA_ptr< LinearityPair > lp)
OA_ptr< DataFlow::DataFlowSetclone ()
OA_ptr< LinearityMatrixmeet (OA_ptr< LinearityMatrix > other, IRHandlesIRInterface &pIR)
OA_ptr< LinearityMatrixmeet (DataFlowSet &other, IRHandlesIRInterface &pIR)
void putDepsSet (OA_ptr< Location > v, OA_ptr< LinearityDepsSet > deps)
OA_ptr< LinearityDepsSetgetDepsSet (OA_ptr< Location > v)
OA_ptr< std::map< OA_ptr
< Location >,OA_ptr< std::set
< OA_ptr< LinearityPair > > > > > 
getMap ()
void output ()
void output (IRHandlesIRInterface &pIR)
void dump (std::ostream &os)
void dump (std::ostream &os, OA_ptr< IRHandlesIRInterface > ir)
LinearityMatrixoperator= (const LinearityMatrix &other)
bool operator== (DataFlow::DataFlowSet &other) const
bool operator!= (DataFlow::DataFlowSet &other) const
bool operator== (const LinearityMatrix &other) const

Private Attributes

OA_ptr< std::map< OA_ptr
< Location >,OA_ptr< std::set
< OA_ptr< LinearityPair > > > > > 
mLMmap
std::map< OA_ptr< Location >
,OA_ptr< std::set< OA_ptr
< LinearityPair >
> > >::iterator 
mIter

Detailed Description

Definition at line 47 of file LinearityMatrixStandard.hpp.


Constructor & Destructor Documentation

OA::Linearity::LinearityMatrix::LinearityMatrix (  )  [inline]

Definition at line 51 of file LinearityMatrixStandard.hpp.

References mLMmap.

Referenced by clone(), and meet().

OA::Linearity::LinearityMatrix::LinearityMatrix ( int  num  )  [inline]

Definition at line 57 of file LinearityMatrixStandard.hpp.

References mLMmap.

OA::Linearity::LinearityMatrix::LinearityMatrix ( const LinearityMatrix other  )  [inline]

Definition at line 65 of file LinearityMatrixStandard.hpp.

References mLMmap.


Member Function Documentation

OA_ptr< DataFlow::DataFlowSet > OA::Linearity::LinearityMatrix::clone (  )  [virtual]

Implements OA::DataFlow::DataFlowSet.

Definition at line 84 of file LinearityMatrixStandard.cpp.

References LinearityMatrix().

Referenced by meet().

Here is the call graph for this function:

void OA::Linearity::LinearityMatrix::dump ( std::ostream &  os,
OA_ptr< IRHandlesIRInterface ir 
) [virtual]

Implements OA::DataFlow::DataFlowSet.

Definition at line 342 of file LinearityMatrixStandard.cpp.

References OA::OA_ptr< T >::dump(), mIter, and mLMmap.

Here is the call graph for this function:

void OA::Linearity::LinearityMatrix::dump ( std::ostream &  os  )  [inline, virtual]

Implements OA::DataFlow::DataFlowSet.

Definition at line 130 of file LinearityMatrixStandard.hpp.

OA_ptr< LinearityDepsSet > OA::Linearity::LinearityMatrix::getDepsSet ( OA_ptr< Location v  )  [virtual]

Implements OA::Linearity::Interface.

Definition at line 246 of file LinearityMatrixStandard.cpp.

References mIter, and mLMmap.

OA_ptr< std::map< OA_ptr< Location >,OA_ptr< std::set< OA_ptr< LinearityPair > > > > > OA::Linearity::LinearityMatrix::getMap (  ) 

Definition at line 269 of file LinearityMatrixStandard.cpp.

References mLMmap.

OA_ptr< LinearityPairIterator > OA::Linearity::LinearityMatrix::getPairIteratorForVar ( OA_ptr< Location v  ) 

Definition at line 31 of file LinearityMatrixStandard.cpp.

References mIter, and mLMmap.

Referenced by meet(), operator!=(), and operator==().

OA_ptr< LinearityMatrix > OA::Linearity::LinearityMatrix::meet ( DataFlowSet &  other,
IRHandlesIRInterface pIR 
)

Definition at line 156 of file LinearityMatrixStandard.cpp.

References clone(), OA::OA_ptr< T >::convert(), getPairIteratorForVar(), mIter, and mLMmap.

Here is the call graph for this function:

OA_ptr< LinearityMatrix > OA::Linearity::LinearityMatrix::meet ( OA_ptr< LinearityMatrix other,
IRHandlesIRInterface pIR 
)

Definition at line 95 of file LinearityMatrixStandard.cpp.

References OA::Linearity::debug, LinearityMatrix(), mIter, mLMmap, OA::Linearity::LinearityClass::output(), and OA::OA_ptr< T >::ptrEqual().

Here is the call graph for this function:

bool OA::Linearity::LinearityMatrix::operator!= ( DataFlow::DataFlowSet other  )  const

Definition at line 418 of file LinearityMatrixStandard.cpp.

References getPairIteratorForVar(), and mLMmap.

Here is the call graph for this function:

LinearityMatrix & OA::Linearity::LinearityMatrix::operator= ( const LinearityMatrix other  ) 

Definition at line 369 of file LinearityMatrixStandard.cpp.

References mLMmap.

bool OA::Linearity::LinearityMatrix::operator== ( const LinearityMatrix other  )  const

Definition at line 459 of file LinearityMatrixStandard.cpp.

References operator==().

Here is the call graph for this function:

bool OA::Linearity::LinearityMatrix::operator== ( DataFlow::DataFlowSet other  )  const

Definition at line 375 of file LinearityMatrixStandard.cpp.

References getPairIteratorForVar(), and mLMmap.

Referenced by operator==().

Here is the call graph for this function:

void OA::Linearity::LinearityMatrix::output ( IRHandlesIRInterface pIR  )  [virtual]

Implements OA::Annotation.

Definition at line 298 of file LinearityMatrixStandard.cpp.

References mIter, mLMmap, output(), and OA::Annotation::sOutBuild.

Here is the call graph for this function:

void OA::Linearity::LinearityMatrix::output (  ) 

Definition at line 275 of file LinearityMatrixStandard.cpp.

References mIter, and mLMmap.

Referenced by output().

void OA::Linearity::LinearityMatrix::putDepsSet ( OA_ptr< Location v,
OA_ptr< LinearityDepsSet deps 
)

Definition at line 228 of file LinearityMatrixStandard.cpp.

void OA::Linearity::LinearityMatrix::putLPair ( OA_ptr< LinearityPair lp  ) 

Definition at line 50 of file LinearityMatrixStandard.cpp.

References mIter, and mLMmap.

void OA::Linearity::LinearityMatrix::putLPSet ( OA_ptr< Location v,
OA_ptr< std::set< OA_ptr< LinearityPair > > >  lpSet 
)

Definition at line 45 of file LinearityMatrixStandard.cpp.


Member Data Documentation

std::map<OA_ptr<Location> ,OA_ptr<std::set<OA_ptr<LinearityPair> > > >::iterator OA::Linearity::LinearityMatrix::mIter [private]

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

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