Public Member Functions | Private Attributes

OA::Activity::InterDep Class Reference

#include <InterDep.hpp>

List of all members.

Public Member Functions

 InterDep ()
virtual ~InterDep ()
OA_ptr< Activity::DepStandardgetDepResults (ProcHandle proc)
 Returns dep results for the given procedure.
OA_ptr< DepDFSetgetDepForCall (ExprHandle call)
void dump (std::ostream &os, OA_ptr< IRHandlesIRInterface > ir)
 debugging output
void mapProcToDep (ProcHandle proc, OA_ptr< DepStandard > dep)
 attach DepStandard to procedure
void mapCallToDep (ExprHandle call, OA_ptr< DepDFSet > dep)
 attach Deps to a function call

Private Attributes

std::map< ProcHandle, OA_ptr
< DepStandard > > 
mProcToDepMap
std::map< ExprHandle, OA_ptr
< DepDFSet > > 
mCallToDepDFSet

Detailed Description

Definition at line 25 of file InterDep.hpp.


Constructor & Destructor Documentation

OA::Activity::InterDep::InterDep (  )  [inline]

Definition at line 27 of file InterDep.hpp.

virtual OA::Activity::InterDep::~InterDep (  )  [inline, virtual]

Definition at line 28 of file InterDep.hpp.


Member Function Documentation

void OA::Activity::InterDep::dump ( std::ostream &  os,
OA_ptr< IRHandlesIRInterface ir 
)

debugging output

Definition at line 47 of file InterDep.cpp.

References OA::OA_ptr< T >::dump(), mCallToDepDFSet, and mProcToDepMap.

Here is the call graph for this function:

OA_ptr< DepDFSet > OA::Activity::InterDep::getDepForCall ( ExprHandle  call  ) 

Returns a dep set for given proc call FIXME?: only used in ManagerDep, general client doesn't need this because will have Dep results per stmt in proc ManagerDep needs it by call because results for each procedure have been mapped to locations in caller

Definition at line 33 of file InterDep.cpp.

OA_ptr< Activity::DepStandard > OA::Activity::InterDep::getDepResults ( ProcHandle  proc  ) 

Returns dep results for the given procedure.

Definition at line 19 of file InterDep.cpp.

References mProcToDepMap.

void OA::Activity::InterDep::mapCallToDep ( ExprHandle  call,
OA_ptr< DepDFSet dep 
) [inline]

attach Deps to a function call

Definition at line 55 of file InterDep.hpp.

References mCallToDepDFSet.

void OA::Activity::InterDep::mapProcToDep ( ProcHandle  proc,
OA_ptr< DepStandard dep 
) [inline]

attach DepStandard to procedure

Definition at line 51 of file InterDep.hpp.

References mProcToDepMap.


Member Data Documentation

Definition at line 60 of file InterDep.hpp.

Referenced by dump(), and mapCallToDep().

Definition at line 59 of file InterDep.hpp.

Referenced by dump(), getDepResults(), and mapProcToDep().


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