ImpRefStatement Class Reference

#include <include/statement.h>

Inheritance diagram for ImpRefStatement:

TypingStatement Statement List of all members.

Detailed Description

Definition at line 761 of file statement.h.

Public Member Functions

virtual bool accept (StmtPartModifier *)
virtual bool accept (StmtModifier *)
virtual bool accept (StmtExpVisitor *)
virtual bool accept (StmtVisitor *)
virtual Statementclone ()
virtual void generateCode (HLLCode *, BasicBlock *, int)
ExpgetAddressExp ()
TypegetType ()
 ImpRefStatement (Type *ty, Exp *a)
virtual bool isDefinition ()
void meetWith (Type *ty, bool &ch)
virtual void print (std::ostream &os, bool html=false)
virtual bool search (Exp *, Exp *&)
virtual bool searchAll (Exp *, std::list< Exp *, std::allocator< Exp * > > &)
virtual bool searchAndReplace (Exp *, Exp *, bool cc=false)
virtual void simplify ()
virtual bool usesExp (Exp *)

Private Attributes

ExpaddressExp


Constructor & Destructor Documentation

ImpRefStatement::ImpRefStatement Type ty,
Exp a
[inline]
 

Definition at line 765 of file statement.h.

References Statement::kind, and STMT_IMPREF.

Referenced by clone().


Member Function Documentation

bool ImpRefStatement::accept StmtPartModifier  )  [virtual]
 

Implements Statement.

Definition at line 4987 of file statement.cpp.

References Exp::accept(), addressExp, ExpModifier::clearMod(), ExpModifier::isMod(), LOG, StmtPartModifier::mod, and StmtPartModifier::visit().

bool ImpRefStatement::accept StmtModifier  )  [virtual]
 

Implements Statement.

Definition at line 4978 of file statement.cpp.

References Exp::accept(), addressExp, ExpModifier::clearMod(), ExpModifier::isMod(), LOG, StmtModifier::mod, and StmtModifier::visit().

bool ImpRefStatement::accept StmtExpVisitor  )  [virtual]
 

Implements Statement.

Definition at line 4970 of file statement.cpp.

References Exp::accept(), addressExp, StmtExpVisitor::ev, and StmtExpVisitor::visit().

bool ImpRefStatement::accept StmtVisitor  )  [virtual]
 

Implements Statement.

Definition at line 4967 of file statement.cpp.

References StmtVisitor::visit().

Statement * ImpRefStatement::clone  )  [virtual]
 

Implements Statement.

Definition at line 4964 of file statement.cpp.

References addressExp, Exp::clone(), Type::clone(), ImpRefStatement(), and TypingStatement::type.

virtual void ImpRefStatement::generateCode HLLCode ,
BasicBlock ,
int 
[inline, virtual]
 

Implements Statement.

Definition at line 783 of file statement.h.

Exp* ImpRefStatement::getAddressExp  )  [inline]
 

Definition at line 768 of file statement.h.

References addressExp.

Referenced by StmtConscriptSetter::visit().

Type* ImpRefStatement::getType  )  [inline]
 

Reimplemented from TypingStatement.

Definition at line 769 of file statement.h.

References TypingStatement::type.

virtual bool ImpRefStatement::isDefinition  )  [inline, virtual]
 

Implements Statement.

Definition at line 778 of file statement.h.

void ImpRefStatement::meetWith Type ty,
bool &  ch
 

Definition at line 4960 of file statement.cpp.

References Type::meetWith(), and TypingStatement::type.

void ImpRefStatement::print std::ostream &  os,
bool  html = false
[virtual]
 

Implements Statement.

Definition at line 4949 of file statement.cpp.

References addressExp, Statement::number, and TypingStatement::type.

bool ImpRefStatement::search Exp ,
Exp *& 
[virtual]
 

Implements Statement.

Definition at line 4996 of file statement.cpp.

References addressExp, NULL, result, and Exp::search().

Referenced by searchAll(), and searchAndReplace().

bool ImpRefStatement::searchAll Exp ,
std::list< Exp *, std::allocator< Exp * > > & 
[virtual]
 

Definition at line 5000 of file statement.cpp.

References addressExp, result, search(), and Exp::searchAll().

bool ImpRefStatement::searchAndReplace Exp ,
Exp ,
bool  cc = false
[virtual]
 

Implements Statement.

Definition at line 5003 of file statement.cpp.

References addressExp, search(), and Exp::searchReplaceAll().

void ImpRefStatement::simplify  )  [virtual]
 

Implements Statement.

Definition at line 5008 of file statement.cpp.

References addressExp, and Exp::simplify().

virtual bool ImpRefStatement::usesExp Exp  )  [inline, virtual]
 

Implements Statement.

Definition at line 779 of file statement.h.


Member Data Documentation

Exp* ImpRefStatement::addressExp [private]
 

Definition at line 762 of file statement.h.

Referenced by accept(), clone(), getAddressExp(), print(), search(), searchAll(), searchAndReplace(), and simplify().


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