projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rework Block labels: They are entities now so we don't need a special symconst type...
[libfirm]
/
include
/
libfirm
/
iroptimize.h
diff --git
a/include/libfirm/iroptimize.h
b/include/libfirm/iroptimize.h
index
61103da
..
40ea9b8
100644
(file)
--- a/
include/libfirm/iroptimize.h
+++ b/
include/libfirm/iroptimize.h
@@
-590,11
+590,20
@@
void inline_leave_functions(unsigned maxsize, unsigned leavesize,
* Heuristic inliner. Calculates a benefice value for every call and inlines
* those calls with a value higher than the threshold.
*
* Heuristic inliner. Calculates a benefice value for every call and inlines
* those calls with a value higher than the threshold.
*
- *
@param maxsize
Do not inline any calls if a method has more than
+ *
@param maxsize
Do not inline any calls if a method has more than
* maxsize firm nodes. It may reach this limit by
* inlineing.
* @param threshold inlining threshold
*/
void inline_functions(unsigned maxsize, int inline_threshold);
* maxsize firm nodes. It may reach this limit by
* inlineing.
* @param threshold inlining threshold
*/
void inline_functions(unsigned maxsize, int inline_threshold);
+/**
+ * Combines congruent blocks into one.
+ *
+ * @param irg The IR-graph to optimize.
+ *
+ * @return non-zero if the graph was transformed
+ */
+int shape_blocks(ir_graph *irg);
+
#endif
#endif