Public Member Functions | Private Attributes | Static Private Attributes

OA::ExprTree::MemRefNode Class Reference

#include <CompareExprTree.hpp>

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

List of all members.

Public Member Functions

 MemRefNode ()
 MemRefNode (MemRefHandle h)
virtual ~MemRefNode ()
OA_ptr< Nodecopy ()
 return a copy of self
bool isaMemRefNode ()
MemRefHandle 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 ()
 MemRefNode ()
 MemRefNode (MemRefHandle h)
virtual ~MemRefNode ()
OA_ptr< Nodecopy ()
 return a copy of self
bool isaMemRefNode ()
MemRefHandle 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

MemRefHandle mHandle

Static Private Attributes

static const int sOrder = 200

Detailed Description

Definition at line 202 of file CompareExprTree.hpp.


Constructor & Destructor Documentation

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

Definition at line 204 of file CompareExprTree.hpp.

OA::ExprTree::MemRefNode::MemRefNode ( MemRefHandle  h  )  [inline]

Definition at line 205 of file CompareExprTree.hpp.

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

Definition at line 206 of file CompareExprTree.hpp.

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

Definition at line 215 of file ExprTree.hpp.

OA::ExprTree::MemRefNode::MemRefNode ( MemRefHandle  h  )  [inline]

Definition at line 216 of file ExprTree.hpp.

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

Definition at line 217 of file ExprTree.hpp.


Member Function Documentation

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

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

Implements OA::ExprTree::Node.

Definition at line 306 of file CompareExprTree.cpp.

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

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

Implements OA::ExprTree::Node.

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

return a copy of self

Implements OA::ExprTree::Node.

Definition at line 220 of file ExprTree.hpp.

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

return a copy of self

Implements OA::ExprTree::Node.

Definition at line 209 of file CompareExprTree.hpp.

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

Reimplemented from OA::ExprTree::Node.

Definition at line 214 of file CompareExprTree.hpp.

Referenced by output().

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

Reimplemented from OA::ExprTree::Node.

Definition at line 293 of file CompareExprTree.cpp.

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

Reimplemented from OA::ExprTree::Node.

Definition at line 225 of file ExprTree.hpp.

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

Reimplemented from OA::ExprTree::Node.

MemRefHandle OA::ExprTree::MemRefNode::getHandle (  )  [inline]
MemRefHandle OA::ExprTree::MemRefNode::getHandle (  )  [inline]

Definition at line 224 of file ExprTree.hpp.

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

Reimplemented from OA::ExprTree::Node.

Definition at line 240 of file ExprTree.hpp.

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

Reimplemented from OA::ExprTree::Node.

Definition at line 229 of file CompareExprTree.hpp.

bool OA::ExprTree::MemRefNode::isaMemRefNode (  )  [inline, virtual]

Reimplemented from OA::ExprTree::Node.

Definition at line 212 of file CompareExprTree.hpp.

bool OA::ExprTree::MemRefNode::isaMemRefNode (  )  [inline, virtual]

Reimplemented from OA::ExprTree::Node.

Definition at line 223 of file ExprTree.hpp.

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

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

Reimplemented from OA::ExprTree::Node.

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

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

Reimplemented from OA::ExprTree::Node.

Definition at line 310 of file CompareExprTree.cpp.

References OA::ExprTreeVisitor::visitMemRefNode().

Here is the call graph for this function:

bool OA::ExprTree::MemRefNode::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::MemRefNode::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 327 of file CompareExprTree.cpp.

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

Reimplemented from OA::ExprTree::Node.

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

Reimplemented from OA::ExprTree::Node.

Definition at line 299 of file CompareExprTree.cpp.

References dump(), and mHandle.

Here is the call graph for this function:


Member Data Documentation

Definition at line 233 of file CompareExprTree.hpp.

Referenced by output().

static const int OA::ExprTree::MemRefNode::sOrder = 200 [static, private]

Reimplemented from OA::ExprTree::Node.

Definition at line 232 of file CompareExprTree.hpp.


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