aboutsummaryrefslogtreecommitdiff
path: root/gcc/analyzer/supergraph.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/analyzer/supergraph.h')
-rw-r--r--gcc/analyzer/supergraph.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/gcc/analyzer/supergraph.h b/gcc/analyzer/supergraph.h
index e9a5be2..f66058c 100644
--- a/gcc/analyzer/supergraph.h
+++ b/gcc/analyzer/supergraph.h
@@ -21,6 +21,13 @@ along with GCC; see the file COPYING3. If not see
#ifndef GCC_ANALYZER_SUPERGRAPH_H
#define GCC_ANALYZER_SUPERGRAPH_H
+#include "ordered-hash-map.h"
+#include "cfg.h"
+#include "basic-block.h"
+#include "gimple.h"
+#include "gimple-iterator.h"
+#include "digraph.h"
+
using namespace ana;
namespace ana {
@@ -605,7 +612,8 @@ class dot_annotator
}
};
-extern cgraph_edge *supergraph_call_edge (function *fun, gimple *stmt);
+extern cgraph_edge *supergraph_call_edge (function *fun, const gimple *stmt);
+extern function *get_ultimate_function_for_cgraph_edge (cgraph_edge *edge);
} // namespace ana