2013-09-26 Andrew MacLeod <amacleod@redhat.com>
authoramacleod <amacleod@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Sep 2013 13:38:54 +0000 (13:38 +0000)
committeramacleod <amacleod@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Sep 2013 13:38:54 +0000 (13:38 +0000)
commitf7373a91f573a1cb5ef4b95b7abfe607fdbe58ba
treebf1ee8e68198405d46df67850c59d9346411f5b3
parent9a4a334838250399f91cb29d193efeb869ead77e
2013-09-26  Andrew MacLeod  <amacleod@redhat.com>

* tree-ssa-live.h (find_replaceable_exprs, dump_replaceable_exprs): Move
prototypes to...
* tree-ssa-ter.h: New File.  Move prototypes here.
* tree-flow.h (stmt_is_replaceable_p): Remove prototype.
* tree-outof-ssa.h: New. Rename ssaexpand.h, include tree-ssa-ter.h.
* tree-outof-ssa.c (ssa_is_replaceable_p): New.  Refactor common bits
from is_replaceable_p.
* tree-ssa-ter.c (is_replaceable_p, stmt_is_replaceable_p): Delete.
(ter_is_replaceable_p): New.  Use new refactored ssa_is_replaceable_p.
(process_replaceable): Use ter_is_replaceable_p.
(find_replaceable_in_bb): Use ter_is_replaceable_p.
* expr.c (stmt_is_replaceable_p): Relocate from tree-ssa-ter.c.  Use
newly refactored ssa_is_replaceable_p.
* cfgexpand.c: Include tree-outof-ssa.h.
* ssaexpand.h: Delete.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202946 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cfgexpand.c
gcc/expr.c
gcc/tree-flow.h
gcc/tree-outof-ssa.c
gcc/tree-outof-ssa.h [moved from gcc/ssaexpand.h with 90% similarity]
gcc/tree-ssa-live.h
gcc/tree-ssa-ter.c
gcc/tree-ssa-ter.h [new file with mode: 0644]