OSDN Git Service

* loop-unroll.c (struct iv_to_split): Add pointer to next.
authoraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 2 Jun 2009 17:47:33 +0000 (17:47 +0000)
committeraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 2 Jun 2009 17:47:33 +0000 (17:47 +0000)
commitb635a1a3c5aaf58c4823e9395f2410517c7bd1cb
treefff566f45e105f21094d680c335487d6024dd7a9
parentce734c959c94df01ca1da332ec4e266dfca8cfc6
* loop-unroll.c (struct iv_to_split): Add pointer to next.
(struct var_to_expand): Likewise.
(struct opt_info): Add head and tail for linked lists of the above.
(analyze_insn_to_expand_var): Initialize next.
(analyze_iv_to_split_insn): Likewise.
(analyze_insns_in_loop): Create linked lists.
(allocate_basic_variable): Simplify for use without hash table.
(insert_var_expansion_initialization): Likewise, make it type-safer.
(combine_var_copies_in_loop_exit): Likewise.
(apply_opt_in_copies): Walk lists rather than hash tables.
(release_var_copies): Simplified and inlined by hand into...
(free_opt_info): ... this function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148090 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/loop-unroll.c