#include <ManagerAffineExpr.hpp>


Definition at line 40 of file ManagerAffineExpr.hpp.
| OA::AffineExpr::AffineExprExprTreeVisitor::AffineExprExprTreeVisitor | ( | OA_ptr< AffineExprAbstraction > | afExp, | |
| OA_ptr< AffineExprIRInterface > | ir, | |||
| ProcHandle | hProc, | |||
| const set< OA_ptr< NamedLoc > > & | indexVars, | |||
| const set< OA_ptr< NamedLoc > > & | nonConstVars, | |||
| OA_ptr< Alias::Interface > | aliasResults | |||
| ) | [inline] |
Definition at line 42 of file ManagerAffineExpr.hpp.
| virtual OA::AffineExpr::AffineExprExprTreeVisitor::~AffineExprExprTreeVisitor | ( | ) | [inline, virtual] |
Definition at line 59 of file ManagerAffineExpr.hpp.
| void OA::AffineExpr::AffineExprExprTreeVisitor::factor | ( | ) | [private] |
| AffineAnlState OA::AffineExpr::AffineExprExprTreeVisitor::getState | ( | ) | [inline] |
Definition at line 71 of file ManagerAffineExpr.hpp.
References mState.
Referenced by OA::AffineExpr::ManagerAffineExpr::analyzeMemRefExp().
| void OA::AffineExpr::AffineExprExprTreeVisitor::pushScaler | ( | int | val | ) | [private] |
Definition at line 167 of file ManagerAffineExpr.cpp.
References OA::AffineExpr::StackObj::isVar, mStack, and OA::AffineExpr::StackObj::val.
Referenced by visitConstValNode().
Definition at line 158 of file ManagerAffineExpr.cpp.
References OA::AffineExpr::StackObj::isVar, mStack, and OA::AffineExpr::StackObj::var.
Referenced by visitMemRefNode().
| void OA::AffineExpr::AffineExprExprTreeVisitor::term | ( | ) | [private] |
Definition at line 176 of file ManagerAffineExpr.cpp.
References OA::AffineExpr::StackObj::isVar, mAfExp, mStack, mState, OA::AffineExpr::NON_LINEAR_TERM, OA::AffineExpr::StackObj::val, OA::AffineExpr::VALID_AFFINE_EXP, and OA::AffineExpr::StackObj::var.
Referenced by visitOpNode().
| void OA::AffineExpr::AffineExprExprTreeVisitor::visitCallNode | ( | ExprTree::CallNode & | n | ) | [virtual] |
Reimplemented from OA::ExprTreeVisitor.
Definition at line 89 of file ManagerAffineExpr.cpp.
References mState, OA::AffineExpr::NON_LINEAR_TERM, and OA::AffineExpr::VALID_AFFINE_EXP.
| void OA::AffineExpr::AffineExprExprTreeVisitor::visitConstSymNode | ( | ExprTree::ConstSymNode & | n | ) | [virtual] |
| void OA::AffineExpr::AffineExprExprTreeVisitor::visitConstValNode | ( | ExprTree::ConstValNode & | n | ) | [virtual] |
Reimplemented from OA::ExprTreeVisitor.
Definition at line 153 of file ManagerAffineExpr.cpp.
References OA::ExprTree::ConstValNode::getHandle(), mIR, and pushScaler().

| virtual void OA::AffineExpr::AffineExprExprTreeVisitor::visitExprTreeAfter | ( | ExprTree & | ) | [inline, virtual] |
called after root noded in the expression tree is visited
Implements OA::ExprTreeVisitor.
Definition at line 62 of file ManagerAffineExpr.hpp.
| virtual void OA::AffineExpr::AffineExprExprTreeVisitor::visitExprTreeBefore | ( | ExprTree & | ) | [inline, virtual] |
called before root noded in the expression tree is visited
Implements OA::ExprTreeVisitor.
Definition at line 61 of file ManagerAffineExpr.hpp.
| void OA::AffineExpr::AffineExprExprTreeVisitor::visitMemRefNode | ( | ExprTree::MemRefNode & | n | ) | [virtual] |
Reimplemented from OA::ExprTreeVisitor.
Definition at line 98 of file ManagerAffineExpr.cpp.
References OA::OA_ptr< T >::convert(), OA::ExprTree::MemRefNode::getHandle(), OA::AffineExpr::INDIRECT_REF, OA::AffineExpr::INVALID_VAR, mhProc, mIR, mNonConstVars, mState, pushVar(), and OA::AffineExpr::VALID_AFFINE_EXP.

| virtual void OA::AffineExpr::AffineExprExprTreeVisitor::visitNode | ( | ExprTree::Node & | n | ) | [inline, virtual] |
| void OA::AffineExpr::AffineExprExprTreeVisitor::visitOpNode | ( | ExprTree::OpNode & | n | ) | [virtual] |
Reimplemented from OA::ExprTreeVisitor.
Definition at line 46 of file ManagerAffineExpr.cpp.
References OA::ExprTree::ChildNodesIterator::current(), OA::ExprTree::OpNode::getHandle(), OA::AffineExpr::INVALID_OPERATOR, OA::Tree::ChildNodesIterator::isValid(), mIR, mState, OA::Tree::Node::num_children(), OA::AffineExpr::OP_ADD, OA::AffineExpr::OP_BIT_AND, OA::AffineExpr::OP_BIT_OR, OA::AffineExpr::OP_BIT_XOR, OA::AffineExpr::OP_DIVIDE, OA::AffineExpr::OP_MODULO, OA::AffineExpr::OP_MULTIPLY, OA::AffineExpr::OP_OTHER, OA::AffineExpr::OP_SHIFT_LEFT, OA::AffineExpr::OP_SHIFT_RIGHT, OA::AffineExpr::OP_SUBTRACT, term(), and OA::AffineExpr::VALID_AFFINE_EXP.

Definition at line 86 of file ManagerAffineExpr.hpp.
const set<OA_ptr<NamedLoc> >& OA::AffineExpr::AffineExprExprTreeVisitor::mIndexVars [private] |
Definition at line 84 of file ManagerAffineExpr.hpp.
Definition at line 82 of file ManagerAffineExpr.hpp.
Referenced by visitConstValNode(), visitMemRefNode(), and visitOpNode().
const set<OA_ptr<NamedLoc> >& OA::AffineExpr::AffineExprExprTreeVisitor::mNonConstVars [private] |
stack<StackObj> OA::AffineExpr::AffineExprExprTreeVisitor::mStack [private] |
Definition at line 79 of file ManagerAffineExpr.hpp.
Referenced by pushScaler(), pushVar(), and term().
Definition at line 87 of file ManagerAffineExpr.hpp.
Referenced by getState(), term(), visitCallNode(), visitMemRefNode(), and visitOpNode().
1.5.7.1