get_opt_alias_analysis(), set_opt_alias_analysis() added
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Sun, 7 Jan 2007 22:57:11 +0000 (22:57 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Sun, 7 Jan 2007 22:57:11 +0000 (22:57 +0000)
[r8498]

ir/ir/irflag.h
ir/ir/irflag_t.def

index acf4787..50fa9e7 100644 (file)
@@ -329,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
index 97d6ab1..39bdb62 100644 (file)
@@ -99,5 +99,8 @@ I_FLAG(sel_based_null_check_elim          , 27, OFF)
 /** Automatically create Sync node during construction. */
 I_FLAG(auto_create_sync                   , 28, OFF)
 
+/** Enable Alias-analysis. */
+I_FLAG(alias_analysis                     , 29, ON)
+
 /** Closed world assumption. */
 I_FLAG(closed_world                       , 31, OFF)