#include <LinearityLocsVisitor.hpp>


Definition at line 36 of file LinearityLocsVisitor.hpp.
| OA::LinearityLocsVisitor::LinearityLocsVisitor | ( | OA_ptr< Linearity::LinearityIRInterface > | ir, | |
| OA_ptr< Linearity::Interface > | rc, | |||
| OA_ptr< Alias::Interface > | alias, | |||
| OA_ptr< DataFlow::ParamBindings > | paramBind | |||
| ) |
Definition at line 22 of file LinearityLocsVisitor.cpp.
| OA::LinearityLocsVisitor::~LinearityLocsVisitor | ( | ) | [inline] |
Definition at line 42 of file LinearityLocsVisitor.hpp.
| OA_ptr<Linearity::LinearityDepsSet> OA::LinearityLocsVisitor::getDepsSet | ( | ) | [inline] |
interface for results of visiting the expression tree
Definition at line 63 of file LinearityLocsVisitor.hpp.
References mDeps.
Referenced by visitOpNode().
| bool OA::LinearityLocsVisitor::getIsConst | ( | ) | [inline] |
Definition at line 60 of file LinearityLocsVisitor.hpp.
References mIsConst.
| void OA::LinearityLocsVisitor::visitCallNode | ( | ExprTree::CallNode & | n | ) | [virtual] |
Reimplemented from OA::ExprTreeVisitor.
Definition at line 159 of file LinearityLocsVisitor.cpp.
References OA::debug, OA::OA_ptr< T >::dump(), OA::ExprTree::CallNode::getHandle(), OA::MemRefsVisitor::getMemRefsIterator(), OA::MemRefsVisitor::hasMemRef(), mAlias, mDeps, OA::Linearity::LinearityDepsSet::meet(), mIR, mIsConst, mLM, and mParamBind.

| void OA::LinearityLocsVisitor::visitConstSymNode | ( | ExprTree::ConstSymNode & | n | ) | [virtual] |
Reimplemented from OA::ExprTreeVisitor.
Definition at line 295 of file LinearityLocsVisitor.cpp.
| void OA::LinearityLocsVisitor::visitConstValNode | ( | ExprTree::ConstValNode & | n | ) | [virtual] |
Reimplemented from OA::ExprTreeVisitor.
Definition at line 302 of file LinearityLocsVisitor.cpp.
| void OA::LinearityLocsVisitor::visitExprTreeAfter | ( | ExprTree & | ) | [inline, virtual] |
called after root noded in the expression tree is visited
Implements OA::ExprTreeVisitor.
Definition at line 45 of file LinearityLocsVisitor.hpp.
| void OA::LinearityLocsVisitor::visitExprTreeBefore | ( | ExprTree & | ) | [inline, virtual] |
called before root noded in the expression tree is visited
Implements OA::ExprTreeVisitor.
Definition at line 44 of file LinearityLocsVisitor.hpp.
| void OA::LinearityLocsVisitor::visitMemRefNode | ( | ExprTree::MemRefNode & | n | ) | [virtual] |
Reimplemented from OA::ExprTreeVisitor.
Definition at line 242 of file LinearityLocsVisitor.cpp.
References OA::debug, OA::ExprTree::MemRefNode::getHandle(), mAlias, mDeps, OA::Linearity::LinearityDepsSet::meet(), mIR, mIsConst, and mLM.

| void OA::LinearityLocsVisitor::visitNode | ( | ExprTree::Node & | ) | [virtual] |
if we don't know how to handle a node then the default action is to change the eval result to NULL
Implements OA::ExprTreeVisitor.
Definition at line 34 of file LinearityLocsVisitor.cpp.
| void OA::LinearityLocsVisitor::visitOpNode | ( | ExprTree::OpNode & | n | ) | [virtual] |
Reimplemented from OA::ExprTreeVisitor.
Definition at line 41 of file LinearityLocsVisitor.cpp.
References OA::ExprTree::ChildNodesIterator::current(), OA::debug, getDepsSet(), OA::ExprTree::OpNode::getHandle(), OA::Tree::ChildNodesIterator::isValid(), mDeps, mIR, mIsConst, OA::Tree::Node::num_children(), OA::Linearity::OPR_ADDSUB, OA::Linearity::OPR_LINEAR, OA::Linearity::OPR_MPYDIV, OA::Linearity::OPR_NONE, OA::Linearity::OPR_NONLINEAR, OA::Linearity::OPR_POWER, and OA::OA_ptr< T >::ptrEqual().

Definition at line 69 of file LinearityLocsVisitor.hpp.
Referenced by visitCallNode(), and visitMemRefNode().
Definition at line 66 of file LinearityLocsVisitor.hpp.
Referenced by getDepsSet(), LinearityLocsVisitor(), visitCallNode(), visitConstSymNode(), visitConstValNode(), visitMemRefNode(), visitNode(), and visitOpNode().
Definition at line 67 of file LinearityLocsVisitor.hpp.
Referenced by visitCallNode(), visitMemRefNode(), and visitOpNode().
bool OA::LinearityLocsVisitor::mIsConst [private] |
Definition at line 71 of file LinearityLocsVisitor.hpp.
Referenced by getIsConst(), LinearityLocsVisitor(), visitCallNode(), visitConstSymNode(), visitConstValNode(), visitMemRefNode(), visitNode(), and visitOpNode().
Definition at line 68 of file LinearityLocsVisitor.hpp.
Referenced by visitCallNode(), and visitMemRefNode().
Definition at line 70 of file LinearityLocsVisitor.hpp.
Referenced by visitCallNode().
1.7.1