Public Member Functions | Private Attributes

OA::Activity::VaryStandard Class Reference

#include <VaryStandard.hpp>

Collaboration diagram for OA::Activity::VaryStandard:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 VaryStandard (ProcHandle p)
 ~VaryStandard ()
OA_ptr< LocIteratorgetIndepSetIterator ()
OA_ptr< LocIteratorgetOutVaryIterator (StmtHandle s)
OA_ptr< DataFlow::LocDFSetgetInVarySet (ExprHandle call)
void insertIndepLoc (OA_ptr< Location > loc)
 insert an independent location
void copyIntoOutVary (StmtHandle s, OA_ptr< DataFlow::LocDFSet > dfset)
 set the OutVary set for a statement
void copyIntoInVary (ExprHandle call, OA_ptr< DataFlow::LocDFSet > dfset)
 set the InVary set for a call
void dump (std::ostream &os, OA_ptr< IRHandlesIRInterface > ir)
 incomplete output of info for debugging

Private Attributes

std::map< StmtHandle, OA_ptr
< DataFlow::LocDFSet > > 
mOutVary
std::map< ExprHandle, OA_ptr
< DataFlow::LocDFSet > > 
mInVary
OA_ptr< DataFlow::LocDFSetmIndepLocSet

Detailed Description

Definition at line 34 of file VaryStandard.hpp.


Constructor & Destructor Documentation

OA::Activity::VaryStandard::VaryStandard ( ProcHandle  p  ) 

Definition at line 20 of file VaryStandard.cpp.

References mIndepLocSet.

OA::Activity::VaryStandard::~VaryStandard (  )  [inline]

Definition at line 37 of file VaryStandard.hpp.


Member Function Documentation

void OA::Activity::VaryStandard::copyIntoInVary ( ExprHandle  call,
OA_ptr< DataFlow::LocDFSet dfset 
)

set the InVary set for a call

Definition at line 69 of file VaryStandard.cpp.

References OA::OA_ptr< T >::convert(), and mInVary.

Here is the call graph for this function:

void OA::Activity::VaryStandard::copyIntoOutVary ( StmtHandle  s,
OA_ptr< DataFlow::LocDFSet dfset 
)

set the OutVary set for a statement

Definition at line 62 of file VaryStandard.cpp.

References OA::OA_ptr< T >::convert(), and mOutVary.

Here is the call graph for this function:

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

incomplete output of info for debugging

incomplete output of info for debugging, just lists stmts and associated set of OutVary locations

Definition at line 82 of file VaryStandard.cpp.

References OA::OA_ptr< T >::dump(), OA::IRHandle::hval(), mIndepLocSet, and mOutVary.

Here is the call graph for this function:

OA_ptr< LocIterator > OA::Activity::VaryStandard::getIndepSetIterator (  ) 

Return an iterator for set of independent locations the analysis calculated OutVary from

Definition at line 25 of file VaryStandard.cpp.

References mIndepLocSet.

OA_ptr< DataFlow::LocDFSet > OA::Activity::VaryStandard::getInVarySet ( ExprHandle  call  ) 

returns a location data flow set of locations that vary coming into the statement for the given call

Definition at line 42 of file VaryStandard.cpp.

References mInVary.

OA_ptr< LocIterator > OA::Activity::VaryStandard::getOutVaryIterator ( StmtHandle  s  ) 

Return an iterator that will iterate over the set of locations that are in OutVary set for stmt

Definition at line 32 of file VaryStandard.cpp.

References mOutVary.

void OA::Activity::VaryStandard::insertIndepLoc ( OA_ptr< Location loc  ) 

insert an independent location

Definition at line 57 of file VaryStandard.cpp.

References mIndepLocSet.


Member Data Documentation

Definition at line 79 of file VaryStandard.hpp.

Referenced by dump(), getIndepSetIterator(), insertIndepLoc(), and VaryStandard().

Definition at line 78 of file VaryStandard.hpp.

Referenced by copyIntoInVary(), and getInVarySet().

Definition at line 77 of file VaryStandard.hpp.

Referenced by copyIntoOutVary(), dump(), and getOutVaryIterator().


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