#include <include/constraint.h>
Definition at line 27 of file constraint.h.
Public Types | |
typedef std::map< Exp *, Exp *, lessExpStar >::iterator | iterator |
Public Member Functions | |
iterator | begin () |
void | clear () |
void | constrain (Type *t1, Type *t2) |
void | constrain (Exp *loc, Type *t) |
void | constrain (Exp *loc1, Exp *loc2) |
iterator | end () |
iterator | find (Exp *e) |
void | insert (Exp *lhs, Exp *rhs) |
void | insert (Exp *term) |
bool | isFound (Exp *e) |
void | makeUnion (ConstraintMap &o) |
Exp *& | operator[] (Exp *e) |
void | print (std::ostream &os) |
char * | prints () |
int | size () |
void | substAlpha () |
void | substitute (ConstraintMap &other) |
Private Attributes | |
std::map< Exp *, Exp *, lessExpStar > | cmap |
|
Definition at line 30 of file constraint.h. |
|
Definition at line 43 of file constraint.h. References cmap. Referenced by Constraints::substIntoDisjuncts(), and Constraints::substIntoEquates(). |
|
Definition at line 41 of file constraint.h. References cmap. Referenced by Constraints::substIntoEquates(). |
|
Definition at line 57 of file constraint.h. References cmap. |
|
Definition at line 54 of file constraint.h. |
|
Definition at line 46 of file constraint.h. References cmap, and opTypeOf. Referenced by Constraints::unify(). |
|
Definition at line 44 of file constraint.h. References cmap. Referenced by Constraints::substIntoDisjuncts(), and Constraints::substIntoEquates(). |
|
Definition at line 35 of file constraint.h. References cmap. Referenced by Constraints::substIntoEquates(). |
|
Definition at line 52 of file constraint.h. References cmap. |
|
Definition at line 71 of file constraint.cpp. References cmap, and Exp::isEquality(). |
|
Definition at line 33 of file constraint.h. References cmap. |
|
Definition at line 48 of file constraint.cpp. References cmap, TypeVal::getType(), and TypeVal::setType(). Referenced by Constraints::doSolve(). |
|
Definition at line 37 of file constraint.h. References cmap. |
|
Definition at line 28 of file constraint.cpp. References cmap. Referenced by Constraints::print(), and prints(). |
|
Definition at line 40 of file constraint.cpp. References debug_buffer, DEBUG_BUFSIZE, and print(). Referenced by Constraints::doSolve(). |
|
Definition at line 39 of file constraint.h. References cmap. Referenced by Constraints::print(), and Constraints::substIntoEquates(). |
|
Definition at line 122 of file constraint.cpp. References cmap, and Type::isPointerToAlpha(). |
|
Definition at line 96 of file constraint.cpp. References cmap. |
|
Definition at line 28 of file constraint.h. Referenced by begin(), clear(), constrain(), end(), find(), insert(), isFound(), makeUnion(), operator[](), print(), size(), substAlpha(), and substitute(). |