projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add basic optimizations based on vrp info
[libfirm]
/
ir
/
ir
/
irflag_t.def
diff --git
a/ir/ir/irflag_t.def
b/ir/ir/irflag_t.def
index
4dfc9c2
..
3b88631
100644
(file)
--- a/
ir/ir/irflag_t.def
+++ b/
ir/ir/irflag_t.def
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (C) 1995-200
7
University of Karlsruhe. All right reserved.
+ * Copyright (C) 1995-200
8
University of Karlsruhe. All right reserved.
*
* This file is part of libFirm.
*
*
* This file is part of libFirm.
*
@@
-20,13
+20,13
@@
/**
* @file
* @brief Definitions for optimisation flags
/**
* @file
* @brief Definitions for optimisation flags
- * @author Michael Beck
+ * @author Michael Beck
, Sebastian Hack
* @version $Id$
*/
/*
* We have 3 kinds of flags:
* @version $Id$
*/
/*
* We have 3 kinds of flags:
- * I_FLAGS are INTERNAL flags: The is only a public set_opt_<flag> function
+ * I_FLAGS are INTERNAL flags: The
re
is only a public set_opt_<flag> function
* E_FLAGS are EXTERNAL flags: Public get_opt_<flag> and set_opt_<flag> fucntions exists
* R_FLAGS are RUNNING flags: Use only internally in libfirm to indicate running states
*/
* E_FLAGS are EXTERNAL flags: Public get_opt_<flag> and set_opt_<flag> fucntions exists
* R_FLAGS are RUNNING flags: Use only internally in libfirm to indicate running states
*/
@@
-58,6
+58,12
@@
I_FLAG(control_flow_weak_simplification , 6, ON)
/** */
I_FLAG(control_flow_strong_simplification , 7, ON)
/** */
I_FLAG(control_flow_strong_simplification , 7, ON)
+/** Algebraic simplifications. */
+I_FLAG(algebraic_simplification , 8, ON)
+
+/** Use Global Null Pointer Test elimination. */
+I_FLAG(global_null_ptr_elimination , 10, ON)
+
/** Remove dynamic method dispatch. */
E_FLAG(dyn_meth_dispatch , 11, ON)
/** Remove dynamic method dispatch. */
E_FLAG(dyn_meth_dispatch , 11, ON)
@@
-66,14
+72,13
@@
E_FLAG(dyn_meth_dispatch , 11, ON)
*/
I_FLAG(normalize , 12, ON)
*/
I_FLAG(normalize , 12, ON)
-/** precise exception context */
-I_FLAG(precise_exc_context , 15, ON)
+I_FLAG(allow_conv_b , 13, ON)
-/**
Do Strength reduction
*/
-I_FLAG(
strength_red , 17, ON
)
+/**
precise exception context
*/
+I_FLAG(
precise_exc_context , 15, OFF
)
/** Optimize Fragile OPs */
/** Optimize Fragile OPs */
-I_FLAG(fragile_ops , 1
9
, OFF)
+I_FLAG(fragile_ops , 1
6
, OFF)
/** Optimize cast nodes. */
E_FLAG(optimize_class_casts , 21, ON)
/** Optimize cast nodes. */
E_FLAG(optimize_class_casts , 21, ON)
@@
-82,9
+87,6
@@
E_FLAG(suppress_downcast_optimization , 22, OFF)
/** Not really an optimization, removes Confirm nodes. */
I_FLAG(remove_confirm , 23, OFF)
/** Not really an optimization, removes Confirm nodes. */
I_FLAG(remove_confirm , 23, OFF)
-/** Scalar replacement. */
-I_FLAG(scalar_replacement , 24, ON)
-
/** Load and Store have only Null exceptions. */
I_FLAG(ldst_only_null_ptr_exceptions , 25, ON)
/** Load and Store have only Null exceptions. */
I_FLAG(ldst_only_null_ptr_exceptions , 25, ON)
@@
-104,6
+106,3
@@
I_FLAG(closed_world , 31, OFF)
/** This flag is set while the reassociation optimizations are running */
R_FLAG(reassoc , 0)
/** 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)