Commit 9e43069c authored by Michael Beck's avatar Michael Beck
Browse files

New inliner:

 - use lists instead of sets
 - correctly handle multipli inline (fixed the "nodes are on wrong graph" problem)
 - BugFix: correctly detect arg_based nodes
 - can ignore runtime functions in leaf count

[r8331]
parent b43cc85c
This diff is collapsed.
......@@ -165,15 +165,19 @@ void inline_small_irgs(ir_graph *irg, int size);
*
* For a heuristic this inlineing uses firm node counts. It does
* not count auxiliary nodes as Proj, Tuple, End, Start, Id, Sync.
*
* @param maxsize Do not inline any calls if a method has more than
* maxsize firm nodes. It may reach this limit by
* inlineing.
* @param leavesize Inline leave functions if they have less than leavesize
* nodes.
* @param size Inline all function smaller than size.
* If the ignore_runtime flag is set, calls to functions marked with the
* mtp_property_runtime property are ignored.
*
* @param maxsize Do not inline any calls if a method has more than
* maxsize firm nodes. It may reach this limit by
* inlineing.
* @param leavesize Inline leave functions if they have less than leavesize
* nodes.
* @param size Inline all function smaller than size.
* @param ignore_runtime count a function only calling runtime functions as
* leave
*/
void inline_leave_functions(int maxsize, int leavesize, int size);
void inline_leave_functions(int maxsize, int leavesize, int size, int ignore_runtime);
/** Code Placement.
*
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment