projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
less abreviations: rebitset_cpy => rebitset_copy
[libfirm]
/
include
/
libfirm
/
irgopt.h
diff --git
a/include/libfirm/irgopt.h
b/include/libfirm/irgopt.h
index
aeaf02c
..
dac94fd
100644
(file)
--- a/
include/libfirm/irgopt.h
+++ b/
include/libfirm/irgopt.h
@@
-39,20
+39,22
@@
void local_optimize_node(ir_node *n);
* @param irg The graph to be optimized.
*
* After applying local_optimize_graph() to a IR-graph, Bad nodes
* @param irg The graph to be optimized.
*
* After applying local_optimize_graph() to a IR-graph, Bad nodes
- * only occur
e
as predecessor of Block and Phi nodes.
+ * only occur as predecessor of Block and Phi nodes.
*/
void local_optimize_graph(ir_graph *irg);
/** Applies local optimizations (see iropt.h) to all nodes in the graph.
*
*/
void local_optimize_graph(ir_graph *irg);
/** Applies local optimizations (see iropt.h) to all nodes in the graph.
*
- * @param irg The graph to be optimized.
+ * After applying optimize_graph_df() to a IR-graph, Bad nodes
+ * only occur as predecessor of Block and Phi nodes.
*
*
- * After applying local_optimize_graph() to a IR-graph, Bad nodes
- * only occure as predecessor of Block and Phi nodes.
+ * This version uses fixpoint iteration.
+ *
+ * @param irg The graph to be optimized.
*
*
- *
This version used a fixpoint iteration.
+ *
@return non-zero if the optimization could be applied, 0 else
*/
*/
-
void
optimize_graph_df(ir_graph *irg);
+
int
optimize_graph_df(ir_graph *irg);
/** Performs dead node elimination by copying the ir graph to a new obstack.
*
/** Performs dead node elimination by copying the ir graph to a new obstack.
*