Public Member Functions | Private Attributes | Static Private Attributes

OA::IdxExprAccess Class Reference

#include <MemRefExpr.hpp>

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

List of all members.

Public Member Functions

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

Private Attributes

MemRefHandle mhExpr

Static Private Attributes

static const int sOrder = 450

Detailed Description

The IdxExprAccess class indicates an array reference with an expression being used for an index.

I'm assuming that all index expressions are affine.

Definition at line 710 of file MemRefExpr.hpp.


Constructor & Destructor Documentation

OA::IdxExprAccess::IdxExprAccess ( MemRefType  mrType,
OA_ptr< MemRefExpr mre,
MemRefHandle  hExpr 
) [inline]

Definition at line 713 of file MemRefExpr.hpp.

References mhExpr.

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

copy constructor

Definition at line 721 of file MemRefExpr.hpp.

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

Definition at line 727 of file MemRefExpr.hpp.


Member Function Documentation

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

Reimplemented from OA::SubSetRef.

Definition at line 774 of file MemRefExpr.cpp.

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

return a ptr to a copy of self

Reimplemented from OA::SubSetRef.

Definition at line 778 of file MemRefExpr.cpp.

References OA::MemRefExprVisitor::visitIdxExprAccess().

Here is the call graph for this function:

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

Reimplemented from OA::SubSetRef.

Definition at line 844 of file MemRefExpr.cpp.

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

Reimplemented from OA::SubSetRef.

Definition at line 835 of file MemRefExpr.cpp.

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

Reimplemented from OA::SubSetRef.

Definition at line 826 of file MemRefExpr.cpp.

MemRefHandle OA::IdxExprAccess::getExpr (  )  [inline]

Definition at line 743 of file MemRefExpr.hpp.

References mhExpr.

Referenced by NotationGenerator::outputMemRefExpr().

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

Reimplemented from OA::SubSetRef.

Definition at line 767 of file MemRefExpr.hpp.

References sOrder.

bool OA::IdxExprAccess::isaIdxExprAccess (  )  [inline, virtual]

Reimplemented from OA::MemRefExpr.

Definition at line 737 of file MemRefExpr.hpp.

bool OA::IdxExprAccess::isSubClassOfSubSetRef (  )  [inline, virtual]

Reimplemented from OA::SubSetRef.

Definition at line 738 of file MemRefExpr.hpp.

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

an ordering for locations, needed for use within STL containers

Need consistent ordering.

Reimplemented from OA::SubSetRef.

Definition at line 786 of file MemRefExpr.cpp.

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

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

Reimplemented from OA::SubSetRef.

Definition at line 803 of file MemRefExpr.cpp.

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

Reimplemented from OA::SubSetRef.

Definition at line 819 of file MemRefExpr.cpp.

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

Reimplemented from OA::SubSetRef.

Definition at line 744 of file MemRefExpr.hpp.


Member Data Documentation

Definition at line 771 of file MemRefExpr.hpp.

Referenced by getExpr(), and IdxExprAccess().

const int OA::IdxExprAccess::sOrder = 450 [static, private]

Reimplemented from OA::SubSetRef.

Definition at line 770 of file MemRefExpr.hpp.

Referenced by getOrder().


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