This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
gcc/gcc ChangeLog.sa tree-flow-inline.h tree-p ...
- From: dberlin at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: 27 Sep 2004 02:36:50 -0000
- Subject: gcc/gcc ChangeLog.sa tree-flow-inline.h tree-p ...
CVSROOT: /cvs/gcc
Module name: gcc
Branch: structure-aliasing-branch
Changes by: dberlin@gcc.gnu.org 2004-09-27 02:36:50
Modified files:
gcc : ChangeLog.sa tree-flow-inline.h
tree-pretty-print.c tree-ssa-operands.c
tree-ssa-operands.h
Log message:
2004-09-26 Daniel Berlin <dberlin@dberlin.org>
* tree-flow-inline.h (get_vuse_offset_ptr): New.
(get_vuse_size_ptr): New.
(get_vuse_op_ptr): Modify for vuse operand type change.
(op_iter_init_tree): Fix comment.
(op_iter_next_partuse): New function.
(op_iter_init_partuse): Ditto.
* tree-pretty-print.c (dump_vops): Use new partuse iterator
to get offset and size info for vuses.
* tree-ssa-operands.c (build_vuses_offset): New array.
(build_vuses_size): New array.
(allocate_vuse_optype): Modify to use vuse_operand_type_t.
(init_ssa_operands): Init new arrays.
(fini_ssa_operands): Free new arrays.
(finalize_ssa_vuses): Rewrite to handle size and offset info as
well.
(append_vuse): Take offset and size now as well.
Push onto new arrays.
(add_stmt_operand): Do partial uses here.
(copy_virtual_operands): Copy offset and size for vuse as well.
(create_ssa_artficial_load_stmt): Modify to append vuse offset
and size from the may_def result and size.
* tree-ssa-operands.h (VUSE_OFFSET_PTR): New macro.
(VUSE_OFFSET): Ditto.
(SET_VUSE_OFFSET): Ditto.
(VUSE_SIZE_PTR): Ditto.
(VUSE_SIZE): Ditto.
(SET_VUSE_SIZE): Ditto.
(vuse_operand_type): New structure.
(vuse_optype_d): Use it.
(FOR_EACH_SSA_PARTUSE_OPERAND): New macro.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.sa.diff?cvsroot=gcc&only_with_tag=structure-aliasing-branch&r1=1.1.2.4&r2=1.1.2.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-flow-inline.h.diff?cvsroot=gcc&only_with_tag=structure-aliasing-branch&r1=2.21.2.2&r2=2.21.2.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-pretty-print.c.diff?cvsroot=gcc&only_with_tag=structure-aliasing-branch&r1=2.34.2.3&r2=2.34.2.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-ssa-operands.c.diff?cvsroot=gcc&only_with_tag=structure-aliasing-branch&r1=2.32.2.4&r2=2.32.2.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-ssa-operands.h.diff?cvsroot=gcc&only_with_tag=structure-aliasing-branch&r1=2.6.2.2&r2=2.6.2.3