4 #include "genericDataflowCommon.h"
5 #include "VirtualCFGIterator.h"
6 #include "CallGraphTraverse.h"
18 varIDSet& getGlobalVars(
SgProject* project,
bool getCompilerGen=
false);
22 varIDSet& getGlobalArrays(
SgProject* project,
bool getCompilerGen=
false);
26 varIDSet& getGlobalScalars(
SgProject* project,
bool getCompilerGen=
false);
34 varIDSet& getLocalVars(
const Function& func,
bool getCompilerGen=
false);
37 varIDSet& getLocalArrays(
const Function& func,
bool getCompilerGen=
false);
40 varIDSet& getLocalScalars(
const Function& func,
bool getCompilerGen=
false);
47 void initFuncParams(
const Function& func,
bool getCompilerGen=
false);
50 varIDSet& getFuncParamVars(
const Function& func,
bool getCompilerGen=
false);
53 varIDSet& getFuncParamArrays(
const Function& func,
bool getCompilerGen=
false);
56 varIDSet& getFuncParamlScalars(
const Function& func,
bool getCompilerGen=
false);
63 varIDSet& getFuncRefVars(
const Function& func);
66 varIDSet& getFuncRefArrays(
const Function& func);
69 varIDSet& getFuncRefScalars(
const Function& func);
79 void getDeclaredVars(
SgNode* root,
bool getCompilerGen, varIDSet& declaredVars);
83 varIDSet arraysFilter(varIDSet& vars);
87 varIDSet scalarsFilter(varIDSet& vars);
This class represents the base class for all IR nodes within Sage III.
This class represents a source project, with a list of SgFile objects and global information about th...