projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleanup iredges API a bit
[libfirm]
/
include
/
libfirm
/
ircgopt.h
diff --git
a/include/libfirm/ircgopt.h
b/include/libfirm/ircgopt.h
index
46c1e28
..
3158e1c
100644
(file)
--- a/
include/libfirm/ircgopt.h
+++ b/
include/libfirm/ircgopt.h
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (C) 1995-20
08
University of Karlsruhe. All right reserved.
+ * Copyright (C) 1995-20
11
University of Karlsruhe. All right reserved.
*
* This file is part of libFirm.
*
*
* This file is part of libFirm.
*
@@
-23,16
+23,17
@@
* @author Hubert Schmid
* @date 09.06.2002
* @version $Id$
* @author Hubert Schmid
* @date 09.06.2002
* @version $Id$
- * @summary
- * (TODO: translate to english)
- * Entfernen von nicht erreichbaren (aufrufbaren) Methoden. Die Menge
- * der nicht erreichbaren Methoden wird aus der Abschätzung der
- * Aufrufrelation bestimmt.
+ * @brief
+ * Removal of unreachable methods. The set of unreachable methods is computed
+ * by the callgraph.
*/
#ifndef FIRM_IR_ICGOPT_H
#define FIRM_IR_ICGOPT_H
*/
#ifndef FIRM_IR_ICGOPT_H
#define FIRM_IR_ICGOPT_H
+#include <stddef.h>
+
#include "firm_types.h"
#include "firm_types.h"
+#include "begin.h"
/* Entfernt alle Methoden, die von den Methoden aus "keep_arr"
* (bezgl. der Abschaetzung get_Call_callee) nicht erreichbar sind. Die
/* Entfernt alle Methoden, die von den Methoden aus "keep_arr"
* (bezgl. der Abschaetzung get_Call_callee) nicht erreichbar sind. Die
@@
-41,7
+42,7
@@
* ueberschrieben.
*
* Frees all interprocedural loop information. */
* ueberschrieben.
*
* Frees all interprocedural loop information. */
-
void gc_irgs(in
t n_keep, ir_entity *keep_arr[]);
+
FIRM_API void gc_irgs(size_
t n_keep, ir_entity *keep_arr[]);
/**
* Creates an ir_prog pass for gc_irgs().
/**
* Creates an ir_prog pass for gc_irgs().
@@
-50,6
+51,8
@@
void gc_irgs(int n_keep, ir_entity *keep_arr[]);
*
* @return the newly created ir_graph pass
*/
*
* @return the newly created ir_graph pass
*/
-ir_prog_pass_t *gc_irgs_pass(const char *name);
+FIRM_API ir_prog_pass_t *gc_irgs_pass(const char *name);
+
+#include "end.h"
#endif
#endif