Public Member Functions | Private Attributes | Static Private Attributes

OA::ExprTree::CallNode Class Reference

#include <CompareExprTree.hpp>

Inheritance diagram for OA::ExprTree::CallNode:
Inheritance graph
[legend]
Collaboration diagram for OA::ExprTree::CallNode:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CallNode ()
 CallNode (CallHandle h)
virtual ~CallNode ()
OA_ptr< Nodecopy ()
 return a copy of self
bool isaCallNode ()
CallHandle getHandle ()
void dump (std::ostream &os)
void dump (std::ostream &os, OA_ptr< IRHandlesIRInterface > ir)
void acceptVisitor (ExprTreeVisitor &pVisitor)
 pass visitor to nodes in postorder and then accept visitor on tree
void output (IRHandlesIRInterface &ir)
bool operator< (Node &other)
 an ordering for expression trees, needed for use within STL containers
bool operator== (Node &other)
virtual int getOrder ()
 CallNode ()
 CallNode (CallHandle h)
virtual ~CallNode ()
OA_ptr< Nodecopy ()
 return a copy of self
bool isaCallNode ()
CallHandle getHandle ()
void dump (std::ostream &os)
void dump (std::ostream &os, OA_ptr< IRHandlesIRInterface > ir)
void acceptVisitor (ExprTreeVisitor &pVisitor)
 pass visitor to nodes in postorder and then accept visitor on tree
void output (IRHandlesIRInterface &ir)
bool operator< (Node &other)
 an ordering for expression trees, needed for use within STL containers
bool operator== (Node &other)
virtual int getOrder ()

Private Attributes

CallHandle mHandle

Static Private Attributes

static const int sOrder = 500

Detailed Description

Definition at line 167 of file CompareExprTree.hpp.


Constructor & Destructor Documentation

OA::ExprTree::CallNode::CallNode (  )  [inline]

Definition at line 169 of file CompareExprTree.hpp.

OA::ExprTree::CallNode::CallNode ( CallHandle  h  )  [inline]

Definition at line 170 of file CompareExprTree.hpp.

virtual OA::ExprTree::CallNode::~CallNode (  )  [inline, virtual]

Definition at line 171 of file CompareExprTree.hpp.

OA::ExprTree::CallNode::CallNode (  )  [inline]

Definition at line 180 of file ExprTree.hpp.

OA::ExprTree::CallNode::CallNode ( CallHandle  h  )  [inline]

Definition at line 181 of file ExprTree.hpp.

virtual OA::ExprTree::CallNode::~CallNode (  )  [inline, virtual]

Definition at line 182 of file ExprTree.hpp.


Member Function Documentation

void OA::ExprTree::CallNode::acceptVisitor ( ExprTreeVisitor  )  [virtual]

pass visitor to nodes in postorder and then accept visitor on tree

Implements OA::ExprTree::Node.

Definition at line 249 of file CompareExprTree.cpp.

void OA::ExprTree::CallNode::acceptVisitor ( ExprTreeVisitor  )  [virtual]

pass visitor to nodes in postorder and then accept visitor on tree

Implements OA::ExprTree::Node.

OA_ptr<Node> OA::ExprTree::CallNode::copy (  )  [inline, virtual]

return a copy of self

Implements OA::ExprTree::Node.

Definition at line 185 of file ExprTree.hpp.

OA_ptr<Node> OA::ExprTree::CallNode::copy (  )  [inline, virtual]

return a copy of self

Implements OA::ExprTree::Node.

Definition at line 174 of file CompareExprTree.hpp.

void OA::ExprTree::CallNode::dump ( std::ostream &  os  )  [inline, virtual]

Reimplemented from OA::ExprTree::Node.

Definition at line 179 of file CompareExprTree.hpp.

Referenced by output().

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

Reimplemented from OA::ExprTree::Node.

Definition at line 236 of file CompareExprTree.cpp.

void OA::ExprTree::CallNode::dump ( std::ostream &  os  )  [inline, virtual]

Reimplemented from OA::ExprTree::Node.

Definition at line 190 of file ExprTree.hpp.

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

Reimplemented from OA::ExprTree::Node.

CallHandle OA::ExprTree::CallNode::getHandle (  )  [inline]
CallHandle OA::ExprTree::CallNode::getHandle (  )  [inline]

Definition at line 189 of file ExprTree.hpp.

virtual int OA::ExprTree::CallNode::getOrder (  )  [inline, virtual]

Reimplemented from OA::ExprTree::Node.

Definition at line 205 of file ExprTree.hpp.

virtual int OA::ExprTree::CallNode::getOrder (  )  [inline, virtual]

Reimplemented from OA::ExprTree::Node.

Definition at line 194 of file CompareExprTree.hpp.

bool OA::ExprTree::CallNode::isaCallNode (  )  [inline, virtual]

Reimplemented from OA::ExprTree::Node.

Definition at line 177 of file CompareExprTree.hpp.

bool OA::ExprTree::CallNode::isaCallNode (  )  [inline, virtual]

Reimplemented from OA::ExprTree::Node.

Definition at line 188 of file ExprTree.hpp.

bool OA::ExprTree::CallNode::operator< ( Node other  )  [virtual]

an ordering for expression trees, needed for use within STL containers

Reimplemented from OA::ExprTree::Node.

bool OA::ExprTree::CallNode::operator< ( Node other  )  [virtual]

an ordering for expression trees, needed for use within STL containers

Reimplemented from OA::ExprTree::Node.

Definition at line 254 of file CompareExprTree.cpp.

References OA::ExprTreeVisitor::visitCallNode().

Here is the call graph for this function:

bool OA::ExprTree::CallNode::operator== ( Node other  )  [virtual]

check if two memory references are equal at the level of accuracy provided by the MemRefExpr approximation

Reimplemented from OA::ExprTree::Node.

bool OA::ExprTree::CallNode::operator== ( Node other  )  [virtual]

check if two memory references are equal at the level of accuracy provided by the MemRefExpr approximation

Reimplemented from OA::ExprTree::Node.

Definition at line 273 of file CompareExprTree.cpp.

void OA::ExprTree::CallNode::output ( IRHandlesIRInterface ir  )  [virtual]

Reimplemented from OA::ExprTree::Node.

void OA::ExprTree::CallNode::output ( IRHandlesIRInterface ir  )  [virtual]

Reimplemented from OA::ExprTree::Node.

Definition at line 242 of file CompareExprTree.cpp.

References dump(), and mHandle.

Here is the call graph for this function:


Member Data Documentation

Definition at line 199 of file CompareExprTree.hpp.

Referenced by output().

static const int OA::ExprTree::CallNode::sOrder = 500 [static, private]

Reimplemented from OA::ExprTree::Node.

Definition at line 198 of file CompareExprTree.hpp.


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