fehler119 is C99
[libfirm] / include / libfirm / irgopt.h
index bc72f66..66a7212 100644 (file)
@@ -189,9 +189,12 @@ void inline_leave_functions(int maxsize, int leavesize, int size, int ignore_run
  * 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
+ *                     maxsize firm nodes.  It may reach this limit by
+ *                     inlineing.
  * @param threshold    inlining threshold
  */
-void inline_functions(unsigned inline_threshold);
+void inline_functions(int maxsize, int inline_threshold);
 
 /** Code Placement.
  *
@@ -217,10 +220,22 @@ void place_code(ir_graph *irg);
  *
  * A critical control flow edge is an edge from a block with several
  * control exits to a block with several control entries (See Muchnic
- * p. 407).
+ * p. 407). Exception edges are always ignored.
  *
- * @param irg IR Graph
+ * @param irg  IR Graph
  */
 void remove_critical_cf_edges(ir_graph *irg);
 
+/** Places an empty basic block on critical control flow edges thereby
+ * removing them.
+ *
+ * A critical control flow edge is an edge from a block with several
+ * control exits to a block with several control entries (See Muchnic
+ * p. 407).
+ *
+ * @param irg                     IR Graph
+ * @param ignore_exception_edges  if non-zero, exception edges will be ignored
+ */
+void remove_critical_cf_edges_ex(ir_graph *irg, int ignore_exception_edges);
+
 #endif