X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Firflag_t.def;h=7bf8a3899acc6d8975b2786c98118b9163d5823a;hb=1de3ff1c7f4478924c6348f774608e60b962d055;hp=1a1cf2939a8e3c0fd9ba671a967e702d54e0bfef;hpb=96130b31bc43d8d277cc36e70c44640bfb32be51;p=libfirm diff --git a/ir/ir/irflag_t.def b/ir/ir/irflag_t.def index 1a1cf2939..7bf8a3899 100644 --- a/ir/ir/irflag_t.def +++ b/ir/ir/irflag_t.def @@ -26,7 +26,7 @@ /* * We have 3 kinds of flags: - * I_FLAGS are INTERNAL flags: The is only a public set_opt_ function + * I_FLAGS are INTERNAL flags: There is only a public set_opt_ function * E_FLAGS are EXTERNAL flags: Public get_opt_ and set_opt_ fucntions exists * R_FLAGS are RUNNING flags: Use only internally in libfirm to indicate running states */ @@ -49,64 +49,34 @@ I_FLAG(constant_folding , 3, ON) /** Bad node propagation. */ I_FLAG(unreachable_code , 4, ON) -/** */ -I_FLAG(control_flow_straightening , 5, ON) - -/** */ -I_FLAG(control_flow_weak_simplification , 6, ON) - -/** */ -I_FLAG(control_flow_strong_simplification , 7, ON) - /** Algebraic simplifications. */ -I_FLAG(algebraic_simplification , 8, ON) - -/** Remove dynamic method dispatch. */ -E_FLAG(dyn_meth_dispatch , 11, ON) - -/** Transformations that normalize the firm representation - * as removing Ids and Tuples, useless Phis, SymConst(id) -> Const(entity) ... - */ -I_FLAG(normalize , 12, ON) - -/** precise exception context */ -I_FLAG(precise_exc_context , 15, ON) +I_FLAG(algebraic_simplification , 5, ON) -/** Do Strength reduction */ -I_FLAG(strength_red , 17, ON) +/** Use Global Null Pointer Test elimination. */ +I_FLAG(global_null_ptr_elimination , 6, ON) -/** Optimize Fragile OPs */ -I_FLAG(fragile_ops , 19, OFF) +/** Remove dynamic method dispatch. */ +E_FLAG(dyn_meth_dispatch , 7, ON) /** Optimize cast nodes. */ -E_FLAG(optimize_class_casts , 21, ON) -E_FLAG(suppress_downcast_optimization , 22, OFF) - -/** Not really an optimization, removes Confirm nodes. */ -I_FLAG(remove_confirm , 23, OFF) - -/** Scalar replacement. */ -I_FLAG(scalar_replacement , 24, ON) +E_FLAG(suppress_downcast_optimization , 8, OFF) /** Load and Store have only Null exceptions. */ -I_FLAG(ldst_only_null_ptr_exceptions , 25, ON) +I_FLAG(ldst_only_null_ptr_exceptions , 9, ON) /** Sel-based Null-pointer check elimination. */ -I_FLAG(sel_based_null_check_elim , 26, OFF) +I_FLAG(sel_based_null_check_elim , 10, OFF) /** Automatically create Sync node during construction. */ -I_FLAG(auto_create_sync , 27, OFF) +I_FLAG(auto_create_sync , 11, OFF) /** Enable Alias-analysis. */ -I_FLAG(alias_analysis , 28, ON) +I_FLAG(alias_analysis , 12, ON) /** Closed world assumption. */ -I_FLAG(closed_world , 31, OFF) +I_FLAG(closed_world , 13, OFF) /* -------------------- RUNNING flags ------------------- */ /** This flag is set while the reassociation optimizations are running */ R_FLAG(reassoc , 0) - -/** This flag is set while architecture dependent optimizations are running */ -R_FLAG(arch_dep , 0)