OA::AddressOf Class Reference

#include <MemRefExpr.hpp>

Inheritance diagram for OA::AddressOf:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

 AddressOf (MemRefType mrType, OA_ptr< MemRefExpr > mre)
 AddressOf (AddressOf &mre)
 copy constructor
 ~AddressOf ()
void acceptVisitor (MemRefExprVisitor &pVisitor)
OA_ptr< MemRefExprclone ()
 return a ptr to a copy of self
virtual std::string typeString ()
bool isaAddressOf ()
bool operator< (MemRefExpr &other)
 an ordering for locations, needed for use within STL containers
bool operator== (MemRefExpr &other)
OA_ptr< MemRefExprcomposeWith (OA_ptr< MemRefExpr > mre)
 Will make this Refop wrap the given mre and return the result.
void output (IRHandlesIRInterface &ir)
virtual void dump (std::ostream &os, OA_ptr< IRHandlesIRInterface > pIR)
virtual void dump (std::ostream &os, IRHandlesIRInterface &pIR)
virtual void dump (std::ostream &os)
virtual int getOrder ()

Static Private Attributes

static const int sOrder = 350


Detailed Description

Definition at line 444 of file MemRefExpr.hpp.


Constructor & Destructor Documentation

OA::AddressOf::AddressOf ( MemRefType  mrType,
OA_ptr< MemRefExpr mre 
) [inline]

Definition at line 447 of file MemRefExpr.hpp.

Referenced by clone(), and composeWith().

OA::AddressOf::AddressOf ( AddressOf mre  )  [inline]

copy constructor

Definition at line 451 of file MemRefExpr.hpp.

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

Definition at line 453 of file MemRefExpr.hpp.


Member Function Documentation

void OA::AddressOf::acceptVisitor ( MemRefExprVisitor pVisitor  )  [virtual]

Implements OA::MemRefExpr.

Definition at line 373 of file MemRefExpr.cpp.

References OA::MemRefExprVisitor::visitAddressOf().

Here is the call graph for this function:

OA_ptr< MemRefExpr > OA::AddressOf::clone (  )  [virtual]

return a ptr to a copy of self

Implements OA::MemRefExpr.

Definition at line 378 of file MemRefExpr.cpp.

References AddressOf().

Here is the call graph for this function:

OA_ptr< MemRefExpr > OA::AddressOf::composeWith ( OA_ptr< MemRefExpr mre  )  [virtual]

Will make this Refop wrap the given mre and return the result.

Implements OA::RefOp.

Definition at line 417 of file MemRefExpr.cpp.

References AddressOf(), OA::OA_ptr< T >::convert(), and OA::MemRefExpr::getMRType().

Here is the call graph for this function:

void OA::AddressOf::dump ( std::ostream &  os  )  [virtual]

Reimplemented from OA::MemRefExpr.

Definition at line 450 of file MemRefExpr.cpp.

References dump(), and OA::RefOp::getMemRefExpr().

Here is the call graph for this function:

void OA::AddressOf::dump ( std::ostream &  os,
IRHandlesIRInterface pIR 
) [virtual]

Reimplemented from OA::MemRefExpr.

Definition at line 458 of file MemRefExpr.cpp.

References dump(), and OA::RefOp::getMemRefExpr().

Here is the call graph for this function:

void OA::AddressOf::dump ( std::ostream &  os,
OA_ptr< IRHandlesIRInterface pIR 
) [virtual]

Reimplemented from OA::MemRefExpr.

Definition at line 466 of file MemRefExpr.cpp.

Referenced by dump().

virtual int OA::AddressOf::getOrder (  )  [inline, virtual]

Reimplemented from OA::MemRefExpr.

Definition at line 495 of file MemRefExpr.hpp.

References sOrder.

Referenced by operator<(), and operator==().

bool OA::AddressOf::isaAddressOf (  )  [inline, virtual]

Reimplemented from OA::MemRefExpr.

Definition at line 465 of file MemRefExpr.hpp.

bool OA::AddressOf::operator< ( MemRefExpr other  )  [virtual]

an ordering for locations, needed for use within STL containers

Need consistent ordering.

Reimplemented from OA::MemRefExpr.

Definition at line 385 of file MemRefExpr.cpp.

References OA::RefOp::getMemRefExpr(), OA::MemRefExpr::getOrder(), and getOrder().

Here is the call graph for this function:

bool OA::AddressOf::operator== ( MemRefExpr other  )  [virtual]

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

Reimplemented from OA::MemRefExpr.

Definition at line 401 of file MemRefExpr.cpp.

References OA::RefOp::getMemRefExpr(), OA::MemRefExpr::getOrder(), and getOrder().

Here is the call graph for this function:

void OA::AddressOf::output ( IRHandlesIRInterface ir  )  [virtual]

Reimplemented from OA::RefOp.

Definition at line 442 of file MemRefExpr.cpp.

References OA::Annotation::sOutBuild.

virtual std::string OA::AddressOf::typeString (  )  [inline, virtual]

Reimplemented from OA::RefOp.

Definition at line 460 of file MemRefExpr.hpp.


Member Data Documentation

const int OA::AddressOf::sOrder = 350 [static, private]

Reimplemented from OA::MemRefExpr.

Definition at line 498 of file MemRefExpr.hpp.

Referenced by getOrder().


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

Generated on Fri Jul 24 05:33:27 2009 for OpenADFortTk (extended to Open64) by  doxygen 1.5.7.1