aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-inline.c
diff options
context:
space:
mode:
authorRoger Sayle <roger@eyesopen.com>2002-06-01 20:03:08 +0000
committerRoger Sayle <sayle@gcc.gnu.org>2002-06-01 20:03:08 +0000
commit0e3f022139a75b2dc2fc537909ac7622f4fdbfcb (patch)
tree236ae5725e2efc8064604b35e16d87ae4b091b29 /gcc/tree-inline.c
parent378393da613d7c182ce3370696ec47a5a5cb2aef (diff)
downloadgcc-0e3f022139a75b2dc2fc537909ac7622f4fdbfcb.zip
gcc-0e3f022139a75b2dc2fc537909ac7622f4fdbfcb.tar.gz
gcc-0e3f022139a75b2dc2fc537909ac7622f4fdbfcb.tar.bz2
gcse.c (cprop_cc0_jump): Function deleted.
* gcse.c (cprop_cc0_jump): Function deleted. (cprop_jump): Take an additional argument which is the possibly NULL cc setting insn immediately before the conditional jump. When a MODE_CC set is present, substitute it into the JUMP_INSN before attempting the constant propagation. (cprop_insn): Recognize cc setters followed by conditional jumps as a special case. Use cprop_jump instead of cprop_cc0_jump. (cprop_one_pass): Call bypass_conditional_jumps if altering jumps. (find_bypass_set): New function based upon find_avail_set used by cprop, but finds constant expressions available at the end of basic blocks. (bypass_block): New function. Given a basic block that begins with a conditional jump and multiple incoming edges, perform the jump bypass optimization. (bypass_conditional_jumps): New function. Call bypass_block with each suitable basic block in the CFG using a simple single pass. From-SVN: r54152
Diffstat (limited to 'gcc/tree-inline.c')
0 files changed, 0 insertions, 0 deletions