Public Member Functions | Private Attributes

OA::DifferentiableLocsVisitor Class Reference

#include <DifferentiableLocsVisitor.hpp>

Inheritance diagram for OA::DifferentiableLocsVisitor:
Inheritance graph
[legend]
Collaboration diagram for OA::DifferentiableLocsVisitor:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 DifferentiableLocsVisitor (OA_ptr< Alias::Interface > alias)
 ~DifferentiableLocsVisitor ()
void visitExprTreeBefore (ExprTree &)
 called before root noded in the expression tree is visited
void visitExprTreeAfter (ExprTree &)
 called after root noded in the expression tree is visited
void visitNode (ExprTree::Node &)
void visitOpNode (ExprTree::OpNode &n)
void visitCallNode (ExprTree::CallNode &n)
void visitMemRefNode (ExprTree::MemRefNode &n)
void visitConstSymNode (ExprTree::ConstSymNode &n)
void visitConstValNode (ExprTree::ConstValNode &n)
OA_ptr< LocIteratorgetDiffLocsIterator ()
 interface for results of visiting the expression tree

Private Attributes

OA_ptr< LocSetmDiffLocs
OA_ptr< Alias::InterfacemAlias

Detailed Description

Definition at line 28 of file DifferentiableLocsVisitor.hpp.


Constructor & Destructor Documentation

OA::DifferentiableLocsVisitor::DifferentiableLocsVisitor ( OA_ptr< Alias::Interface alias  ) 

Definition at line 21 of file DifferentiableLocsVisitor.cpp.

OA::DifferentiableLocsVisitor::~DifferentiableLocsVisitor (  )  [inline]

Definition at line 31 of file DifferentiableLocsVisitor.hpp.


Member Function Documentation

OA_ptr<LocIterator> OA::DifferentiableLocsVisitor::getDiffLocsIterator (  )  [inline]

interface for results of visiting the expression tree

Definition at line 51 of file DifferentiableLocsVisitor.hpp.

References mDiffLocs.

void OA::DifferentiableLocsVisitor::visitCallNode ( ExprTree::CallNode n  )  [virtual]

Reimplemented from OA::ExprTreeVisitor.

Definition at line 46 of file DifferentiableLocsVisitor.cpp.

void OA::DifferentiableLocsVisitor::visitConstSymNode ( ExprTree::ConstSymNode n  )  [virtual]

Reimplemented from OA::ExprTreeVisitor.

Definition at line 79 of file DifferentiableLocsVisitor.cpp.

void OA::DifferentiableLocsVisitor::visitConstValNode ( ExprTree::ConstValNode n  )  [virtual]

Reimplemented from OA::ExprTreeVisitor.

Definition at line 85 of file DifferentiableLocsVisitor.cpp.

void OA::DifferentiableLocsVisitor::visitExprTreeAfter ( ExprTree  )  [inline, virtual]

called after root noded in the expression tree is visited

Implements OA::ExprTreeVisitor.

Definition at line 35 of file DifferentiableLocsVisitor.hpp.

void OA::DifferentiableLocsVisitor::visitExprTreeBefore ( ExprTree  )  [inline, virtual]

called before root noded in the expression tree is visited

Implements OA::ExprTreeVisitor.

Definition at line 33 of file DifferentiableLocsVisitor.hpp.

References mDiffLocs.

void OA::DifferentiableLocsVisitor::visitMemRefNode ( ExprTree::MemRefNode n  )  [virtual]

Reimplemented from OA::ExprTreeVisitor.

Definition at line 53 of file DifferentiableLocsVisitor.cpp.

References OA::ExprTree::MemRefNode::getHandle(), mAlias, and mDiffLocs.

Here is the call graph for this function:

void OA::DifferentiableLocsVisitor::visitNode ( ExprTree::Node  )  [virtual]

if we don't know how to handle a node then need to assert because there is no default conservative action for this visitor

Implements OA::ExprTreeVisitor.

Definition at line 28 of file DifferentiableLocsVisitor.cpp.

void OA::DifferentiableLocsVisitor::visitOpNode ( ExprTree::OpNode n  )  [virtual]

Reimplemented from OA::ExprTreeVisitor.

Definition at line 33 of file DifferentiableLocsVisitor.cpp.

References OA::ExprTree::ChildNodesIterator::current(), and OA::Tree::ChildNodesIterator::isValid().

Here is the call graph for this function:


Member Data Documentation

Definition at line 59 of file DifferentiableLocsVisitor.hpp.

Referenced by visitMemRefNode().


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