#include <DefUseAnalysis.h>
|
| | DefUseAnalysis (SgProject *proj) |
| |
| virtual | ~DefUseAnalysis () |
| |
| std::map< SgNode *, multitype > | getDefMap () |
| |
| std::map< SgNode *, multitype > | getUseMap () |
| |
| void | setMaps (std::map< SgNode *, multitype > def, std::map< SgNode *, multitype > use) |
| |
| int | run () |
| | Run the DFA analysis without debugging. More...
|
| |
| int | run (bool debug) |
| |
| multitype | getDefMultiMapFor (SgNode *node) |
| | get the Definition multimap of a specific SgNode. More...
|
| |
| multitype | getUseMultiMapFor (SgNode *node) |
| | get the Usage multimap of a specific SgNode. More...
|
| |
| std::vector< SgNode * > | getAnyFor (const multitype *mul, SgInitializedName *initName) |
| |
| std::vector< SgNode * > | getDefFor (SgNode *node, SgInitializedName *initName) |
| | get the vector of defining nodes for a specific node and a initializedName. More...
|
| |
| std::vector< SgNode * > | getUseFor (SgNode *node, SgInitializedName *initName) |
| | get the vector of usage nodes for a specific node and a initializedName. More...
|
| |
| bool | isNodeGlobalVariable (SgInitializedName *node) |
| | return whether a node is a global node More...
|
| |
| std::vector< SgInitializedName * > | getGlobalVariables () |
| |
| int | start_traversal_of_one_function (SgFunctionDefinition *proc) |
| |
| bool | searchMap (SgNode *node) |
| |
| int | getDefSize () |
| |
| int | getUseSize () |
| |
| void | printMultiMap (const multitype *type) |
| |
| void | printDefMap () |
| |
| void | printUseMap () |
| |
| bool | addID (SgNode *sgNode) |
| |
| void | addDefElement (SgNode *sgNode, SgInitializedName *initName, SgNode *defNode) |
| |
| void | addUseElement (SgNode *sgNode, SgInitializedName *initName, SgNode *defNode) |
| |
| void | replaceElement (SgNode *sgNode, SgInitializedName *initName) |
| |
| void | mapDefUnion (SgNode *before, SgNode *other, SgNode *current) |
| |
| void | mapUseUnion (SgNode *before, SgNode *other, SgNode *current) |
| |
| void | clearUseOfElement (SgNode *sgNode, SgInitializedName *initName) |
| |
| int | getIntForSgNode (SgNode *node) |
| |
| void | dfaToDOT () |
| |
| void | flush () |
| |
| void | flushHelp () |
| |
| void | disableVisualization () |
| |
| void | flushDefuse () |
| |
| | DFAnalysis () |
| |
| virtual | ~DFAnalysis () |
| |
Definition at line 59 of file DefUseAnalysis.h.
| DefUseAnalysis::DefUseAnalysis |
( |
SgProject * |
proj) | |
|
|
inline |
| virtual DefUseAnalysis::~DefUseAnalysis |
( |
) | |
|
|
inlinevirtual |
| void DefUseAnalysis::find_all_global_variables |
( |
) | |
|
|
private |
| bool DefUseAnalysis::start_traversal_of_functions |
( |
) | |
|
|
private |
| bool DefUseAnalysis::searchVizzMap |
( |
SgNode * |
node) | |
|
|
private |
| std::string DefUseAnalysis::getInitName |
( |
SgNode * |
sgNode) | |
|
|
private |
| void DefUseAnalysis::printAnyMap |
( |
tabletype * |
tabl) | |
|
|
private |
| int DefUseAnalysis::run |
( |
) | |
|
|
virtual |
Run the DFA analysis without debugging.
Implements DFAnalysis.
| int DefUseAnalysis::run |
( |
bool |
debug) | |
|
|
virtual |
get the vector of defining nodes for a specific node and a initializedName.
Implements DFAnalysis.
get the vector of usage nodes for a specific node and a initializedName.
Implements DFAnalysis.
return whether a node is a global node
Implements DFAnalysis.
| bool DefUseAnalysis::searchMap |
( |
SgNode * |
node) | |
|
| int DefUseAnalysis::getDefSize |
( |
) | |
|
|
virtual |
| int DefUseAnalysis::getUseSize |
( |
) | |
|
|
virtual |
| void DefUseAnalysis::printMultiMap |
( |
const multitype * |
type) | |
|
| void DefUseAnalysis::printDefMap |
( |
) | |
|
|
virtual |
| void DefUseAnalysis::printUseMap |
( |
) | |
|
|
virtual |
| bool DefUseAnalysis::addID |
( |
SgNode * |
sgNode) | |
|
| int DefUseAnalysis::getIntForSgNode |
( |
SgNode * |
node) | |
|
|
virtual |
| void DefUseAnalysis::dfaToDOT |
( |
) | |
|
|
virtual |
| void DefUseAnalysis::flush |
( |
) | |
|
|
inline |
| void DefUseAnalysis::flushHelp |
( |
) | |
|
|
inline |
| void DefUseAnalysis::disableVisualization |
( |
) | |
|
|
inline |
| void DefUseAnalysis::flushDefuse |
( |
) | |
|
|
inline |
| bool DefUseAnalysis::DEBUG_MODE |
|
private |
| bool DefUseAnalysis::DEBUG_MODE_EXTRA |
|
private |
| bool DefUseAnalysis::visualizationEnabled |
|
private |
| int DefUseAnalysis::sgNodeCounter |
|
staticprivate |
| int DefUseAnalysis::nrOfNodesVisited |
|
private |
The documentation for this class was generated from the following file: