OpenADFortTk (including Open64 and OpenAnalysis references)
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
ManagerCallGraph.hpp
Go to the documentation of this file.
1
19
#ifndef ManagerCallGraph_H
20
#define ManagerCallGraph_H
21
22
//--------------------------------------------------------------------
23
// standard headers
24
#ifdef NO_STD_CHEADERS
25
# include <string.h>
26
#else
27
# include <cstring>
28
#endif
29
30
// STL headers
31
#include <list>
32
#include <set>
33
#include <map>
34
35
// OpenAnalysis headers
36
#include <
OpenAnalysis/Utils/OA_ptr.hpp
>
37
#include <
OpenAnalysis/Utils/Util.hpp
>
38
#include <
OpenAnalysis/Location/Locations.hpp
>
39
#include <
OpenAnalysis/CallGraph/CallGraph.hpp
>
40
#include <
OpenAnalysis/Alias/InterAliasInterface.hpp
>
41
#include <
OpenAnalysis/IRInterface/CallGraphIRInterface.hpp
>
42
43
namespace
OA {
44
namespace
CallGraph {
45
46
47
//--------------------------------------------------------------------
52
class
ManagerCallGraphStandard
{
//??? eventually public OA::AnnotationManager
53
public
:
54
ManagerCallGraphStandard
(
OA_ptr<CallGraphIRInterface>
_ir);
55
virtual
~ManagerCallGraphStandard
() {}
56
57
//??? don't think this guy need AQM, but will eventually have
58
//to have one so is standard with other AnnotationManagers
59
//what type of handle are we going to attach the CallGraph to?
60
virtual
OA_ptr<CallGraph>
61
performAnalysis
(
OA_ptr<IRProcIterator>
procIter,
62
OA_ptr<Alias::InterAliasInterface>
interAlias );
63
64
//-------------------------------------
65
// information access
66
//-------------------------------------
67
OA_ptr<CallGraphIRInterface>
getIRInterface
() {
return
mIR
; }
68
69
//------------------------------------------------------------------
70
// Exceptions
71
//------------------------------------------------------------------
79
private
:
80
81
//------------------------------------------------------------------
82
// Methods that build CallGraphStandard
83
//------------------------------------------------------------------
84
void
build_graph
(
OA_ptr<IRProcIterator>
funcIter);
85
86
private
:
87
OA_ptr<CallGraphIRInterface>
mIR
;
88
OA_ptr<CallGraph>
mCallGraph
;
89
OA_ptr<Alias::InterAliasInterface>
mInterAlias
;
90
91
};
92
//--------------------------------------------------------------------
93
94
}
// end of CallGraph namespace
95
}
// end of OA namespace
96
97
#endif
OpenAnalysis
src
OpenAnalysis
CallGraph
ManagerCallGraph.hpp
Generated on Fri Mar 14 2014 04:23:08 for OpenADFortTk (including Open64 and OpenAnalysis references) by
1.8.4