X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Flibfirm%2Firflag.h;h=541f30dfe948fa2858eea91cbcbed00c2c6f99ba;hb=d44b3844af84684de9b0213b77c175f80f8b84ee;hp=63e5f4252de48dad7ab15b0a843650baa7dcf7de;hpb=e0de495ee85f3abf9a9004a1af4bd81045590bc1;p=libfirm diff --git a/include/libfirm/irflag.h b/include/libfirm/irflag.h index 63e5f4252..541f30dfe 100644 --- a/include/libfirm/irflag.h +++ b/include/libfirm/irflag.h @@ -61,12 +61,19 @@ int get_optimize(void); /** Enables/Disables constant folding optimization. * * If opt_constant_folding == 1 perform - * - constant expression evaluation (2 + 5 ==> 7, 3 < 2 ==> false) + * constant expression evaluation (2 + 5 ==> 7, 3 < 2 ==> false) + * Default: opt_constant_folding == 1. + */ +void set_opt_constant_folding(int value); + +/** Enables/Disables algebraic simplifications. + * + * If opt_algebraic_simplification == 1 perform * - algebraic simplification (a * 0 ==> 0, a or a ==> a) * - simplification of tests ( !(a < b) ==> (a >= b)) * Default: opt_constant_folding == 1. */ -void set_opt_constant_folding(int value); +void set_opt_algebraic_simplification(int value); /** Enables/Disables common subexpression elimination. *