]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/tree-ssa-threadupdate.c
* basic-block.h (rediscover_loops_after_threading): Declare.
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 4 Mar 2005 21:35:49 +0000 (21:35 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 4 Mar 2005 21:35:49 +0000 (21:35 +0000)
commit388d1fc1a1e7f123e93c29a5b0147b53cc2500a9
treef9c9a2643a9f3afe1404b5aff6758d8e8da39b9b
parent7eeec80a8752b6e562a00d9821a1552fe5e76164
   * basic-block.h (rediscover_loops_after_threading): Declare.
        * tree-ssa-dom.c: Include cfgloop.h.
        (tree_ssa_dominator_optimize): Discover loops and some basic
        properties.  Remove forwarder blocks recreated by loop header
        canonicalization.  Also mark backedges in the CFG.
        * tree-ssa-threadupdate.c: Include cfgloop.h
        (rediscover_loops_after_threading): Define.
        (struct local_info): New field, JUMP_THREADED.
        (prune_undesirable_thread_requests): New function.
        (redirect_edges): Clear EDGE_ABNORMAL.  If edges were threaded
        then record that fact for the callers of redirct_edges.
        (thread_block): If BB has incoming backedges, then call
        prune_undesirable_thraed_requests.    Note when we are
        going to have to rediscover loop information.  Return a
        boolean indicating if any jumps were threaded.
        (thread_through_all_blocks): Bubble up boolean indicating
        if any jumps were threaded.
        * Makefile.in (tree-ssa-dom.o): Depend on cfgloop.h
        (tree-ssa-threadupdate.o): Similarly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95903 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/Makefile.in
gcc/basic-block.h
gcc/tree-ssa-dom.c
gcc/tree-ssa-threadupdate.c