ROSE
0.9.6a
|
#include <DefUseAnalysisAbstract.h>
Public Member Functions | |
DefUseAnalysisAbstract () | |
virtual | ~DefUseAnalysisAbstract () |
virtual FilteredCFGNode < IsDFAFilter > | run (SgFunctionDefinition *function, bool &abortme)=0 |
Public Member Functions inherited from Support | |
template<typename T > | |
std::string | ToString (T t) |
std::string | resBool (bool val) |
template<typename T > | |
bool | isContainedinVector (T filterNode, std::vector< T > worklist) |
std::string | getAppName (SgFunctionDeclaration *functionDeclaration) |
std::string | getFileNameString (std::string src) |
std::string | getFullName (SgFunctionDefinition *functionDef) |
Protected Types | |
typedef std::vector< std::pair < SgInitializedName *, SgNode * > > | multitype |
typedef std::map< SgNode *, multitype > | tabletype |
typedef FilteredCFGEdge < IsDFAFilter > | filteredCFGEdgeType |
typedef FilteredCFGNode < IsDFAFilter > | filteredCFGNodeType |
Protected Member Functions | |
bool | searchMulti (const multitype *multi, SgInitializedName *initName) |
bool | searchVector (std::vector< filteredCFGNodeType > done, filteredCFGNodeType cfgNode) |
SgInitializedName * | getInitName (SgNode *l_expr) |
SgExpression * | resolveCast (SgExpression *expr) |
bool | isDoubleExactEntry (const multitype *multi, SgInitializedName *name, SgNode *sgNode) |
bool | checkElementsForEquality (const multitype *t1, const multitype *t2) |
template<typename T > | |
SgNode * | getOtherInNode (T cfgNode, SgNode *oneNode) |
template<typename T > | |
SgNode * | getCFGPredNode (T cfgNode) |
template<typename T > | |
void | printCFGVector (std::vector< T > worklist) |
Protected Attributes | |
bool | DEBUG_MODE |
bool | DEBUG_MODE_EXTRA |
DefUseAnalysis * | dfa |
std::set< SgNode * > | doNotVisitMap |
std::map< SgNode *, bool > | nodeChangedMap |
Definition at line 21 of file DefUseAnalysisAbstract.h.
|
protected |
Definition at line 31 of file DefUseAnalysisAbstract.h.
|
protected |
Definition at line 32 of file DefUseAnalysisAbstract.h.
|
protected |
Definition at line 33 of file DefUseAnalysisAbstract.h.
|
protected |
Definition at line 34 of file DefUseAnalysisAbstract.h.
|
inline |
Definition at line 108 of file DefUseAnalysisAbstract.h.
References doNotVisitMap, and nodeChangedMap.
|
inlinevirtual |
Definition at line 112 of file DefUseAnalysisAbstract.h.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
inlineprotected |
Definition at line 58 of file DefUseAnalysisAbstract.h.
References DEBUG_MODE_EXTRA, and VirtualCFG::FilteredCFGEdge< FilterFunction >::source().
|
inlineprotected |
Definition at line 77 of file DefUseAnalysisAbstract.h.
References VirtualCFG::FilteredCFGEdge< FilterFunction >::source().
|
inlineprotected |
Definition at line 91 of file DefUseAnalysisAbstract.h.
|
pure virtual |
Implemented in LivenessAnalysis, and DefUseAnalysisPF.
|
protected |
Definition at line 24 of file DefUseAnalysisAbstract.h.
Referenced by DefUseAnalysisPF::DefUseAnalysisPF().
|
protected |
Definition at line 25 of file DefUseAnalysisAbstract.h.
Referenced by DefUseAnalysisPF::DefUseAnalysisPF(), and getOtherInNode().
|
protected |
Definition at line 28 of file DefUseAnalysisAbstract.h.
Referenced by DefUseAnalysisPF::DefUseAnalysisPF().
|
protected |
Definition at line 36 of file DefUseAnalysisAbstract.h.
Referenced by DefUseAnalysisAbstract().
|
protected |
Definition at line 37 of file DefUseAnalysisAbstract.h.
Referenced by DefUseAnalysisAbstract().