This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
gcc/gcc ChangeLog.tree-ssa
- From: amacleod at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: 4 Apr 2003 20:53:53 -0000
- Subject: gcc/gcc ChangeLog.tree-ssa
CVSROOT: /cvs/gcc
Module name: gcc
Branch: tree-ssa-20020619-branch
Changes by: amacleod at gcc dot gnu dot org 2003-04-04 20:53:53
Modified files:
gcc : ChangeLog.tree-ssa
Log message:
* Makefile.in : Add tree-ssa-live.c and tree-ssa-live.h files.
* tree-ssa.c (struct _var_map, create_var_map, delete_var_map,
var_from_partition, get_var_partition, mapped_var_from_ref,
compact_var_map, dump_tree_partition, set_partition_for_var,
set_var_mapping, create_var_partition): Remove.
(create_temp): Allow temps to be created from SSA_NAME vars as well.
(eliminate_name, eliminate_build, elim_backward, elim_create,
eliminate_phi): Use new var map interface.
(coalesce_ssa_name): New. Coalesce ssa_name ranges together.
(assign_vars): Assign real variables to ssa_name partitions.
(rewrite_out_of_ssa): Use new varmap partition and routines.
* tree-ssa-live.h: New file
(var_map): Structure for variable map.
(num_var_partitions): Number of partitions.
(partition_to_var): Return variable for partition.
(var_to_partition): Return partition variable is in.
(var_to_partition_to_var): Return variable representing partition
another variable is in.
(register_ssa_partition): Initialize a partition element as used.
* tree-ssa-live.c: New file.
(init_var_map): Initialize a var_map.
(delete_var_map): Free storage for a var_map.
(var_union): Combine 2 partitions.
(compact_var_map): Reduce the number of partitions in a var_map.
(change_partition_var): Assign a specific var to a partition.
(create_ssa_var_map): Initialize a var_map with referenced variables.
(dump_var_map): Debug outout for a var_map.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.tree-ssa.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.293&r2=1.1.2.294