#include <InterSideEffectStandard.hpp>


Definition at line 34 of file InterSideEffectStandard.hpp.
| OA::SideEffect::InterSideEffectStandard::InterSideEffectStandard | ( | ) |
Definition at line 27 of file InterSideEffectStandard.cpp.
References mDefaultSideEffect.
| OA::SideEffect::InterSideEffectStandard::~InterSideEffectStandard | ( | ) | [inline] |
Definition at line 39 of file InterSideEffectStandard.hpp.
| void OA::SideEffect::InterSideEffectStandard::dump | ( | std::ostream & | os, | |
| OA_ptr< IRHandlesIRInterface > | ir | |||
| ) | [virtual] |
Implements OA::SideEffect::InterSideEffectInterface.
Definition at line 514 of file InterSideEffectStandard.cpp.
References OA::OA_ptr< T >::dump(), getDEFIterator(), getKnownProcIterator(), getLDEFIterator(), getLMODIterator(), getLREFIterator(), getLUSEIterator(), getMODIterator(), getREFIterator(), getUSEIterator(), and mCallToSideEffectMap.

| OA_ptr< LocIterator > OA::SideEffect::InterSideEffectStandard::getDEFIterator | ( | ProcHandle | p | ) | [virtual] |
Return an iterator over all locations that are definitely modified within the given procedure or within a procedure called by the given procedure.
Implements OA::SideEffect::InterSideEffectInterface.
Definition at line 174 of file InterSideEffectStandard.cpp.
References mDefaultSideEffect, and mProcToSideEffectMap.
| OA_ptr< LocIterator > OA::SideEffect::InterSideEffectStandard::getDEFIterator | ( | CallHandle | call | ) | [virtual] |
Return an iterator over all locations that are definitely modified within the called procedure or within a procedure called by the called procedure.
Implements OA::SideEffect::InterSideEffectInterface.
Definition at line 92 of file InterSideEffectStandard.cpp.
References mCallToSideEffectMap, and mDefaultSideEffect.
Referenced by dump().
| OA_ptr< ProcIterator > OA::SideEffect::InterSideEffectStandard::getKnownProcIterator | ( | ) | [virtual] |
Return an iterator over all procedures for which interprocedural side effect information is available
Implements OA::SideEffect::InterSideEffectInterface.
Definition at line 34 of file InterSideEffectStandard.cpp.
References mProcToSideEffectMap.
Referenced by dump().
| OA_ptr< LocIterator > OA::SideEffect::InterSideEffectStandard::getLDEFIterator | ( | ProcHandle | p | ) | [virtual] |
Return an iterator over all locations that are definitely modified locally within the given procedure. Locations modified directly in the procedure and not by a function call in the procedure.
Implements OA::SideEffect::InterSideEffectInterface.
Definition at line 164 of file InterSideEffectStandard.cpp.
References mDefaultSideEffect, and mProcToSideEffectMap.
| OA_ptr< LocIterator > OA::SideEffect::InterSideEffectStandard::getLDEFIterator | ( | CallHandle | call | ) | [virtual] |
Return an iterator over all locations that are definitely modified locally within the called procedure. Locations modified directly in the procedure and not by a function call in the procedure.
Implements OA::SideEffect::InterSideEffectInterface.
Definition at line 82 of file InterSideEffectStandard.cpp.
References mCallToSideEffectMap, and mDefaultSideEffect.
Referenced by dump().
| OA_ptr< LocIterator > OA::SideEffect::InterSideEffectStandard::getLMODIterator | ( | ProcHandle | p | ) | [virtual] |
Return an iterator over all locations that are may be modified locally within the given procedure. Locations modified directly in the procedure and not by a function call in the procedure.
Implements OA::SideEffect::InterSideEffectInterface.
Definition at line 144 of file InterSideEffectStandard.cpp.
References mDefaultSideEffect, and mProcToSideEffectMap.
| OA_ptr< LocIterator > OA::SideEffect::InterSideEffectStandard::getLMODIterator | ( | CallHandle | call | ) | [virtual] |
Return an iterator over all locations that may be modified locally within the called procedure. Locations modified directly in the called procedure and not by a function call in the called procedure.
Implements OA::SideEffect::InterSideEffectInterface.
Definition at line 62 of file InterSideEffectStandard.cpp.
References mCallToSideEffectMap, and mDefaultSideEffect.
Referenced by dump().
| int OA::SideEffect::InterSideEffectStandard::getLocCount | ( | ProcHandle | proc | ) |
Return count of locations in all sets for given procedure.
Definition at line 346 of file InterSideEffectStandard.cpp.
References mProcToSideEffectMap.
| OA_ptr< LocIterator > OA::SideEffect::InterSideEffectStandard::getLREFIterator | ( | ProcHandle | p | ) | [virtual] |
Return an iterator over all locations that are used locally within the given procedure. Locations used directly in the procedure and not by a function call in the procedure.
Implements OA::SideEffect::InterSideEffectInterface.
Definition at line 204 of file InterSideEffectStandard.cpp.
References mDefaultSideEffect, and mProcToSideEffectMap.
| OA_ptr< LocIterator > OA::SideEffect::InterSideEffectStandard::getLREFIterator | ( | CallHandle | call | ) | [virtual] |
Return an iterator over all locations that are used locally within the called procedure. Locations used directly in the procedure and not by a function call in the procedure.
Implements OA::SideEffect::InterSideEffectInterface.
Definition at line 122 of file InterSideEffectStandard.cpp.
References mCallToSideEffectMap, and mDefaultSideEffect.
Referenced by dump().
| OA_ptr< LocIterator > OA::SideEffect::InterSideEffectStandard::getLUSEIterator | ( | ProcHandle | p | ) | [virtual] |
Return an iterator over all locations that are used locally within the given procedure before being definitely modified. Locations used directly in the procedure and not by a function call in the procedure.
Implements OA::SideEffect::InterSideEffectInterface.
Definition at line 184 of file InterSideEffectStandard.cpp.
References mDefaultSideEffect, and mProcToSideEffectMap.
| OA_ptr< LocIterator > OA::SideEffect::InterSideEffectStandard::getLUSEIterator | ( | CallHandle | call | ) | [virtual] |
Return an iterator over all locations that are used locally within the called procedure before being definitely modified. Locations used directly in the procedure and not by a function call in the procedure.
Implements OA::SideEffect::InterSideEffectInterface.
Definition at line 102 of file InterSideEffectStandard.cpp.
References mCallToSideEffectMap, and mDefaultSideEffect.
Referenced by dump().
| OA_ptr< LocIterator > OA::SideEffect::InterSideEffectStandard::getMODIterator | ( | ProcHandle | p | ) | [virtual] |
Return an iterator over all locations that are may be modified within the given procedure or within a procedure called by the given procedure.
Implements OA::SideEffect::InterSideEffectInterface.
Definition at line 154 of file InterSideEffectStandard.cpp.
References mDefaultSideEffect, and mProcToSideEffectMap.
| OA_ptr< LocIterator > OA::SideEffect::InterSideEffectStandard::getMODIterator | ( | CallHandle | call | ) | [virtual] |
Return an iterator over all locations that are may be modified within the called procedure or within a procedure called by the called procedure.
Implements OA::SideEffect::InterSideEffectInterface.
Definition at line 72 of file InterSideEffectStandard.cpp.
References mCallToSideEffectMap, and mDefaultSideEffect.
Referenced by dump().
| OA_ptr< LocIterator > OA::SideEffect::InterSideEffectStandard::getREFIterator | ( | ProcHandle | p | ) | [virtual] |
Return an iterator over all locations that are used within the given procedure or within a procedure called by the given procedure.
Implements OA::SideEffect::InterSideEffectInterface.
Definition at line 214 of file InterSideEffectStandard.cpp.
References mDefaultSideEffect, and mProcToSideEffectMap.
| OA_ptr< LocIterator > OA::SideEffect::InterSideEffectStandard::getREFIterator | ( | CallHandle | call | ) | [virtual] |
Return an iterator over all locations that are used within the called procedure or within a procedure called by the called procedure.
Implements OA::SideEffect::InterSideEffectInterface.
Definition at line 132 of file InterSideEffectStandard.cpp.
References mCallToSideEffectMap, and mDefaultSideEffect.
Referenced by dump().
| OA_ptr< OA::SideEffect::SideEffectStandard > OA::SideEffect::InterSideEffectStandard::getSideEffectResults | ( | ProcHandle | proc | ) |
Get the SideEffect information associated with the given procedure.
Definition at line 328 of file InterSideEffectStandard.cpp.
References mProcToSideEffectMap.
| OA_ptr< LocIterator > OA::SideEffect::InterSideEffectStandard::getUSEIterator | ( | ProcHandle | p | ) | [virtual] |
Return an iterator over all locations that may be used before being defined within the given procedure or within a procedure called by the given procedure.
Implements OA::SideEffect::InterSideEffectInterface.
Definition at line 194 of file InterSideEffectStandard.cpp.
References mDefaultSideEffect, and mProcToSideEffectMap.
| OA_ptr< LocIterator > OA::SideEffect::InterSideEffectStandard::getUSEIterator | ( | CallHandle | call | ) | [virtual] |
Return an iterator over all locations that may be used before being defined within the called procedure or within a procedure called by the called procedure.
Implements OA::SideEffect::InterSideEffectInterface.
Definition at line 112 of file InterSideEffectStandard.cpp.
References mCallToSideEffectMap, and mDefaultSideEffect.
Referenced by dump().
| void OA::SideEffect::InterSideEffectStandard::initCallSideEffect | ( | CallHandle | call | ) |
Initialize the information for a particular call to have all empty sets
Definition at line 399 of file InterSideEffectStandard.cpp.
References mCallToSideEffectMap.
| void OA::SideEffect::InterSideEffectStandard::insertDEF | ( | CallHandle | call, | |
| OA_ptr< Location > | loc | |||
| ) |
Insert a location into the DEF set for the given call.
Definition at line 432 of file InterSideEffectStandard.cpp.
References mCallToSideEffectMap.
| void OA::SideEffect::InterSideEffectStandard::insertLDEF | ( | CallHandle | call, | |
| OA_ptr< Location > | loc | |||
| ) |
Insert a location into the LDEF set for the given call.
Definition at line 426 of file InterSideEffectStandard.cpp.
References mCallToSideEffectMap.
| void OA::SideEffect::InterSideEffectStandard::insertLMOD | ( | CallHandle | call, | |
| OA_ptr< Location > | loc | |||
| ) |
Insert a location into the LMOD set for the given call.
Definition at line 414 of file InterSideEffectStandard.cpp.
References mCallToSideEffectMap.
| void OA::SideEffect::InterSideEffectStandard::insertLREF | ( | CallHandle | call, | |
| OA_ptr< Location > | loc | |||
| ) |
Insert a location into the LREF set for the given call.
Definition at line 450 of file InterSideEffectStandard.cpp.
References mCallToSideEffectMap.
| void OA::SideEffect::InterSideEffectStandard::insertLUSE | ( | CallHandle | call, | |
| OA_ptr< Location > | loc | |||
| ) |
Insert a location into the LUSE set for the given call.
Definition at line 438 of file InterSideEffectStandard.cpp.
References mCallToSideEffectMap.
| void OA::SideEffect::InterSideEffectStandard::insertMOD | ( | CallHandle | call, | |
| OA_ptr< Location > | loc | |||
| ) |
Insert a location into the MOD set for the given call.
Definition at line 420 of file InterSideEffectStandard.cpp.
References mCallToSideEffectMap.
| void OA::SideEffect::InterSideEffectStandard::insertREF | ( | CallHandle | call, | |
| OA_ptr< Location > | loc | |||
| ) |
Insert a location into the REF set for the given call.
Definition at line 456 of file InterSideEffectStandard.cpp.
References mCallToSideEffectMap.
| void OA::SideEffect::InterSideEffectStandard::insertUSE | ( | CallHandle | call, | |
| OA_ptr< Location > | loc | |||
| ) |
Insert a location into the USE set for the given call.
Definition at line 444 of file InterSideEffectStandard.cpp.
References mCallToSideEffectMap.
| void OA::SideEffect::InterSideEffectStandard::mapCallToSideEffect | ( | CallHandle | call, | |
| OA_ptr< OA::SideEffect::SideEffectStandard > | sideEffect | |||
| ) |
Associate the given call with the given intraprocedural SideEffect information
Definition at line 336 of file InterSideEffectStandard.cpp.
References OA::SideEffect::debug, OA::IRHandle::hval(), mCallToSideEffectMap, and OA::OA_ptr< T >::ptrEqual().

| void OA::SideEffect::InterSideEffectStandard::mapProcToSideEffect | ( | ProcHandle | proc, | |
| OA_ptr< OA::SideEffect::SideEffectStandard > | sideEffect | |||
| ) |
Associate the given procedure with the given intraprocedural SideEffect information
Definition at line 320 of file InterSideEffectStandard.cpp.
References mProcToSideEffectMap.
| void OA::SideEffect::InterSideEffectStandard::output | ( | OA::IRHandlesIRInterface & | ir | ) | [virtual] |
will use OutputBuilder to generate output
Implements OA::Annotation.
Definition at line 13 of file InterSideEffectStandard_output.cpp.
References mCallToSideEffectMap, mProcToSideEffectMap, and OA::Annotation::sOutBuild.
GENOUT typedef std::map<CallHandle,OA_ptr<OA::SideEffect::SideEffectStandard> > OA::SideEffect::InterSideEffectStandard::CallToSideEffectMap [private] |
Definition at line 211 of file InterSideEffectStandard.hpp.
Definition at line 217 of file InterSideEffectStandard.hpp.
Referenced by dump(), getDEFIterator(), getLDEFIterator(), getLMODIterator(), getLREFIterator(), getLUSEIterator(), getMODIterator(), getREFIterator(), getUSEIterator(), initCallSideEffect(), insertDEF(), insertLDEF(), insertLMOD(), insertLREF(), insertLUSE(), insertMOD(), insertREF(), insertUSE(), mapCallToSideEffect(), and output().
OA_ptr<OA::SideEffect::Interface> OA::SideEffect::InterSideEffectStandard::mDefaultSideEffect [private] |
Definition at line 220 of file InterSideEffectStandard.hpp.
Referenced by getDEFIterator(), getLDEFIterator(), getLMODIterator(), getLREFIterator(), getLUSEIterator(), getMODIterator(), getREFIterator(), getUSEIterator(), and InterSideEffectStandard().
Definition at line 214 of file InterSideEffectStandard.hpp.
Referenced by getDEFIterator(), getKnownProcIterator(), getLDEFIterator(), getLMODIterator(), getLocCount(), getLREFIterator(), getLUSEIterator(), getMODIterator(), getREFIterator(), getSideEffectResults(), getUSEIterator(), mapProcToSideEffect(), and output().
OUTPUT GENOUT typedef std::map<ProcHandle,OA_ptr<OA::SideEffect::SideEffectStandard> > OA::SideEffect::InterSideEffectStandard::ProcToSideEffectMap [private] |
Definition at line 209 of file InterSideEffectStandard.hpp.
1.6.1