Public Member Functions | Private Attributes | Static Private Attributes

OA::ExprTree::ConstValNode Class Reference

#include <CompareExprTree.hpp>

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

List of all members.

Public Member Functions

 ConstValNode ()
 ConstValNode (ConstValHandle h)
virtual ~ConstValNode ()
OA_ptr< Nodecopy ()
 return a copy of self
bool isaConstValNode ()
ConstValHandle 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 ()
 ConstValNode ()
 ConstValNode (ConstValHandle h)
virtual ~ConstValNode ()
OA_ptr< Nodecopy ()
 return a copy of self
bool isaConstValNode ()
ConstValHandle 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

ConstValHandle mHandle

Static Private Attributes

static const int sOrder = 400

Detailed Description

Definition at line 270 of file CompareExprTree.hpp.


Constructor & Destructor Documentation

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

Definition at line 272 of file CompareExprTree.hpp.

OA::ExprTree::ConstValNode::ConstValNode ( ConstValHandle  h  )  [inline]

Definition at line 273 of file CompareExprTree.hpp.

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

Definition at line 274 of file CompareExprTree.hpp.

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

Definition at line 283 of file ExprTree.hpp.

OA::ExprTree::ConstValNode::ConstValNode ( ConstValHandle  h  )  [inline]

Definition at line 284 of file ExprTree.hpp.

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

Definition at line 285 of file ExprTree.hpp.


Member Function Documentation

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

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

Implements OA::ExprTree::Node.

Definition at line 412 of file CompareExprTree.cpp.

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

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

Implements OA::ExprTree::Node.

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

return a copy of self

Implements OA::ExprTree::Node.

Definition at line 288 of file ExprTree.hpp.

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

return a copy of self

Implements OA::ExprTree::Node.

Definition at line 277 of file CompareExprTree.hpp.

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

Reimplemented from OA::ExprTree::Node.

Definition at line 282 of file CompareExprTree.hpp.

Referenced by output().

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

Reimplemented from OA::ExprTree::Node.

Definition at line 398 of file CompareExprTree.cpp.

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

Reimplemented from OA::ExprTree::Node.

Definition at line 293 of file ExprTree.hpp.

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

Reimplemented from OA::ExprTree::Node.

ConstValHandle OA::ExprTree::ConstValNode::getHandle (  )  [inline]
ConstValHandle OA::ExprTree::ConstValNode::getHandle (  )  [inline]

Definition at line 292 of file ExprTree.hpp.

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

Reimplemented from OA::ExprTree::Node.

Definition at line 308 of file ExprTree.hpp.

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

Reimplemented from OA::ExprTree::Node.

Definition at line 297 of file CompareExprTree.hpp.

bool OA::ExprTree::ConstValNode::isaConstValNode (  )  [inline, virtual]

Reimplemented from OA::ExprTree::Node.

Definition at line 280 of file CompareExprTree.hpp.

bool OA::ExprTree::ConstValNode::isaConstValNode (  )  [inline, virtual]

Reimplemented from OA::ExprTree::Node.

Definition at line 291 of file ExprTree.hpp.

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

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

Reimplemented from OA::ExprTree::Node.

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

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

Reimplemented from OA::ExprTree::Node.

Definition at line 416 of file CompareExprTree.cpp.

References OA::ExprTreeVisitor::visitConstValNode().

Here is the call graph for this function:

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

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

Reimplemented from OA::ExprTree::Node.

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

Reimplemented from OA::ExprTree::Node.

Definition at line 405 of file CompareExprTree.cpp.

References dump(), and mHandle.

Here is the call graph for this function:


Member Data Documentation

Definition at line 301 of file CompareExprTree.hpp.

Referenced by output().

static const int OA::ExprTree::ConstValNode::sOrder = 400 [static, private]

Reimplemented from OA::ExprTree::Node.

Definition at line 300 of file CompareExprTree.hpp.


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