projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- reserve necessary resources before collect phiprojs
[libfirm]
/
ir
/
ir
/
iropt_t.h
diff --git
a/ir/ir/iropt_t.h
b/ir/ir/iropt_t.h
index
745bde8
..
0345b73
100644
(file)
--- a/
ir/ir/iropt_t.h
+++ b/
ir/ir/iropt_t.h
@@
-83,6
+83,14
@@
ir_node *identify_remember(pset *value_table, ir_node *n);
/** Visit each node in the value table of a graph. */
void visit_all_identities(ir_graph *irg, irg_walk_func visit, void *env);
/** Visit each node in the value table of a graph. */
void visit_all_identities(ir_graph *irg, irg_walk_func visit, void *env);
+/**
+ * Normalize a node by putting constants (and operands with larger
+ * node index) on the right (operator side).
+ *
+ * @param n The node to normalize
+ */
+void ir_normalize_node(ir_node *n);
+
ir_node *optimize_node(ir_node *n);
ir_node *optimize_in_place_2(ir_node *n);
ir_node *optimize_node(ir_node *n);
ir_node *optimize_in_place_2(ir_node *n);