tree-vectorizer.h (vect_get_stmt_cost): Move from tree-vect-stmts.c.
authorBill Schmidt <wschmidt@linux.ibm.com>
Thu, 14 Jun 2012 12:21:36 +0000 (12:21 +0000)
committerWilliam Schmidt <wschmidt@gcc.gnu.org>
Thu, 14 Jun 2012 12:21:36 +0000 (12:21 +0000)
commitb6cef4e04d49e6d7ae7b6b6db19dc9162b7c2a53
treea0aed9af70716fc07eefe673995535d93b3c99a5
parentdf3781485406ededf60d901bbcbbcbeeaf0529b9
tree-vectorizer.h (vect_get_stmt_cost): Move from tree-vect-stmts.c.

2012-06-14  Bill Schmidt  <wschmidt@linux.ibm.com>

* tree-vectorizer.h (vect_get_stmt_cost): Move from tree-vect-stmts.c.
(cost_for_stmt): Remove decl.
(vect_get_single_scalar_iteration_cost): Correct typo in name.
* tree-vect-loop.c (vect_get_cost): Remove.
(vect_get_single_scalar_iteration_cost): Correct typo in name; use
vect_get_stmt_cost rather than vect_get_cost.
(vect_get_known_peeling_cost): Use vect_get_stmt_cost rather than
vect_get_cost.
(vect_estimate_min_profitable_iters): Correct typo in call to
vect_get_single_scalar_iteration_cost; use vect_get_stmt_cost rather
than vect_get_cost.
(vect_model_reduction_cost): Use vect_get_stmt_cost rather than
vect_get_cost.
(vect_model_induction_cost): Likewise.
* tree-vect-data-refs.c (vect_peeling_hash_get_lowest_cost): Correct
typo in call to vect_get_single_scalar_iteration_cost.
* tree-vect-stmts.c (vect_get_stmt_cost): Move to tree-vectorizer.h.
(cost_for_stmt): Remove unnecessary function.
* Makefile.in (TREE_VECTORIZER_H): Update dependencies.

From-SVN: r188611
gcc/ChangeLog
gcc/Makefile.in
gcc/tree-vect-data-refs.c
gcc/tree-vect-loop.c
gcc/tree-vect-stmts.c
gcc/tree-vectorizer.h