aboutsummaryrefslogtreecommitdiff
path: root/gcc/struct-equiv.c
AgeCommit message (Collapse)AuthorFilesLines
2006-03-10* struct-equiv.c (rtx_equiv_p): Fix POST_MODIFY case.J"orn Rennecke1-6/+2
From-SVN: r111929
2006-03-04builtins.c, [...]: Fix comment typos.Kazu Hirata1-1/+1
* builtins.c, c-pragma.h, c-typeck.c, cgraph.c, cgraphunit.c, combine.c, common.opt, config/dfp-bit.c, config/i386/i386.c, config/m68k/m68k.c, config/m68k/m68k.md, config/mt/mt.c, config/mt/mt.h, config/s390/s390.md, df-core.c, df-problems.c, df-scan.c, df.h, diagnostic.c, expr.c, function.h, gimplify.c, loop-invariant.c, omp-low.c, opts.c, passes.c, rtl-factoring.c, rtlanal.c, struct-equiv.c, tree-cfgcleanup.c, tree-ssa-loop-niter.c, tree-ssa-loop-prefetch.c, tree-ssa-structalias.c, tree-ssa-threadedge.c, tree-ssa-threadupdate.c, tree-vect-patterns.c, tree-vect-transform.c, tree-vectorizer.h, tree-vrp.c, unwind-dw2.c: Fix comment typos. Follow spelling conventions. From-SVN: r111721
2006-01-12* struct-equiv.c (find_dying_inputs): Fix off-by-one bug.Ulrich Weigand1-1/+1
From-SVN: r109645
2005-12-19struct-equiv.c (struct_equiv_improve_checkpoint): Fix sets_cc0_p check.J"orn Rennecke1-1/+2
* struct-equiv.c (struct_equiv_improve_checkpoint): Fix sets_cc0_p check. From-SVN: r108791
2005-12-17re PR rtl-optimization/25456 (cc0 targets are broken.)Kazu Hirata1-1/+1
PR rtl-optimization/25456 * struct-equiv.c (struct_equiv_improve_checkpoint): Replace info->x_start with p->x_start. From-SVN: r108707
2005-12-16basic-block.h, [...]: Fix comment typos.Kazu Hirata1-4/+4
* basic-block.h, config/i386/winnt.c, config/pa/pa.c, config/s390/s390.c, dfp.c, expr.c, fold-const.c, params.def, reload.c, struct-equiv.c, tree-ssa-ccp.c, tree-ssa-pre.c, tree-ssa-reassoc.c, tree-ssa-structalias.c: Fix comment typos. * doc/invoke.texi, doc/tm.texi: Fix typos. From-SVN: r108626
2005-12-14struct-equiv.c (note_local_live): Handle hard regs with different ↵J"orn Rennecke1-1/+8
hard_regno_nregs. * struct-equiv.c (note_local_live): Handle hard regs with different hard_regno_nregs. From-SVN: r108520
2005-12-14struct-equiv.c (rtx_equiv_p): Allow arbitrary RVALUE values for PARALLELs ↵J"orn Rennecke1-1/+4
with a mode. * struct-equiv.c (rtx_equiv_p): Allow arbitrary RVALUE values for PARALLELs with a mode. From-SVN: r108511
2005-12-14re PR bootstrap/25397 (Bootstrap failed)J"orn Rennecke1-5/+1
2005-12-14 J"orn Rennecke <joern.rennecke@st.com> PR bootstrap/25397: * struct-equiv.c (struct_equiv_init): Fix off-by-one error in clearing of STACK_REGS bits. * struct-euiv.c (rtx_equiv_p): Remove SUBREG case. From-SVN: r108508
2005-12-13PR rtl-optimization/20070 / part1J"orn Rennecke1-113/+1095
PR rtl-optimization/20070 / part1 * flow.c (update_life_info): If PROP_POST_REGSTACK is set, call count_or_remove_death_notes with kill == -1. (mark_set_1): Don't add REG_DEAD / REG_UNUSED notes for stack registers if PROP_POST_REGSTACK is set. (mark_used_reg): Likewise. (count_or_remove_death_notes): If kill is -1, don't remove REG_DEAD / REG_UNUSED notes for stack regs. * cfgcleanup.c (condjump_equiv_p): Change parameters and processing to match rtx_equiv_p machinery. Change caller. (outgoing_edges_match): Likewise. (try_crossjump_to_edge): Use struct_equiv_block_eq instead of flow_find_cross_jump. * basic-block.h (PROP_POST_REGSTACK, STRUCT_EQUIV_START): Define. (STRUCT_EQUIV_RERUN, STRUCT_EQUIV_FINAL): Likewise. (STRUCT_EQUIV_NEED_FULL_BLOCK, STRUCT_EQUIV_MATCH_JUMPS): Likewise. (STRUCT_EQUIV_MAX_LOCAL): Likewise. (struct struct_equiv_checkpoint, struct equiv_info): Likewise. (insns_match_p): Update prototype. (flow_find_cross_jump): Remove prototype. (struct_equiv_block_eq, struct_equiv_init): Declare. (rtx_equiv_p, condjump_equiv_p): Likewise. * struct-equiv.c: Include reload.h. (IMPOSSIBLE_MOVE_FACTOR): Define. (assign_reg_reg_set, struct_equiv_make_checkpoint): New functions. (struct_equiv_improve_checkpoint): Likewise. (struct_equiv_restore_checkpoint, rtx_equiv_p): Likewise. (set_dest_equiv_p, set_dest_addr_equiv_p, struct_equiv_init): Likewise. (struct_equiv_merge, find_dying_input): Likewise. (resolve_input_conflict, note_local_live): Likewise. (death_notes_match_p): Change parameters and processing to match rtx_equiv_p machinery. Change caller. (insns_match_p): Likewise. (flow_find_cross_jump): Replace with: (struct_equiv_block_eq). Back out this change: 2005-03-07 Kazu Hirata <kazu@cs.umass.edu> * recog.c (verify_changes): Make it static. * recog.h: Remove the corresponding prototype. From-SVN: r108480
2005-12-12cfgcleanup.c (condjump_equiv_p, [...]): Fix whitespace in vincinity of ↵J"orn Rennecke1-7/+7
to-be-installed changes. 2005-12-12 J"orn Rennecke <joern.rennecke@st.com> * cfgcleanup.c (condjump_equiv_p, try_crossjump_to_edge): Fix whitespace in vincinity of to-be-installed changes. * struct-equiv.c (merge_memattrs, death_notes_match_p): Fix whitespace. (insns_match_p): Likewise. From-SVN: r108410
2005-12-07Preparation for PR rtl-optimization/20070 / part1J"orn Rennecke1-0/+362
2005-12-07 J"orn Rennecke <joern.rennecke@st.com> Preparation for PR rtl-optimization/20070 / part1 * basic-block.h (insns_match_p, flow_find_cross_jump): Declare. * cfgcleanup.c (condjump_equiv_p): New function, broken out of outgoing_edges_match. (outgoing_edges_match): Use condjump_equiv_p. (merge_memattrs, insns_match_p, flow_find_cross_jump): Move from here into.. * struct-equiv.c: New file. (death_notes_match_p) New function, broken out of insns_match_p. * Makefile.in (OBJS-common): Add struct-equiv.o. (struct-equiv.o): New target. From-SVN: r108164