Replaced set_irn_n(*, -1, *) and get_irn_n(*, -1) by new get_nodes_block()/set_nodes_...
[libfirm] / ir / ir / irflag_t.def
index 97d6ab1..dfc009a 100644 (file)
@@ -1,12 +1,27 @@
 /*
- * Project:     libFIRM
- * File name:   ir/ir/irflag_t.def
- * Purpose:     Flags to control optimizations, inline implementation.
- * Author:      Michael Beck
- * Created:
- * CVS-ID:      $Id$
- * Copyright:   (c) 1998-2004 Universität Karlsruhe
- * Licence:     This file protected by GPL -  GNU GENERAL PUBLIC LICENSE.
+ * Copyright (C) 1995-2007 University of Karlsruhe.  All right reserved.
+ *
+ * This file is part of libFirm.
+ *
+ * This file may be distributed and/or modified under the terms of the
+ * GNU General Public License version 2 as published by the Free Software
+ * Foundation and appearing in the file LICENSE.GPL included in the
+ * packaging of this file.
+ *
+ * Licensees holding valid libFirm Professional Edition licenses may use
+ * this file in accordance with the libFirm Commercial License.
+ * Agreement provided with the Software.
+ *
+ * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
+ * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE.
+ */
+
+/**
+ * @file
+ * @brief     Definitions for optimisation flags
+ * @author    Michael Beck
+ * @version   $Id$
  */
 
 /** Turn off all optimizations. */
@@ -74,30 +89,30 @@ I_FLAG(redundant_loadstore                , 18, ON)
 /** Optimize Fragile OPs */
 I_FLAG(fragile_ops                        , 19, OFF)
 
-/** If conversion. */
-I_FLAG(if_conversion                      , 20, OFF)
-
 /** Optimize function calls. */
-I_FLAG(function_call                      , 21, ON)
+I_FLAG(function_call                      , 20, ON)
 
 /** Optimize cast nodes. */
-E_FLAG(optimize_class_casts               , 22, ON)
-E_FLAG(suppress_downcast_optimization     , 23, OFF)
+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                     , 24, OFF)
+I_FLAG(remove_confirm                     , 23, OFF)
 
 /** Scalar replacement. */
-I_FLAG(scalar_replacement                 , 25, ON)
+I_FLAG(scalar_replacement                 , 24, ON)
 
 /** Load and Store have only Null exceptions. */
-I_FLAG(ldst_only_null_ptr_exceptions      , 26, ON)
+I_FLAG(ldst_only_null_ptr_exceptions      , 25, ON)
 
 /** Sel-based Null-pointer check elimination. */
-I_FLAG(sel_based_null_check_elim          , 27, OFF)
+I_FLAG(sel_based_null_check_elim          , 26, OFF)
 
 /** Automatically create Sync node during construction. */
-I_FLAG(auto_create_sync                   , 28, OFF)
+I_FLAG(auto_create_sync                   , 27, OFF)
+
+/** Enable Alias-analysis. */
+I_FLAG(alias_analysis                     , 28, ON)
 
 /** Closed world assumption. */
 I_FLAG(closed_world                       , 31, OFF)