X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Flibfirm%2Firoptimize.h;h=0adf518edc8a43f634fef3db63070dfc5804eeea;hb=86bf49fa21cc460fcb4e5962308dcb6eac08e293;hp=793f8a42ebf3991afa17b1b036c7c316856002cc;hpb=d217f68a9e53ec6e800ae31ca3af8ed8b6f9ece9;p=libfirm diff --git a/include/libfirm/iroptimize.h b/include/libfirm/iroptimize.h index 793f8a42e..0adf518ed 100644 --- a/include/libfirm/iroptimize.h +++ b/include/libfirm/iroptimize.h @@ -753,8 +753,8 @@ FIRM_API ir_graph_pass_t *inline_small_irgs_pass(const char *name, int size); /** * Inlineing with a different heuristic than inline_small_irgs(). * - * Inlines leave functions. If inlining creates new leave - * function inlines these, too. (If g calls f, and f calls leave h, + * Inlines leaf functions. If inlining creates new leafs + * function inlines these, too. (If g calls f, and f calls leaf h, * h is first inlined in f and then f in g.) * * Then inlines all small functions (this is not recursive). @@ -767,32 +767,32 @@ FIRM_API ir_graph_pass_t *inline_small_irgs_pass(const char *name, int size); * @param maxsize Do not inline any calls if a method has more than * maxsize firm nodes. It may reach this limit by * inlining. - * @param leavesize Inline leave functions if they have less than leavesize + * @param leafsize Inline leaf functions if they have less than leafsize * nodes. * @param size Inline all function smaller than size. * @param ignore_runtime count a function only calling runtime functions as - * leave + * leaf */ -FIRM_API void inline_leave_functions(unsigned maxsize, unsigned leavesize, +FIRM_API void inline_leaf_functions(unsigned maxsize, unsigned leafsize, unsigned size, int ignore_runtime); /** - * Creates an ir_prog pass for inline_leave_functions(). + * Creates an ir_prog pass for inline_leaf_functions(). * * @param name the name of this pass or NULL * @param maxsize Do not inline any calls if a method has more than * maxsize firm nodes. It may reach this limit by * inlining. - * @param leavesize Inline leave functions if they have less than leavesize + * @param leafsize Inline leaf functions if they have less than leafsize * nodes. * @param size Inline all function smaller than size. * @param ignore_runtime count a function only calling runtime functions as - * leave + * leaf * * @return the newly created ir_prog pass */ -FIRM_API ir_prog_pass_t *inline_leave_functions_pass(const char *name, - unsigned maxsize, unsigned leavesize, unsigned size, +FIRM_API ir_prog_pass_t *inline_leaf_functions_pass(const char *name, + unsigned maxsize, unsigned leafsize, unsigned size, int ignore_runtime); /** pointer to an optimization function */ @@ -1076,7 +1076,7 @@ FIRM_API ir_value_classify_sign classify_value_sign(ir_node *n); FIRM_API ir_tarval *computed_value_Cmp_Confirm( const ir_node *cmp, ir_node *left, ir_node *right, ir_relation relation); -/** Type of callbacks for createing entities of the compiler library */ +/** Type of callbacks for creating entities of the compiler library */ typedef ir_entity *(*compilerlib_entity_creator_t)(ident *id, ir_type *mt); /**