gcc: 2013-05-03 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * gimple-ssa-strength-reduction.c (cand_kind): Add CAND_PHI. (slsr_cand_d): Redefine def_phi. (stride_status, phi_adjust_status, count_phis_status): New enums. (find_phi_def): New. (find_basis_for_base_expr): New. (find_basis_for_candidate): Handle hidden bases. (alloc_cand_and_find_basis): Handle phi candidates. (slsr_process_phi): New. (create_mul_ssa_cand): Exclude phi base candidates; use integer_onep. (create_mul_imm_cand): Likewise. (create_add_ssa_cand): Exclude phi base candidates. (create_add_imm_cand): Likewise. (slsr_process_cast): Likewise. (slsr_process_copy): Likewise. (find_candidates_in_block): Handle phi candidates. (dump_candidate): Likewise. (unconditional_cands): Delete. (unconditional_cands_with_known_stride_p): Delete. (phi_dependent_cand_p): New. (cand_increment): Handle phi-dependent candidates. (replace_dependent): Delete. (replace_mult_candidate): New. (replace_unconditional_candidate): New. (incr_vec_index): Move to avoid forward reference. (create_add_on_incoming_edge): New. (create_phi_basis): New. (replace_dependents): Delete. (replace_conditional_candidate): New. (phi_add_costs): New. (replace_uncond_cands_and_profitable_phis): New. (record_increment): Handle phi adjustments. (record_phi_increments): New. (record_increments): Handle phi adjustments. (phi_incr_cost): New. (lowest_cost_path): Handle phis. (total_savings): Likewise. (analyze_increments): Likewise. (ncd_with_phi): New. (ncd_of_cand_and_phis): New. (nearest_common_dominator_for_cands): Handle phi increments. (all_phi_incrs_profitable): New. (replace_profitable_candidates): Handle phi-dependent candidates. (analyze_candidates_and_replace): Likewise. gcc/testsuite: 2013-05-03 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * gcc.dg/tree-ssa/slsr-32.c: New. * gcc.dg/tree-ssa/slsr-33.c: New. * gcc.dg/tree-ssa/slsr-34.c: New. * gcc.dg/tree-ssa/slsr-35.c: New. * gcc.dg/tree-ssa/slsr-36.c: New. * gcc.dg/tree-ssa/slsr-37.c: New. * gcc.dg/tree-ssa/slsr-38.c: New. From-SVN: r198586
Name |
Last commit
|
Last update |
---|---|---|
INSTALL | Loading commit data... | |
boehm-gc | Loading commit data... | |
config | Loading commit data... | |
contrib | Loading commit data... | |
fixincludes | Loading commit data... | |
gcc | Loading commit data... | |
gnattools | Loading commit data... | |
include | Loading commit data... | |
intl | Loading commit data... | |
libada | Loading commit data... | |
libatomic | Loading commit data... | |
libbacktrace | Loading commit data... | |
libcpp | Loading commit data... | |
libdecnumber | Loading commit data... | |
libffi | Loading commit data... | |
libgcc | Loading commit data... | |
libgfortran | Loading commit data... | |
libgo | Loading commit data... | |
libgomp | Loading commit data... | |
libiberty | Loading commit data... | |
libitm | Loading commit data... | |
libjava | Loading commit data... | |
libmudflap | Loading commit data... | |
libobjc | Loading commit data... | |
libquadmath | Loading commit data... | |
libsanitizer | Loading commit data... | |
libssp | Loading commit data... | |
libstdc++-v3 | Loading commit data... | |
lto-plugin | Loading commit data... | |
maintainer-scripts | Loading commit data... | |
zlib | Loading commit data... | |
.gitignore | Loading commit data... | |
ABOUT-NLS | Loading commit data... | |
COPYING | Loading commit data... | |
COPYING.LIB | Loading commit data... | |
COPYING.RUNTIME | Loading commit data... | |
COPYING3 | Loading commit data... | |
COPYING3.LIB | Loading commit data... | |
ChangeLog | Loading commit data... | |
ChangeLog.tree-ssa | Loading commit data... | |
MAINTAINERS | Loading commit data... | |
Makefile.def | Loading commit data... | |
Makefile.in | Loading commit data... | |
Makefile.tpl | Loading commit data... | |
README | Loading commit data... | |
compile | Loading commit data... | |
config-ml.in | Loading commit data... | |
config.guess | Loading commit data... | |
config.rpath | Loading commit data... | |
config.sub | Loading commit data... | |
configure | Loading commit data... | |
configure.ac | Loading commit data... | |
depcomp | Loading commit data... | |
install-sh | Loading commit data... | |
libtool-ldflags | Loading commit data... | |
libtool.m4 | Loading commit data... | |
ltgcc.m4 | Loading commit data... | |
ltmain.sh | Loading commit data... | |
ltoptions.m4 | Loading commit data... | |
ltsugar.m4 | Loading commit data... | |
ltversion.m4 | Loading commit data... | |
lt~obsolete.m4 | Loading commit data... | |
missing | Loading commit data... | |
mkdep | Loading commit data... | |
mkinstalldirs | Loading commit data... | |
move-if-change | Loading commit data... | |
symlink-tree | Loading commit data... | |
ylwrap | Loading commit data... |