ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CreateSliceSet.h
Go to the documentation of this file.
1 // #include "rose.h"
2 
3 #include "DependenceGraph.h"
4 #include <set>
5 
6 
8 {
9  public:
10  CreateSliceSet(SystemDependenceGraph *program,std::list<SgNode*> targets);
11  std::set<SgNode*> computeSliceSet();
12  std::set<SgNode*> computeSliceSet(SgNode * node);
13  protected:
15  std::list<SgNode*> sliceTargetNodes;
16  std::set<DependenceNode*> getSliceDepNodes(std::set <DependenceNode*> searchSet,std::set<DependenceGraph::EdgeType> allowedEdges);
17 };