#include <include/exp.h>
Inheritance diagram for Unary:
Definition at line 492 of file exp.h.
Public Member Functions | |
virtual Exp * | accept (ExpModifier *v) |
virtual bool | accept (ExpVisitor *v) |
virtual void | appendDotFile (std::ofstream &of) |
virtual Type * | ascendType () |
virtual Exp * | clone () |
virtual void | descendType (Type *parentType, bool &ch, Statement *s) |
void | doSearchChildren (Exp *search, std::list< Exp ** > &li, bool once) |
virtual Exp * | genConstraints (Exp *restrictTo) |
virtual int | getArity () |
Exp * | getSubExp1 () |
virtual bool | match (const char *pattern, std::map< std::string, Exp * > &bindings) |
virtual Exp * | match (Exp *pattern) |
virtual bool | operator *= (Exp &o) |
virtual bool | operator< (const Exp &o) const |
virtual bool | operator== (const Exp &o) const |
virtual Exp * | polySimplify (bool &bMod) |
virtual void | print (std::ostream &os, bool html=false) |
virtual void | printx (int ind) |
Exp *& | refSubExp1 () |
void | setSubExp1 (Exp *e) |
void | setSubExp1ND (Exp *e) |
Exp * | simplifyAddr () |
Exp * | simplifyArith () |
virtual Exp * | simplifyConstraint () |
Unary (Unary &o) | |
Unary (OPER op, Exp *e) | |
virtual | ~Unary () |
Protected Member Functions | |
Unary (OPER op) | |
Protected Attributes | |
Exp * | subExp1 |
Friends | |
class | XMLProgParser |
|
Definition at line 67 of file exp.cpp. References subExp1. Referenced by clone(), and RefExp::genConstraints(). |
|
Definition at line 73 of file exp.cpp. References subExp1. |
|
Definition at line 78 of file exp.cpp. References Exp::clone(), and subExp1. |
|
Definition at line 184 of file exp.cpp. References subExp1. |
|
Implements Exp. Reimplemented in Binary, Ternary, TypedExp, FlagDef, RefExp, and Location. Definition at line 3686 of file exp.cpp. References Exp::accept(), ExpModifier::postVisit(), ExpModifier::preVisit(), and subExp1. |
|
Implements Exp. Reimplemented in Binary, Ternary, TypedExp, FlagDef, RefExp, and Location. Definition at line 3595 of file exp.cpp. References Exp::accept(), subExp1, and ExpVisitor::visit(). |
|
Implements Exp. Reimplemented in Binary, Ternary, TypedExp, and FlagDef. Definition at line 1112 of file exp.cpp. References Exp::appendDotFile(), Exp::op, operStrings, and subExp1. |
|
Reimplemented from Exp. Reimplemented in Binary, Ternary, TypedExp, and RefExp. Definition at line 1042 of file dfa.cpp. References Exp::ascendType(), Type::asPointer(), PointerType::getPointsTo(), Exp::op, opAddrOf, opMemOf, Type::resolvesToPointer(), and subExp1. |
|
Implements Exp. Reimplemented in Binary, Ternary, TypedExp, RefExp, and Location. Definition at line 292 of file exp.cpp. References Exp::clone(), Exp::op, subExp1, and Unary(). |
|
Reimplemented from Exp. Reimplemented in Binary, Ternary, TypedExp, and RefExp. Definition at line 1200 of file dfa.cpp. References Const::ascendType(), Type::asCompound(), Type::asPointer(), DEBUG_TA, Const::descendType(), Exp::descendType(), Type::getCtype(), Const::getInt(), Exp::getOper(), Statement::getProc(), Proc::getProg(), Type::getSize(), Exp::getSubExp2(), Exp::isIntConst(), Exp::isLocation(), LOG, Prog::makeArrayType(), Exp::op, opMemOf, Type::resolvesToCompound(), Type::resolvesToPointer(), subExp1, and CompoundType::updateGenericMember(). |
|
Reimplemented from Exp. Reimplemented in Binary, and Ternary. Definition at line 1569 of file exp.cpp. References Exp::doSearch(), Exp::op, opInitValueOf, Exp::search(), and subExp1. |
|
Reimplemented from Exp. Reimplemented in Binary, Ternary, and RefExp. |
|
Reimplemented from Exp. |
|
|
Reimplemented from Exp. Reimplemented in Binary, Ternary, RefExp, and Location. Definition at line 1384 of file exp.cpp. References LOG, Exp::match(), Exp::op, opAddrOf, and subExp1. |
|
Reimplemented from Exp. Reimplemented in Binary, and RefExp. Definition at line 1276 of file exp.cpp. References Exp::getOper(), Exp::getSubExp1(), Exp::match(), Exp::op, and subExp1. Referenced by RefExp::match(). |
|
Implements Exp. Reimplemented in Binary, Ternary, TypedExp, and RefExp. Definition at line 516 of file exp.cpp. References Exp::getOper(), Exp::getSubExp1(), Exp::op, opAddrOf, opMemOf, opRegOf, opSubscript, opWild, opWildAddrOf, opWildMemOf, opWildRegOf, and subExp1. |
|
Implements Exp. Reimplemented in Binary, Ternary, TypedExp, and RefExp. Definition at line 449 of file exp.cpp. References Exp::getOper(), Exp::getSubExp1(), Exp::op, and subExp1. |
|
Implements Exp. Reimplemented in Binary, Ternary, TypedExp, and RefExp. Definition at line 357 of file exp.cpp. References Exp::getSubExp1(), Exp::op, opAddrOf, opMemOf, opRegOf, opWild, opWildAddrOf, opWildMemOf, opWildRegOf, and subExp1. |
|
Reimplemented from Exp. Reimplemented in Binary, Ternary, TypedExp, RefExp, and Location. Definition at line 1922 of file exp.cpp. References Exp::getOper(), getSubExp1(), Exp::getSubExp1(), opEquals, opGtr, opGtrEq, opGtrEqUns, opGtrUns, opLess, opLessEq, opLessEqUns, opLessUns, opLNot, opNot, opNotEqual, Exp::polySimplify(), Exp::setOper(), and subExp1. Referenced by Location::polySimplify(). |
|
Implements Exp. Reimplemented in Binary, Ternary, TypedExp, and RefExp. Definition at line 792 of file exp.cpp. References Exp::isIntConst(), Exp::isTemp(), Exp::op, opRegOf, and Exp::print(). Referenced by ExpTest::testUnaries(). |
|
Implements Exp. Reimplemented in Binary, Ternary, TypedExp, and RefExp. Definition at line 3768 of file exp.cpp. References child(), operStrings, and subExp1. |
|
Reimplemented from Exp. Definition at line 234 of file exp.cpp. References subExp1. |
|
Reimplemented from Exp. Definition at line 209 of file exp.cpp. References subExp1. Referenced by Binary::Binary(), and ExpCastInserter::postVisit(). |
|
Definition at line 525 of file exp.h. References subExp1. |
|
Reimplemented from Exp. Reimplemented in Binary, and Ternary. Definition at line 2944 of file exp.cpp. References getSubExp1(), Exp::isAddrOf(), opMemOf, and subExp1. |
|
Reimplemented from Exp. Reimplemented in Binary, and Ternary. Definition at line 1748 of file exp.cpp. References Exp::op, opAddrOf, opMemOf, opRegOf, opSubscript, Exp::simplifyArith(), and subExp1. |
|
Reimplemented from Exp. Reimplemented in Binary. Definition at line 3553 of file exp.cpp. References Exp::simplifyConstraint(), and subExp1. |
|
Reimplemented from Exp. Reimplemented in Binary, Ternary, TypedExp, FlagDef, RefExp, and Location. |
|