ROSE
0.9.6a
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
EDefUse.h
Go to the documentation of this file.
1
#ifndef EDEFUSE_CLASS
2
#define EDEFUSE_CLASS
3
// #include "rose.h"
4
#include "
DFAnalysis.h
"
5
#include "
DefUseAnalysis.h
"
6
#include <vector>
7
class
EDefUse
8
{
9
public
:
10
EDefUse
(
SgProject
* proj);
11
protected
:
12
DefUseAnalysis
*
internalDefUse
;
13
public
:
14
int
run
(
bool
debug);
15
// get the vector of defining and usage nodes for a specific node and a initializedName
16
std::vector < SgNode* >
getDefFor
(
SgNode
* node,
SgInitializedName
* initName);
17
std::vector < SgNode* >
getUseFor
(
SgNode
* node,
SgInitializedName
* initName);
18
std::vector < std::pair < SgInitializedName* , SgNode* > >
getDefMultiMapFor
(
SgNode
* node);
19
// return whether a node is a global node
20
bool
isNodeGlobalVariable
(
SgInitializedName
* node);
21
//
22
};
23
#endif
rose-edg4x
src
midend
programAnalysis
staticInterproceduralSlicing
EDefUse.h
Generated on Mon May 5 2014 17:29:22 for ROSE by
1.8.4