X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Firflag.h;h=50fa9e74d65b2933c3488255de641bfbbb723760;hb=cb3c768130f4d03efea8acdfb1a26795e6ef10a5;hp=c1a0ad667825851820bd7b6081acdbe6b2c70df5;hpb=464132f4d8840f7bb4228bfeef5484331bf50835;p=libfirm diff --git a/ir/ir/irflag.h b/ir/ir/irflag.h index c1a0ad667..50fa9e74d 100644 --- a/ir/ir/irflag.h +++ b/ir/ir/irflag.h @@ -235,14 +235,14 @@ void set_opt_fragile_ops(int value); void set_opt_if_conversion(int value); /** - * Enable/Disable real function call optimization. + * Enable/Disable function call optimization. * - * Real function call optimization detects "real functions" and - * allows the floating of Call nodes. A "real function" is one that + * Function call optimization detects const and pure functions and + * allows the CSE of Call nodes. A const function is one that * do only evaluate it's parameters and did not read or write memory - * to compute its results. + * to compute its results. Pure functions are allowed to read global memory. */ -void set_opt_real_function_call(int value); +void set_opt_function_call(int value); /** * Enable/Disable Confirm node removal during local optimization. @@ -286,6 +286,17 @@ void set_opt_ldst_only_null_ptr_exceptions(int value); */ void set_opt_sel_based_null_check_elim(int value); +/** + * Enable/Disable Automatic construction of Sync nodes during + * Firm construction. + * + * If this flags is set, sequential non-volatile Loads are automatically + * rearranged so that they can be executed in parallel by creating Sync nodes. + * + * This flags should be set for Java style languages. + */ +void set_opt_auto_create_sync(int value); + /** Enable/Disable normalizations of the firm representation. * * This flag guards transformations that normalize the Firm representation @@ -318,6 +329,12 @@ void set_opt_normalize (int value); */ void set_opt_precise_exc_context(int value); +/** Enable/Disable Alias analysis. + * + * If enabled, memory disambiguation by alias analysis is used. + */ +void set_opt_alias_analysis(int value); + /** Enable/Disable closed world assumption. * * If enabled, optimizations expect to know the "whole world", i.e. no