#include <include/type.h>
Inheritance diagram for IntegerType:

Definition at line 265 of file type.h.
Public Member Functions | |
| void | bumpSigned (int sg) |
| virtual Type * | clone () const |
| virtual const char * | getCtype (bool final=false) const |
| int | getSignedness () |
| virtual unsigned | getSize () const |
| virtual std::string | getTempName () const |
| IntegerType (int sz=STD_SIZE, int sign=0) | |
| virtual bool | isCompatible (Type *other, bool all) |
| virtual bool | isComplete () |
| virtual bool | isInteger () const |
| bool | isSigned () |
| bool | isUnsigned () |
| virtual Exp * | match (Type *pattern) |
| virtual Type * | meetWith (Type *other, bool &ch, bool bHighestPtr) |
| virtual Type * | mergeWith (Type *other) |
| virtual bool | operator< (const Type &other) const |
| virtual bool | operator== (const Type &other) const |
| void | setSigned (int sg) |
| virtual void | setSize (int sz) |
| virtual | ~IntegerType () |
Private Attributes | |
| int | signedness |
| unsigned | size |
Friends | |
| class | XMLProgParser |
|
||||||||||||
|
|
|
|
Definition at line 27 of file typeStubs.cpp. |
|
|
Definition at line 290 of file type.h. References signedness. |
|
|
Implements Type. Definition at line 28 of file typeStubs.cpp. References NULL. |
|
|
Implements Type. Definition at line 768 of file type.cpp. References signedness. Referenced by TypeTest::testTypeLong(). |
|
|
Definition at line 294 of file type.h. References signedness. Referenced by checkSignedness(), and mergeWith(). |
|
|
Implements Type. Definition at line 31 of file typeStubs.cpp. Referenced by mergeWith(), operator<<(), and ExpCastInserter::postVisit(). |
|
|
Reimplemented from Type. Definition at line 33 of file typeStubs.cpp. |
|
||||||||||||
|
Implements Type. Definition at line 1345 of file dfa.cpp. References Type::isCompatibleWith(), Type::resolvesToChar(), Type::resolvesToInteger(), Type::resolvesToSize(), Type::resolvesToUnion(), Type::resolvesToVoid(), and size. |
|
|
Reimplemented from Type. Definition at line 274 of file type.h. References signedness, and size. |
|
|
Reimplemented from Type. |
|
|
Definition at line 287 of file type.h. References signedness. Referenced by ExpCastInserter::postVisit(). |
|
|
Definition at line 288 of file type.h. References signedness. |
|
|
Reimplemented from Type. Definition at line 660 of file type.cpp. References Type::match(). |
|
||||||||||||||||
|
Implements Type. Definition at line 389 of file dfa.cpp. References Type::asInteger(), max(), Type::resolvesToInteger(), Type::resolvesToVoid(), signedness, and size. Referenced by DfaTest::testMeetInt(). |
|
|
Reimplemented from Type. Definition at line 1145 of file type.cpp. References Type::clone(), getSignedness(), getSize(), Type::isInteger(), NULL, setSigned(), setSize(), and signedness. |
|
|
Implements Type. Definition at line 30 of file typeStubs.cpp. |
|
|
Implements Type. Definition at line 29 of file typeStubs.cpp. |
|
|
Definition at line 292 of file type.h. References signedness. Referenced by checkSignedness(), mergeWith(), and DfaTest::testMeetInt(). |
|
|
Reimplemented from Type. Definition at line 285 of file type.h. References size. Referenced by mergeWith(). |
|
|
Reimplemented from Type. |
|
|
Definition at line 268 of file type.h. Referenced by bumpSigned(), getCtype(), getSignedness(), isComplete(), isSigned(), isUnsigned(), meetWith(), mergeWith(), XMLProgParser::persistToXML(), and setSigned(). |
|
|
Definition at line 267 of file type.h. Referenced by isCompatible(), isComplete(), meetWith(), XMLProgParser::persistToXML(), and setSize(). |
1.4.6