#include <include/visitor.h>
Inheritance diagram for ExpCastInserter:
Definition at line 653 of file visitor.h.
Public Member Functions | |
ExpCastInserter (UserProc *proc) | |
virtual Exp * | postVisit (Const *e) |
virtual Exp * | postVisit (Binary *e) |
virtual Exp * | postVisit (RefExp *e) |
virtual Exp * | preVisit (TypedExp *e, bool &recur) |
Static Public Member Functions | |
static void | checkMemofType (Exp *memof, Type *memofType) |
Private Attributes | |
UserProc * | proc |
|
|
|
Definition at line 906 of file visitor.cpp. References addr(), and Type::isCompatibleWith(). Referenced by StmtCastInserter::common(), and postVisit(). |
|
Reimplemented from ExpModifier. Definition at line 980 of file visitor.cpp. References Type::asInteger(), Const::getInt(), IntegerType::getSize(), Const::getType(), Exp::isIntConst(), Type::isInteger(), and IntegerType::isSigned(). |
|
Reimplemented from ExpModifier. Definition at line 951 of file visitor.cpp. References checkSignedness(), Exp::getOper(), Unary::getSubExp1(), Binary::getSubExp2(), opGtr, opGtrEq, opGtrEqUns, opGtrUns, opLess, opLessEq, opLessEqUns, opLessUns, opShiftR, opShiftRA, Unary::setSubExp1(), and Binary::setSubExp2(). |
|
Reimplemented from ExpModifier. Definition at line 918 of file visitor.cpp. References checkMemofType(), RefExp::getDef(), Unary::getSubExp1(), Statement::getTypeFor(), and Exp::isMemOf(). |
|
Reimplemented from ExpModifier. |
|
|