CallingConvention::StdC::PentiumSignature Class Reference

Inheritance diagram for CallingConvention::StdC::PentiumSignature:

Signature List of all members.

Detailed Description

Definition at line 114 of file signature.cpp.

Public Member Functions

virtual void addParameter (Type *type, const char *nam=NULL, Exp *e=NULL, const char *boundMax="")
virtual void addReturn (Type *type, Exp *e=NULL)
virtual bool argumentCompare (Assignment &a, Assignment &b)
virtual Signatureclone ()
virtual ExpgetArgumentExp (int n)
virtual callconv getConvention ()
virtual platform getPlatform ()
virtual ExpgetProven (Exp *left)
virtual int getStackRegister () throw (StackRegisterNotDefinedException)
virtual ExpgetStackWildcard ()
virtual bool isPreserved (Exp *e)
virtual bool isPromoted ()
virtual bool operator== (Signature &other)
 PentiumSignature (Signature &old)
 PentiumSignature (const char *nam)
virtual Signaturepromote (UserProc *p)
virtual bool returnCompare (Assignment &a, Assignment &b)
virtual void setLibraryDefines (StatementList *defs)
virtual ~PentiumSignature ()

Static Public Member Functions

static bool qualified (UserProc *p, Signature &candidate)


Constructor & Destructor Documentation

CallingConvention::StdC::PentiumSignature::PentiumSignature const char *  nam  ) 
 

Definition at line 476 of file signature.cpp.

References Signature::addReturn().

Referenced by clone().

CallingConvention::StdC::PentiumSignature::PentiumSignature Signature old  ) 
 

Definition at line 483 of file signature.cpp.

virtual CallingConvention::StdC::PentiumSignature::~PentiumSignature  )  [inline, virtual]
 

Definition at line 118 of file signature.cpp.


Member Function Documentation

void CallingConvention::StdC::PentiumSignature::addParameter Type type,
const char *  nam = NULL,
Exp e = NULL,
const char *  boundMax = ""
[virtual]
 

Reimplemented from Signature.

Definition at line 570 of file signature.cpp.

References Signature::addParameter(), getArgumentExp(), NULL, and Signature::params.

void CallingConvention::StdC::PentiumSignature::addReturn Type type,
Exp e = NULL
[virtual]
 

Reimplemented from Signature.

Definition at line 557 of file signature.cpp.

References Signature::addReturn(), Type::isFloat(), Type::isVoid(), NULL, and Location::regOf().

bool CallingConvention::StdC::PentiumSignature::argumentCompare Assignment a,
Assignment b
[virtual]
 

Reimplemented from Signature.

Definition at line 1920 of file signature.cpp.

References Assignment::getLeft(), and stackOffset().

Signature * CallingConvention::StdC::PentiumSignature::clone  )  [virtual]
 

Reimplemented from Signature.

Definition at line 488 of file signature.cpp.

References Type::clone(), cloneVec(), Signature::ellipsis, Signature::name, NULL, Signature::params, PentiumSignature(), Signature::preferedName, Signature::preferedParams, Signature::preferedReturn, Signature::rettype, Signature::returns, and Signature::unknown.

Exp * CallingConvention::StdC::PentiumSignature::getArgumentExp int  n  )  [virtual]
 

Reimplemented from Signature.

Definition at line 578 of file signature.cpp.

References Signature::getArgumentExp(), Location::memOf(), opPlus, Signature::params, and Location::regOf().

Referenced by addParameter().

virtual callconv CallingConvention::StdC::PentiumSignature::getConvention  )  [inline, virtual]
 

Reimplemented from Signature.

Definition at line 135 of file signature.cpp.

References CONV_C.

virtual platform CallingConvention::StdC::PentiumSignature::getPlatform  )  [inline, virtual]
 

Reimplemented from Signature.

Definition at line 134 of file signature.cpp.

References PLAT_PENTIUM.

Exp * CallingConvention::StdC::PentiumSignature::getProven Exp left  )  [virtual]
 

Reimplemented from Signature.

Definition at line 601 of file signature.cpp.

References Exp::getSubExp1(), Exp::isRegOfK(), opPlus, and Location::regOf().

virtual int CallingConvention::StdC::PentiumSignature::getStackRegister  )  throw (StackRegisterNotDefinedException) [inline, virtual]
 

Reimplemented from Signature.

Definition at line 129 of file signature.cpp.

Exp * CallingConvention::StdC::PentiumSignature::getStackWildcard  )  [virtual]
 

Reimplemented from Signature.

Definition at line 593 of file signature.cpp.

References Location::memOf(), opMinus, and opWild.

bool CallingConvention::StdC::PentiumSignature::isPreserved Exp e  )  [virtual]
 

Reimplemented from Signature.

Definition at line 614 of file signature.cpp.

References Exp::getSubExp1(), and Exp::isRegOfK().

virtual bool CallingConvention::StdC::PentiumSignature::isPromoted  )  [inline, virtual]
 

Reimplemented from Signature.

Definition at line 133 of file signature.cpp.

bool CallingConvention::StdC::PentiumSignature::operator== Signature other  )  [virtual]
 

Reimplemented from Signature.

Definition at line 504 of file signature.cpp.

References Signature::operator==().

Signature * CallingConvention::StdC::PentiumSignature::promote UserProc p  )  [virtual]
 

Reimplemented from Signature.

Definition at line 588 of file signature.cpp.

bool CallingConvention::StdC::PentiumSignature::qualified UserProc p,
Signature candidate
[static]
 

Definition at line 512 of file signature.cpp.

References StatementList::append(), UserProc::getCFG(), Prog::getFrontEndId(), Proc::getName(), Proc::getProg(), LOG, NULL, opPC, PLAT_PENTIUM, and VERBOSE.

Referenced by Signature::promote().

bool CallingConvention::StdC::PentiumSignature::returnCompare Assignment a,
Assignment b
[virtual]
 

Reimplemented from Signature.

Definition at line 1855 of file signature.cpp.

References Assignment::getLeft(), and Exp::isRegN().

void CallingConvention::StdC::PentiumSignature::setLibraryDefines StatementList defs  )  [virtual]
 

Reimplemented from Signature.

Definition at line 636 of file signature.cpp.

References Type::isFloat(), Location::regOf(), Signature::returns, and StatementList::size().


The documentation for this class was generated from the following file:
Generated on Tue Sep 19 21:18:48 2006 for Boomerang by  doxygen 1.4.6