tree-vectorizer.h (stmt_vinfo_set_inside_of_loop_cost, [...]): New functions.
authorIra Rosen <irar@il.ibm.com>
Sun, 9 Sep 2007 11:22:24 +0000 (11:22 +0000)
committerIra Rosen <irar@gcc.gnu.org>
Sun, 9 Sep 2007 11:22:24 +0000 (11:22 +0000)
commit89675e73495690215be5a19c0cf9ea3dc83826b1
tree9418d7d2c8a15772cdcdf5fbb870cefdb5a643dc
parent23a651fcb5a4e57299951b6894779807d2deb693
tree-vectorizer.h (stmt_vinfo_set_inside_of_loop_cost, [...]): New functions.

* tree-vectorizer.h (stmt_vinfo_set_inside_of_loop_cost,
stmt_vinfo_set_outside_of_loop_cost): New functions.
* tree-vect-transform.c (vect_get_cost_fields): Remove.
(vect_model_simple_cost): Call
stmt_vinfo_set_inside/outside_of_loop_cost to set the relevant cost
field instead of calling vect_get_cost_fields.
(vect_model_store_cost, vect_model_load_cost): Likewise.

From-SVN: r128294
gcc/ChangeLog
gcc/tree-vect-transform.c
gcc/tree-vectorizer.h