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
CallGraphIRInterface.hpp
Go to the documentation of this file.
1
22
#ifndef CallGraphIRInterface_h
23
#define CallGraphIRInterface_h
24
25
//-----------------------------------------------------------------------------
26
// This file contains the abstract base classes for the IR interface.
27
//
28
// See the top level README for a description of the IRInterface and
29
// how to use it.
30
//-----------------------------------------------------------------------------
31
32
#include <iostream>
33
#include "
IRHandles.hpp
"
34
//#include "CFGIRInterface.hpp"
35
#include <
OpenAnalysis/MemRefExpr/MemRefExpr.hpp
>
36
37
namespace
OA {
38
namespace
CallGraph {
39
40
46
class
CallGraphIRInterface
:
public
virtual
IRHandlesIRInterface
{
47
public
:
48
CallGraphIRInterface
() { }
49
//virtual ~CFGIRInterface() = 0 ;
50
virtual
~CallGraphIRInterface
() {}
51
55
virtual
OA_ptr<IRStmtIterator>
getStmtIterator
(
ProcHandle
h) = 0;
56
58
virtual
OA_ptr<IRCallsiteIterator>
getCallsites
(
StmtHandle
h) = 0;
59
61
virtual
SymHandle
getProcSymHandle
(
ProcHandle
h) = 0;
62
66
virtual
OA_ptr<MemRefExpr>
getCallMemRefExpr
(
CallHandle
h) = 0;
67
68
};
69
70
71
}
// end of namespace CallGraph
72
}
// end of namespace OA
73
74
#endif
OpenAnalysis
src
OpenAnalysis
IRInterface
CallGraphIRInterface.hpp
Generated on Fri Mar 14 2014 04:23:10 for OpenADFortTk (including Open64 and OpenAnalysis references) by
1.8.4