aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-pass.h
diff options
context:
space:
mode:
authorDaniel Berlin <dberlin@gcc.gnu.org>2007-08-14 20:52:47 +0000
committerDaniel Berlin <dberlin@gcc.gnu.org>2007-08-14 20:52:47 +0000
commit7b0e48fb44b44241ae79e34a666edc87fdfbeb78 (patch)
tree162c2336093852966cecdacd8587d21a4e4868f9 /gcc/tree-pass.h
parentea2666ba5e7bd79860e585dd09092bbcb0dd23c9 (diff)
downloadgcc-7b0e48fb44b44241ae79e34a666edc87fdfbeb78.zip
gcc-7b0e48fb44b44241ae79e34a666edc87fdfbeb78.tar.gz
gcc-7b0e48fb44b44241ae79e34a666edc87fdfbeb78.tar.bz2
tree-pass.h (PROP_pta): Removed.
2007-08-14 Daniel Berlin <dberlin@dberlin.org> * tree-pass.h (PROP_pta): Removed. (TODO_rebuild_alias): New. (pass_may_alias): Removed. * tree-ssa-ccp.c (execute_fold_all_builtins): Only rebuild aliasing if we changed something. * tree-ssa-alias.c (compute_may_aliases): Make non-static. Update SSA internally. (pass_may_alias): Removed. (create_structure_vars): Return TODO_rebuild_alias. * tree-ssa-pre.c (do_pre): Return TODO_rebuild_alias. * tree-sra.c (tree_sra): Only rebuild aliasing if something changed. (tree_sra_early): We never affect aliasing right now. * tree-flow.h (compute_may_aliases): New prototype. * passes.c: Remove pass_may_alias from the passes. (execute_function_todo): Support TODO_rebuild_alias. From-SVN: r127491
Diffstat (limited to 'gcc/tree-pass.h')
-rw-r--r--gcc/tree-pass.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/gcc/tree-pass.h b/gcc/tree-pass.h
index fc12a6c..5a20772 100644
--- a/gcc/tree-pass.h
+++ b/gcc/tree-pass.h
@@ -149,12 +149,11 @@ struct dump_file_info
#define PROP_gimple_leh (1 << 2) /* lowered eh */
#define PROP_cfg (1 << 3)
#define PROP_referenced_vars (1 << 4)
-#define PROP_pta (1 << 5)
-#define PROP_ssa (1 << 6)
-#define PROP_no_crit_edges (1 << 7)
-#define PROP_rtl (1 << 8)
-#define PROP_alias (1 << 9)
-#define PROP_gimple_lomp (1 << 10) /* lowered OpenMP directives */
+#define PROP_ssa (1 << 5)
+#define PROP_no_crit_edges (1 << 6)
+#define PROP_rtl (1 << 7)
+#define PROP_alias (1 << 8)
+#define PROP_gimple_lomp (1 << 9) /* lowered OpenMP directives */
#define PROP_trees \
(PROP_gimple_any | PROP_gimple_lcf | PROP_gimple_leh | PROP_gimple_lomp)
@@ -228,6 +227,9 @@ struct dump_file_info
/* Internally used for the first instance of a pass. */
#define TODO_mark_first_instance (1 << 18)
+/* Rebuild aliasing info. */
+#define TODO_rebuild_alias (1 << 19)
+
#define TODO_update_ssa_any \
(TODO_update_ssa \
| TODO_update_ssa_no_phi \
@@ -278,7 +280,6 @@ extern struct tree_opt_pass pass_dce;
extern struct tree_opt_pass pass_dce_loop;
extern struct tree_opt_pass pass_cd_dce;
extern struct tree_opt_pass pass_merge_phi;
-extern struct tree_opt_pass pass_may_alias;
extern struct tree_opt_pass pass_split_crit_edges;
extern struct tree_opt_pass pass_pre;
extern struct tree_opt_pass pass_profile;