OpenADFortTk (including Open64 and OpenAnalysis references)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
OA::Activity::VaryStandard Class Reference

#include <VaryStandard.hpp>

Collaboration diagram for OA::Activity::VaryStandard:
Collaboration graph

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 More...
 
void copyIntoOutVary (StmtHandle s, OA_ptr< DataFlow::LocDFSet > dfset)
 set the OutVary set for a statement More...
 
void copyIntoInVary (ExprHandle call, OA_ptr< DataFlow::LocDFSet > dfset)
 set the InVary set for a call More...
 
void dump (std::ostream &os, OA_ptr< IRHandlesIRInterface > ir)
 incomplete output of info for debugging More...
 

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::DataFlow::LocDFSet::clone(), 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::DataFlow::LocDFSet::clone(), 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::DataFlow::LocDFSet::dump(), 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 OA::DataFlow::LocDFSet::insert(), and mIndepLocSet.

Here is the call graph for this function:

Member Data Documentation

OA_ptr<DataFlow::LocDFSet> OA::Activity::VaryStandard::mIndepLocSet
private

Definition at line 79 of file VaryStandard.hpp.

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

std::map<ExprHandle,OA_ptr<DataFlow::LocDFSet> > OA::Activity::VaryStandard::mInVary
private

Definition at line 78 of file VaryStandard.hpp.

Referenced by copyIntoInVary(), and getInVarySet().

std::map<StmtHandle,OA_ptr<DataFlow::LocDFSet> > OA::Activity::VaryStandard::mOutVary
private

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: