#include <ManagerAliasMapBasic.hpp>

Public Member Functions | |
| ManagerAliasMapBasic (OA_ptr< AliasIRInterface > _ir) | |
| ~ManagerAliasMapBasic () | |
| OA_ptr< Alias::AliasMap > | performAnalysis (ProcHandle proc) |
Private Attributes | |
| OA_ptr< AliasIRInterface > | mIR |
| ProcHandle | mProc |
The AnnotationManager for an AliasMap. Local var refs that have no overlapping location blocks (due to equivalences or unions for example) are mapped to their own entry in the AliasMap with only one possible location. All other memory references are mapped to the zeroth AliasMap entry which indicates that the locations they may reference are unknown. This class can build an AliasMap, (eventually) read one in from a file, and write one out to a file.
Definition at line 43 of file ManagerAliasMapBasic.hpp.
| OA::Alias::ManagerAliasMapBasic::ManagerAliasMapBasic | ( | OA_ptr< AliasIRInterface > | _ir | ) | [inline] |
Definition at line 45 of file ManagerAliasMapBasic.hpp.
| OA::Alias::ManagerAliasMapBasic::~ManagerAliasMapBasic | ( | ) | [inline] |
Definition at line 46 of file ManagerAliasMapBasic.hpp.
| OA_ptr< Alias::AliasMap > OA::Alias::ManagerAliasMapBasic::performAnalysis | ( | ProcHandle | proc | ) |
Definition at line 81 of file ManagerAliasMapBasic.cpp.
References OA::OA_ptr< T >::convert(), OA::Alias::debug, OA::OA_ptr< T >::dump(), mIR, OA::Alias::CreateLocationVisitor::mLoc, mProc, OA_DEBUG_CTRL_MACRO, OA::OA_ptr< T >::ptrEqual(), and OA::Alias::AliasMap::SET_ID_NONE.

do a trivial map of mre to loc if possible (no addressTaken and no dereferencing), otherwise return NULL
Definition at line 66 of file ManagerAliasMapBasic.hpp.
Referenced by performAnalysis().
Definition at line 67 of file ManagerAliasMapBasic.hpp.
Referenced by performAnalysis().
1.6.1