Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages  

stmtLocation Class Reference

#include <location.h>

Inheritance diagram for stmtLocation::

Location PerClassHeap< PointersHeap > List of all members.

Public Methods

 stmtLocation (basicblockLocation *parent)
void setup_call (procNode *proc, bool is_context_insensitive)
 Make a procedure call. More...

procLocationremove_call ()
 Remove procedure. More...

basicblockLocationblock_location () const
int stmt_num () const
stmtNodestmt () const
procLocationcalls () const
bool is_present (const procNode *proc) const
virtual void adjust_depth ()
 Adjust tree depths. More...

virtual void print (ostream &o) const
virtual void print_path (ostream &o) const
virtual ~stmtLocation ()

Private Methods

void stmt_num (int num)
void stmt (stmtNode *s)

Private Attributes

int _stmt_num
stmtNode_stmt
procLocation_calls

Friends

class basicblockLocation
class procLocation

Constructor & Destructor Documentation

stmtLocation::stmtLocation basicblockLocation   parent
 

stmtLocation::~stmtLocation   [virtual]
 


Member Function Documentation

void stmtLocation::adjust_depth   [virtual]
 

Adjust tree depths.

Reimplemented from Location.

basicblockLocation* stmtLocation::block_location   const [inline]
 

procLocation* stmtLocation::calls   const [inline]
 

bool stmtLocation::is_present const procNode   proc const
 

void stmtLocation::print ostream &    o const [virtual]
 

Reimplemented from Location.

void stmtLocation::print_path ostream &    o const [virtual]
 

Reimplemented from Location.

procLocation * stmtLocation::remove_call  
 

Remove procedure.

Remove a procedure from it's callsite, adjusting the depths to reflect this.

void stmtLocation::setup_call procNode   proc,
bool    is_context_insensitive
 

Make a procedure call.

If the callsite doesn't already have a procLocation under it, then create one. If the procedure is context insensitive, then just create a dummy procLocation.

stmtNode* stmtLocation::stmt   const [inline]
 

void stmtLocation::stmt stmtNode   s [inline, private]
 

int stmtLocation::stmt_num   const [inline]
 

void stmtLocation::stmt_num int    num [inline, private]
 


Friends And Related Function Documentation

friend class basicblockLocation [friend]
 

friend class procLocation [friend]
 


Member Data Documentation

procLocation* stmtLocation::_calls [private]
 

stmtNode* stmtLocation::_stmt [private]
 

int stmtLocation::_stmt_num [private]
 


The documentation for this class was generated from the following files:
Generated on Thu Jan 10 12:06:34 2002 for C-Breeze by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001