CallingConvention::StdC::PPCSignature Class Reference

Inheritance diagram for CallingConvention::StdC::PPCSignature:

Signature List of all members.

Detailed Description

Definition at line 179 of file signature.cpp.

Public Member Functions

virtual void addParameter (Type *type, const char *nam, Exp *e, const char *boundMax)
virtual void addReturn (Type *type, Exp *e=NULL)
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 isLocalOffsetPositive ()
virtual bool isPreserved (Exp *e)
virtual bool isPromoted ()
 PPCSignature (Signature &old)
 PPCSignature (const char *name)
virtual void setLibraryDefines (StatementList *defs)
virtual ~PPCSignature ()

Static Public Member Functions

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


Constructor & Destructor Documentation

CallingConvention::StdC::PPCSignature::PPCSignature const char *  name  ) 
 

Definition at line 656 of file signature.cpp.

References Signature::addReturn().

Referenced by clone().

CallingConvention::StdC::PPCSignature::PPCSignature Signature old  ) 
 

Definition at line 663 of file signature.cpp.

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

Definition at line 183 of file signature.cpp.


Member Function Documentation

void CallingConvention::StdC::PPCSignature::addParameter Type type,
const char *  nam,
Exp e,
const char *  boundMax
[virtual]
 

Reimplemented from Signature.

Definition at line 708 of file signature.cpp.

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

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

Reimplemented from Signature.

Definition at line 697 of file signature.cpp.

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

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

Reimplemented from Signature.

Definition at line 666 of file signature.cpp.

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

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

Reimplemented from Signature.

Definition at line 682 of file signature.cpp.

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

Referenced by addParameter().

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

Reimplemented from Signature.

Definition at line 197 of file signature.cpp.

References CONV_C.

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

Reimplemented from Signature.

Definition at line 196 of file signature.cpp.

References PLAT_PPC.

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

Reimplemented from Signature.

Definition at line 723 of file signature.cpp.

References Exp::isRegOfK().

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

Reimplemented from Signature.

Definition at line 190 of file signature.cpp.

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

Reimplemented from Signature.

Definition at line 715 of file signature.cpp.

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

virtual bool CallingConvention::StdC::PPCSignature::isLocalOffsetPositive  )  [inline, virtual]
 

Reimplemented from Signature.

Definition at line 194 of file signature.cpp.

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

Reimplemented from Signature.

Definition at line 734 of file signature.cpp.

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

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

Reimplemented from Signature.

Definition at line 195 of file signature.cpp.

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

Definition at line 930 of file signature.cpp.

References Prog::getFrontEndId(), Proc::getName(), Proc::getProg(), LOG, PLAT_PPC, and VERBOSE.

Referenced by Signature::promote().

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

Reimplemented from Signature.

Definition at line 743 of file signature.cpp.

References StatementList::append(), 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