diff options
author | Richard Biener <rguenther@suse.de> | 2020-05-18 16:05:00 +0200 |
---|---|---|
committer | Giuliano Belinassi <giuliano.belinassi@usp.br> | 2020-08-17 13:03:43 -0300 |
commit | 52f893195b906feb2973b9ab0ecfd275db4fe58f (patch) | |
tree | 8f0c01b5a4204c94ce62f757c0fa4a73036710db /gcc/tree-inline.c | |
parent | a4bda19a475b304ee72795dc2e0e22425cb84ec3 (diff) | |
download | gcc-52f893195b906feb2973b9ab0ecfd275db4fe58f.zip gcc-52f893195b906feb2973b9ab0ecfd275db4fe58f.tar.gz gcc-52f893195b906feb2973b9ab0ecfd275db4fe58f.tar.bz2 |
cost invariant nodes from vect_slp_analyze_node_operations SLP walk
2020-05-19 Richard Biener <rguenther@suse.de>
* tree-vectorizer.h (_slp_tree::vectype): Add field.
(SLP_TREE_VECTYPE): New.
* tree-vect-slp.c (vect_create_new_slp_node): Initialize
SLP_TREE_VECTYPE.
(vect_create_new_slp_node): Likewise.
(vect_prologue_cost_for_slp): Move here from tree-vect-stmts.c
and simplify.
(vect_slp_analyze_node_operations): Walk nodes children for
invariant costing.
(vect_get_constant_vectors): Use local scope op variable.
* tree-vect-stmts.c (vect_prologue_cost_for_slp_op): Remove here.
(vect_model_simple_cost): Adjust.
(vect_model_store_cost): Likewise.
(vectorizable_store): Likewise.
Diffstat (limited to 'gcc/tree-inline.c')
0 files changed, 0 insertions, 0 deletions