X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Flibfirm%2Firoptimize.h;h=40ea9b886df29fcbe485ee6e0e23bb8e4c7ee9da;hb=80d22a2b8ed15af53c7134a3025da89ccb1923ca;hp=61103da18d9b3bff575f9c0088118c4842c19e87;hpb=cd54f7ca7241d39efc69b33d103f91738641310a;p=libfirm diff --git a/include/libfirm/iroptimize.h b/include/libfirm/iroptimize.h index 61103da18..40ea9b886 100644 --- 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. * - * @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); +/** + * 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