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
bitvectorDataflow/ReachingDefinitionFacade.h
Go to the documentation of this file.
1
/*
2
* File: ReachingDefinitionFacade.h
3
* Author: rahman2
4
*
5
* Created on August 15, 2011, 3:55 PM
6
* This class uses Facade design pattern to provide an easy interface for the Reaching Definition
7
* Analysis. It hides the complex AstInterface, AliasAnalysis etc and provides a much easier and
8
* cleaner access to ReachingDefinition Analysis using SgNode.
9
* */
10
11
#include "
sage3basic.h
"
12
#include "
ReachingDefinition.h
"
13
#include <
DefUseChain.h
>
14
#include <AstInterface_ROSE.h>
15
16
#ifndef REACHINGDEFINITIONFACADE_H
17
#define REACHINGDEFINITIONFACADE_H
18
19
class
ReachingDefinitionFacade
{
20
21
SgFunctionDefinition
*
functionDefinition
;
22
DefaultDUchain
*
graph
;
23
24
public
:
25
ReachingDefinitionFacade
(
SgNode
* head);
26
void
run
();
27
DefaultDUchain
*
getGraph
() {
return
graph
; }
28
void
toDot
(std::string);
29
30
};
31
32
33
34
35
#endif
/* REACHINGDEFINITIONFACADE_H */
36
rose-edg4x
src
midend
programAnalysis
bitvectorDataflow
ReachingDefinitionFacade.h
Generated on Mon May 5 2014 17:29:25 for ROSE by
1.8.4