Classes | Public Member Functions | Protected Attributes

OA::ReachDefs::ReachDefsStandard Class Reference

#include <ReachDefsStandard.hpp>

Inheritance diagram for OA::ReachDefs::ReachDefsStandard:
Inheritance graph
[legend]
Collaboration diagram for OA::ReachDefs::ReachDefsStandard:
Collaboration graph
[legend]

List of all members.

Classes

class  ReachDefsStandardReachDefsIterator

Public Member Functions

 ReachDefsStandard (ProcHandle p)
 ~ReachDefsStandard ()
OA_ptr
< Interface::ReachDefsIterator
getReachDefsIterator (StmtHandle s)
OA_ptr
< Interface::ReachDefsIterator
getExitReachDefsIterator ()
void insertReachDef (StmtHandle s, StmtHandle reachDef)
 insert a reaching def stmt into the given stmts reachdef set
void insertExitReachDef (StmtHandle reachDef)
 insert exit reaching def
void output (IRHandlesIRInterface &pIR)
 will use OutputBuilder to generate output
void dump (std::ostream &os, OA_ptr< IRHandlesIRInterface > ir)

Protected Attributes

std::map< StmtHandle, OA_ptr
< std::set< StmtHandle > > > 
mReachDefs
OA_ptr< std::set< StmtHandle > > mExitReachDefs

Detailed Description

Definition at line 35 of file ReachDefsStandard.hpp.


Constructor & Destructor Documentation

OA::ReachDefs::ReachDefsStandard::ReachDefsStandard ( ProcHandle  p  )  [inline]

Definition at line 39 of file ReachDefsStandard.hpp.

References mExitReachDefs.

OA::ReachDefs::ReachDefsStandard::~ReachDefsStandard (  )  [inline]

Definition at line 43 of file ReachDefsStandard.hpp.


Member Function Documentation

void OA::ReachDefs::ReachDefsStandard::dump ( std::ostream &  os,
OA_ptr< IRHandlesIRInterface ir 
)

incomplete output of info for debugging, just lists stmts and associated set of stmts that are reaching defs for the given stmt

incomplete output of info for debugging, just lists stmts and associated set of stmts that are reaching defs for the given

Definition at line 93 of file ReachDefsStandard.cpp.

OA_ptr< Interface::ReachDefsIterator > OA::ReachDefs::ReachDefsStandard::getExitReachDefsIterator (  ) 

Return an iterator over reaching definitions that reach the exit node in the procedure

Definition at line 35 of file ReachDefsStandard.cpp.

OA_ptr< Interface::ReachDefsIterator > OA::ReachDefs::ReachDefsStandard::getReachDefsIterator ( StmtHandle  s  ) 

Return an iterator that will iterate over the set of reaching defs for the stmt

Definition at line 21 of file ReachDefsStandard.cpp.

void OA::ReachDefs::ReachDefsStandard::insertExitReachDef ( StmtHandle  reachDef  )  [inline]

insert exit reaching def

Definition at line 66 of file ReachDefsStandard.hpp.

References mExitReachDefs.

void OA::ReachDefs::ReachDefsStandard::insertReachDef ( StmtHandle  s,
StmtHandle  reachDef 
) [inline]

insert a reaching def stmt into the given stmts reachdef set

Definition at line 58 of file ReachDefsStandard.hpp.

References mReachDefs.

void OA::ReachDefs::ReachDefsStandard::output ( IRHandlesIRInterface pIR  )  [virtual]

will use OutputBuilder to generate output

Implements OA::Annotation.

Reimplemented in OA::ReachDefsOverwrite::ReachDefsOverwriteStandard.

Definition at line 42 of file ReachDefsStandard.cpp.


Member Data Documentation

Definition at line 87 of file ReachDefsStandard.hpp.

Referenced by insertExitReachDef(), and ReachDefsStandard().

Definition at line 86 of file ReachDefsStandard.hpp.

Referenced by insertReachDef().


The documentation for this class was generated from the following files: