tree-ssa-loop-ivopts.c (add_candidate): Remove call to add_autoinc_candidates.
authorBin Cheng <bin.cheng@arm.com>
Thu, 16 Jul 2015 05:49:47 +0000 (05:49 +0000)
committerBin Cheng <amker@gcc.gnu.org>
Thu, 16 Jul 2015 05:49:47 +0000 (05:49 +0000)
commit4c3b378b5a9ddba3a66fa24203df5e850b4de3d6
tree2260573a0b7e5807d0b3e1d91f4a27562a6dc69e
parenta6885f12c73d525ad577fb5c2ae4a7c94ab53e31
tree-ssa-loop-ivopts.c (add_candidate): Remove call to add_autoinc_candidates.

* tree-ssa-loop-ivopts.c (add_candidate): Remove call to
add_autoinc_candidates.
(add_iv_candidate_for_biv): Rename to add_iv_candidate_for_biv.
(add_iv_candidate_for_biv): Rename from add_iv_candidate_for_biv.
(add_old_ivs_candidates): Rename to add_iv_candidate_for_bivs.
(add_iv_candidate_for_bivs): Rename from add_old_ivs_candidates.
Call new function.
(add_iv_value_candidates): Rename to add_iv_candidate_for_use.
(add_iv_candidate_for_use): Rename from add_iv_value_candidates.
Remove parameter struct iv*.  Call add_autoinc_candidates here.
(add_derived_ivs_candidates): Rename to add_iv_candidate_for_uses.
(add_iv_candidate_for_uses): Rename from add_derived_ivs_candidates.
Call new function.
(find_iv_candidates): Call new functions.

From-SVN: r225859
gcc/ChangeLog
gcc/tree-ssa-loop-ivopts.c