ROSE
0.9.6a
|
#include <sgnAnalysis.h>
Public Types | |
enum | sgnLevels { uninitialized, bottom, eqZero, sgnKnown, top } |
enum | sgnStates { unknown, posZero, negZero } |
Public Member Functions | |
SgnLattice () | |
SgnLattice (const SgnLattice &that) | |
SgnLattice (long val) | |
void | initialize () |
Lattice * | copy () const |
void | copy (Lattice *that) |
bool | copyMod (Lattice *that_arg) |
bool | meetUpdate (Lattice *that) |
bool | operator== (Lattice *that) |
sgnStates | getSgnState () const |
sgnLevels | getLevel () const |
bool | setBot () |
bool | setEqZero () |
bool | setSgnKnown (sgnStates sgnState) |
bool | set (int val) |
bool | setTop () |
bool | plus (long increment) |
bool | plus (const SgnLattice &that) |
bool | minus (long increment) |
bool | minus (const SgnLattice &that) |
bool | negate () |
bool | multdiv (long multiplier) |
bool | multdiv (const SgnLattice &that) |
bool | complexOp (const SgnLattice &that) |
string | str (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 Lattice * | project (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 () |
virtual std::string | str (std::string indent="")=0 |
Private Attributes | |
sgnStates | sgnState |
sgnLevels | level |
Definition at line 19 of file sgnAnalysis.h.
Enumerator | |
---|---|
uninitialized | |
bottom | |
eqZero | |
sgnKnown | |
top |
Definition at line 24 of file sgnAnalysis.h.
Enumerator | |
---|---|
unknown | |
posZero | |
negZero |
Definition at line 37 of file sgnAnalysis.h.
|
inline |
Definition at line 55 of file sgnAnalysis.h.
References level, sgnState, uninitialized, and unknown.
|
inline |
Definition at line 61 of file sgnAnalysis.h.
|
inline |
|
inlinevirtual |
Implements Lattice.
Definition at line 79 of file sgnAnalysis.h.
References bottom, level, sgnState, uninitialized, and unknown.
bool SgnLattice::copyMod | ( | Lattice * | that_arg) |
sgnStates SgnLattice::getSgnState | ( | ) | const |
sgnLevels SgnLattice::getLevel | ( | ) | const |
bool SgnLattice::setBot | ( | ) |
bool SgnLattice::setEqZero | ( | ) |
bool SgnLattice::setSgnKnown | ( | sgnStates | sgnState) |
bool SgnLattice::set | ( | int | val) |
bool SgnLattice::setTop | ( | ) |
bool SgnLattice::plus | ( | long | increment) |
bool SgnLattice::plus | ( | const SgnLattice & | that) |
bool SgnLattice::minus | ( | long | increment) |
bool SgnLattice::minus | ( | const SgnLattice & | that) |
bool SgnLattice::negate | ( | ) |
bool SgnLattice::multdiv | ( | long | multiplier) |
bool SgnLattice::multdiv | ( | const SgnLattice & | that) |
bool SgnLattice::complexOp | ( | const SgnLattice & | that) |
string SgnLattice::str | ( | string | indent = "" ) |
|
private |
Definition at line 47 of file sgnAnalysis.h.
Referenced by initialize(), and SgnLattice().
|
private |
Definition at line 51 of file sgnAnalysis.h.
Referenced by initialize(), and SgnLattice().