#include <include/exp.h>
Inheritance diagram for Const:

Definition at line 374 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 () |
| Const (Const &o) | |
| Const (Proc *p) | |
| Const (char *p) | |
| Const (double d) | |
| Const (ADDRESS a) | |
| |
| Const (QWord ll) | |
| Const (int i) | |
| virtual void | descendType (Type *parentType, bool &ch, Statement *s) |
| virtual Exp * | genConstraints (Exp *restrictTo) |
| ADDRESS | getAddr () |
| int | getConscript () |
| double | getFlt () |
| const char * | getFuncName () |
| int | getInt () |
| QWord | getLong () |
| char * | getStr () |
| Type * | getType () |
| virtual bool | match (const char *pattern, std::map< std::string, Exp * > &bindings) |
| virtual bool | operator *= (Exp &o) |
| virtual bool | operator< (const Exp &o) const |
| virtual bool | operator== (const Exp &o) const |
| virtual void | print (std::ostream &os, bool html=false) |
| void | printNoQuotes (std::ostream &os) |
| virtual void | printx (int ind) |
| void | setAddr (ADDRESS a) |
| void | setConscript (int cs) |
| void | setFlt (double d) |
| void | setInt (int i) |
| void | setLong (QWord ll) |
| void | setStr (char *p) |
| void | setType (Type *ty) |
Private Attributes | |
| int | conscript |
| Type * | type |
| union { | |
| ADDRESS a | |
| double d | |
| int i | |
| QWord ll | |
| char * p | |
| Proc * pp | |
| } | u |
Friends | |
| class | XMLProgParser |
|
|
Definition at line 53 of file exp.cpp. References u. Referenced by clone(). |
|
|
Definition at line 54 of file exp.cpp. References u. |
|
|
Definition at line 59 of file exp.cpp. References u. |
|
|
Definition at line 55 of file exp.cpp. References u. |
|
|
Definition at line 56 of file exp.cpp. References u. |
|
|
|
|
|
|
|
|
Implements Exp. Definition at line 3747 of file exp.cpp. References ExpModifier::postVisit(), and ExpModifier::preVisit(). |
|
|
Implements Exp. Definition at line 3650 of file exp.cpp. References ExpVisitor::visit(). |
|
|
Implements Exp. Definition at line 1079 of file exp.cpp. References Exp::op, operStrings, opFltConst, opFuncConst, opIntConst, opStrConst, and u. |
|
|
Reimplemented from Exp. Definition at line 994 of file dfa.cpp. References Exp::op, opFltConst, opFuncConst, opIntConst, opLongConst, opStrConst, Type::resolvesToVoid(), STD_SIZE, type, and u. Referenced by Unary::descendType(). |
|
|
Implements Exp. Definition at line 285 of file exp.cpp. References Const(). Referenced by ExpTest::testAccumulate(), ExpTest::testBinaries(), ExpTest::testCompare5(), ExpTest::testCompare6(), ExpTest::testFixSuccessor(), ExpTest::testIsAfpTerm(), ExpTest::testSearch1(), ExpTest::testSearch2(), ExpTest::testSearch3(), ExpTest::testSearchAll(), and ExpTest::testSimplifyUnary(). |
|
||||||||||||||||
|
Reimplemented from Exp. Definition at line 1176 of file dfa.cpp. References d, Type::meetWith(), Exp::op, opFltConst, opIntConst, opLongConst, Type::resolvesToFloat(), type, and u. Referenced by Unary::descendType(). |
|
|
Reimplemented from Exp. Definition at line 3173 of file exp.cpp. References match(), opEquals, opFalse, opFltConst, opIntConst, opLongConst, opStrConst, opTypeOf, result, and u. |
|
|
Definition at line 414 of file exp.h. References u. |
|
|
Definition at line 443 of file exp.h. References conscript. Referenced by ExpConstCaster::preVisit(). |
|
|
Definition at line 412 of file exp.h. References u. |
|
|
Definition at line 3549 of file exp.cpp. References u. |
|
|
Definition at line 410 of file exp.h. References u. Referenced by PentiumDecoder::decodeInstruction(), Unary::descendType(), findSwParams(), Exp::fixSuccessor(), Ternary::polySimplify(), and ExpCastInserter::postVisit(). |
|
|
Definition at line 411 of file exp.h. References u. |
|
|
Definition at line 413 of file exp.h. References u. |
|
|
Definition at line 425 of file exp.h. References type. Referenced by ExpCastInserter::postVisit(). |
|
||||||||||||
|
Reimplemented from Exp. Definition at line 1489 of file exp.cpp. References LOG, and Exp::match(). Referenced by genConstraints(). |
|
|
Implements Exp. Definition at line 511 of file exp.cpp. References Exp::getOper(), Exp::getSubExp1(), and opSubscript. |
|
|
Implements Exp. Definition at line 425 of file exp.cpp. References conscript, Exp::getOper(), LOG, Exp::op, operStrings, opFltConst, opIntConst, opStrConst, and u. |
|
|
Implements Exp. Definition at line 340 of file exp.cpp. References conscript, LOG, Exp::op, operStrings, opFltConst, opIntConst, opStrConst, opWild, opWildIntConst, opWildStrConst, and u. |
|
||||||||||||
|
Implements Exp. Definition at line 583 of file exp.cpp. References conscript, LOG, Exp::op, operStrings, opFltConst, opIntConst, opLongConst, opStrConst, Exp::setLexBegin(), Exp::setLexEnd(), and u. Referenced by printNoQuotes(), ExpTest::test99(), ExpTest::testFlt(), and UserProc::updateArguments(). |
|
|
Definition at line 615 of file exp.cpp. References Exp::op, opStrConst, print(), and u. |
|
|
Implements Exp. Definition at line 3788 of file exp.cpp. References conscript, operStrings, opFltConst, opFuncConst, opIntConst, opStrConst, and u. |
|
|
Definition at line 422 of file exp.h. References u. |
|
|
Definition at line 444 of file exp.h. References conscript. Referenced by SetConscripts::visit(). |
|
|
Definition at line 420 of file exp.h. References u. |
|
|
Definition at line 418 of file exp.h. References u. Referenced by PentiumFrontEnd::bumpRegisterAll(), PentiumDecoder::decodeInstruction(), Exp::fixSuccessor(), and StatementTest::testLocationSet(). |
|
|
Definition at line 419 of file exp.h. References u. |
|
|
Definition at line 421 of file exp.h. References u. |
|
|
Definition at line 426 of file exp.h. References type. |
|
|
Reimplemented from Exp. |
|
|
Definition at line 379 of file exp.h. Referenced by XMLProgParser::persistToXML(). |
|
|
Definition at line 386 of file exp.h. Referenced by Const(), getConscript(), operator<(), operator==(), XMLProgParser::persistToXML(), print(), printx(), and setConscript(). |
|
|
Definition at line 381 of file exp.h. Referenced by descendType(), and XMLProgParser::persistToXML(). |
|
|
Definition at line 376 of file exp.h. Referenced by XMLProgParser::persistToXML(). |
|
|
|
|
|
Definition at line 382 of file exp.h. Referenced by Const(), and XMLProgParser::persistToXML(). |
|
|
|
|
|
Definition at line 387 of file exp.h. Referenced by ascendType(), Const(), descendType(), getType(), and setType(). |
|
|
Referenced by appendDotFile(), ascendType(), Const(), descendType(), genConstraints(), getAddr(), getFlt(), getFuncName(), getInt(), getLong(), getStr(), operator<(), operator==(), XMLProgParser::persistToXML(), print(), printNoQuotes(), printx(), setAddr(), setFlt(), setInt(), setLong(), and setStr(). |
1.4.6