Public Member Functions | Static Private Attributes

OA::UnknownRef Class Reference

#include <MemRefExpr.hpp>

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

List of all members.

Public Member Functions

 UnknownRef (MemRefType mrType)
 UnknownRef (UnknownRef &mre)
 copy constructor
 ~UnknownRef ()
void acceptVisitor (MemRefExprVisitor &pVisitor)
OA_ptr< MemRefExprclone ()
 return a ptr to a copy of self
bool isaUnknown ()
bool operator< (MemRefExpr &other)
 an ordering for locations, needed for use within STL containers
bool operator== (MemRefExpr &other)
void output (IRHandlesIRInterface &ir)
virtual std::string typeString ()
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 = 100000000

Detailed Description

An unknown memory reference has an unknown base. Examples include references involving involving arbitrary function calls, eg. *hello()

Definition at line 330 of file MemRefExpr.hpp.


Constructor & Destructor Documentation

OA::UnknownRef::UnknownRef ( MemRefType  mrType  )  [inline]

Definition at line 333 of file MemRefExpr.hpp.

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

copy constructor

Definition at line 337 of file MemRefExpr.hpp.

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

Definition at line 339 of file MemRefExpr.hpp.


Member Function Documentation

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

Implements OA::MemRefExpr.

Definition at line 263 of file MemRefExpr.cpp.

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

return a ptr to a copy of self

Implements OA::MemRefExpr.

Definition at line 268 of file MemRefExpr.cpp.

References OA::MemRefExprVisitor::visitUnknownRef().

Here is the call graph for this function:

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

Reimplemented from OA::MemRefExpr.

Definition at line 311 of file MemRefExpr.cpp.

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

Reimplemented from OA::MemRefExpr.

Definition at line 305 of file MemRefExpr.cpp.

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

Reimplemented from OA::MemRefExpr.

Definition at line 298 of file MemRefExpr.cpp.

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

Reimplemented from OA::MemRefExpr.

Definition at line 374 of file MemRefExpr.hpp.

References sOrder.

bool OA::UnknownRef::isaUnknown (  )  [inline, virtual]

Reimplemented from OA::MemRefExpr.

Definition at line 349 of file MemRefExpr.hpp.

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

an ordering for locations, needed for use within STL containers

Need consistent ordering.

Reimplemented from OA::MemRefExpr.

Definition at line 275 of file MemRefExpr.cpp.

bool OA::UnknownRef::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 284 of file MemRefExpr.cpp.

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

Reimplemented from OA::MemRefExpr.

Definition at line 290 of file MemRefExpr.cpp.

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

Reimplemented from OA::MemRefExpr.

Definition at line 365 of file MemRefExpr.hpp.


Member Data Documentation

const int OA::UnknownRef::sOrder = 100000000 [static, private]

Reimplemented from OA::MemRefExpr.

Definition at line 377 of file MemRefExpr.hpp.

Referenced by getOrder().


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