From a456d3b5a5b2173bbc7cc6739b7e16303dff2d51 Mon Sep 17 00:00:00 2001
From: Diego Novillo <dnovillo@redhat.com>
Date: Tue, 29 Jun 2004 01:53:04 +0000
Subject: 	* common.opt (ftree-fre): New flag. 	* flags.h
 (flag_tree_fre): Declare. 	* opts.c (decode_options): Set. 	*
 timevar.def (TV_TREE_FRE): Define. 	* tree-flow-inline.h
 (may_propagate_copy): Re-arrange for 	readability.  Handle destinations that
 are not SSA_NAMEs. 	* tree-flow.h (struct ptr_info_def): Move from tree.h 
 (cprop_into_stmt, cprop_into_successor_phis): Remove. 	(vn_compute,
 vn_lookup_or_add, vn_add, vn_lookup): Add 	vuse_optype parameter. 	*
 tree-pass.h (pass_fre): Declare. 	* tree-ssa-copy.c (cprop_operand):
 Move to tree-ssa-dom.c 	(cprop_into_stmt): Likewise. 
 (cprop_into_successor_phis): Likewise. 	* tree-ssa-dom.c
 (eliminate_redundant_computations): Fix 	argument ordering in call to
 may_propagate_copy. 	* tree-ssa-pre.c (is_undefined_value): Assume hard
 registers 	to be always defined. 	(add_to_sets): New local function. 
 (create_value_expr_from): New local function. 	(compute_avail): Call them. 
 (eliminate): Don't ignore statements with virtual operands. 	(init_pre):
 New local function. 	(fini_pre): New local function. 	(execute_pre):
 Call them. 	Add argument DO_FRE.  Don't do insertion if DO_FRE is true. 
 (do_pre): New function. 	(do_fre): New function. 	(gate_fre):
 New function. 	(pass_fre): Declare. 	* tree-ssa.c (init_tree_ssa): Don't
 call vn_init. 	(delete_tree_ssa): Don't call vn_delete. 	* tree-vn.c
 (val_expr_pair_d): Add documentation. 	(vn_compute): Add VUSES argument to
 incorporate in computing 	hash values.  Update all callers. 
 (expressions_equal_p): Call operand_equal_p with 	OEP_PURE_SAME. 
 (vn_add): Add VUSES argument.  Update all callers. 	(vn_lookup): Likewise.
 	(vn_lookup_or_add): Likewise. 	* doc/invoke.texi: Document -ftree-fre
 and -fdump-tree-fre.

git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@83837 138bc75d-0d04-0410-961f-82ee72b054a4
---
 gcc/timevar.def | 1 +
 1 file changed, 1 insertion(+)

(limited to 'gcc/timevar.def')

diff --git a/gcc/timevar.def b/gcc/timevar.def
index d02e2ab77e7..9cf957860a3 100644
--- a/gcc/timevar.def
+++ b/gcc/timevar.def
@@ -75,6 +75,7 @@ DEFTIMEVAR (TV_TREE_SRA              , "tree SRA")
 DEFTIMEVAR (TV_TREE_CCP		     , "tree CCP")
 DEFTIMEVAR (TV_TREE_SPLIT_EDGES      , "tree split crit edges")
 DEFTIMEVAR (TV_TREE_PRE		     , "tree PRE")
+DEFTIMEVAR (TV_TREE_FRE		     , "tree FRE")
 DEFTIMEVAR (TV_TREE_PHIOPT	     , "tree linearize phis")
 DEFTIMEVAR (TV_TREE_FORWPROP	     , "tree forward propagate")
 DEFTIMEVAR (TV_TREE_DCE		     , "tree conservative DCE")
-- 
cgit v1.2.3

