ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
nodeConstLattice Class Reference

#include <nodeConstAnalysis.h>

Inheritance diagram for nodeConstLattice:
Collaboration diagram for nodeConstLattice:

Public Member Functions

 nodeConstLattice ()
 
 nodeConstLattice (const nodeConstLattice &that)
 
void initialize ()
 
Latticecopy () const
 
void copy (Lattice *that)
 
bool meetUpdate (Lattice *that)
 
bool maxUpdate (nodeConstLattice &that)
 
bool increment (int val=1)
 
bool operator== (Lattice *that)
 
short getValConst () const
 
bool setToBottom ()
 
bool set (unsigned long valID)
 
bool setToTop ()
 
std::string str (std::string indent="")
 
- Public Member Functions inherited from FiniteLattice
bool finiteLattice ()
 Check if this lattice is finite or not. More...
 
- Public Member Functions inherited from Lattice
virtual void remapVars (const std::map< varID, varID > &varNameMap, const Function &newFunc)
 
virtual void incorporateVars (Lattice *that)
 
virtual Latticeproject (SgExpression *expr)
 
virtual bool unProject (SgExpression *expr, Lattice *exprState)
 
bool operator!= (Lattice *that)
 
bool operator== (Lattice &that)
 
bool operator!= (Lattice &that)
 
- Public Member Functions inherited from printable
virtual ~printable ()
 

Static Public Attributes

static const int uninitialized =0
 
static const int noAssign =bottom
 
static const int constVal =valKnown
 
static const int multVal =top
 

Private Attributes

unsigned long valID
 
short level
 

Static Private Attributes

static const int bottom =1
 
static const int valKnown =2
 
static const int top =3
 

Detailed Description

Definition at line 22 of file nodeConstAnalysis.h.

Constructor & Destructor Documentation

nodeConstLattice::nodeConstLattice ( )
inline

Definition at line 55 of file nodeConstAnalysis.h.

References level, uninitialized, and valID.

nodeConstLattice::nodeConstLattice ( const nodeConstLattice that)
inline

Definition at line 61 of file nodeConstAnalysis.h.

References level, and valID.

Member Function Documentation

void nodeConstLattice::initialize ( )
inlinevirtual

Implements Lattice.

Definition at line 68 of file nodeConstAnalysis.h.

References bottom, level, uninitialized, and valID.

Lattice* nodeConstLattice::copy ( ) const
virtual

Implements Lattice.

void nodeConstLattice::copy ( Lattice that)
virtual

Implements Lattice.

bool nodeConstLattice::meetUpdate ( Lattice that)
virtual

Implements Lattice.

bool nodeConstLattice::maxUpdate ( nodeConstLattice that)
bool nodeConstLattice::increment ( int  val = 1)
bool nodeConstLattice::operator== ( Lattice that)
virtual

Implements Lattice.

short nodeConstLattice::getValConst ( ) const
bool nodeConstLattice::setToBottom ( )
bool nodeConstLattice::set ( unsigned long  valID)
bool nodeConstLattice::setToTop ( )
std::string nodeConstLattice::str ( std::string  indent = "")
virtual

Implements printable.

Member Data Documentation

unsigned long nodeConstLattice::valID
private

Definition at line 26 of file nodeConstAnalysis.h.

Referenced by initialize(), and nodeConstLattice().

const int nodeConstLattice::uninitialized =0
static

Definition at line 31 of file nodeConstAnalysis.h.

Referenced by initialize(), and nodeConstLattice().

const int nodeConstLattice::bottom =1
staticprivate

Definition at line 36 of file nodeConstAnalysis.h.

Referenced by initialize().

const int nodeConstLattice::valKnown =2
staticprivate

Definition at line 39 of file nodeConstAnalysis.h.

const int nodeConstLattice::top =3
staticprivate

Definition at line 41 of file nodeConstAnalysis.h.

const int nodeConstLattice::noAssign =bottom
static

Definition at line 45 of file nodeConstAnalysis.h.

const int nodeConstLattice::constVal =valKnown
static

Definition at line 46 of file nodeConstAnalysis.h.

const int nodeConstLattice::multVal =top
static

Definition at line 47 of file nodeConstAnalysis.h.

short nodeConstLattice::level
private

Definition at line 51 of file nodeConstAnalysis.h.

Referenced by initialize(), and nodeConstLattice().


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