aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vectorizer.h
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2015-10-14 08:32:25 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2015-10-14 08:32:25 +0000
commitddf56386c14bc6db5e6d5eb41e58da8253b6102a (patch)
tree61b148260abf3b7df84bf93f6cb3b0ccc38fe1e9 /gcc/tree-vectorizer.h
parentac8a1965363534d831c6b784bd69aa18b846402a (diff)
downloadgcc-ddf56386c14bc6db5e6d5eb41e58da8253b6102a.zip
gcc-ddf56386c14bc6db5e6d5eb41e58da8253b6102a.tar.gz
gcc-ddf56386c14bc6db5e6d5eb41e58da8253b6102a.tar.bz2
tree-vect-data-refs.c (vect_enhance_data_refs_alignment): Reset info at start.
2015-10-14 Richard Biener <rguenther@suse.de> * tree-vect-data-refs.c (vect_enhance_data_refs_alignment): Reset info at start. (vect_analyze_group_access_1): Add debug print. * tree-vect-loop.c (vect_get_single_scalar_iteration_cost): Rename ... (vect_compute_single_scalar_iteration_cost): ... to this. (vect_analyze_loop_2): Adjust. * tree-vect-slp.c (struct _slp_oprnd_info): Move from ... * tree-vectorizer.h: ... here. (add_stmt_info_to_vec): Remove. * tree-vect-stmts.c (record_stmt_cost): Inline add_stmt_info_to_vec. From-SVN: r228806
Diffstat (limited to 'gcc/tree-vectorizer.h')
-rw-r--r--gcc/tree-vectorizer.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/gcc/tree-vectorizer.h b/gcc/tree-vectorizer.h
index ebe38b7..9450899 100644
--- a/gcc/tree-vectorizer.h
+++ b/gcc/tree-vectorizer.h
@@ -73,21 +73,8 @@ struct stmt_info_for_cost {
int misalign;
};
-
typedef vec<stmt_info_for_cost> stmt_vector_for_cost;
-static inline void
-add_stmt_info_to_vec (stmt_vector_for_cost *stmt_cost_vec, int count,
- enum vect_cost_for_stmt kind, gimple *stmt, int misalign)
-{
- stmt_info_for_cost si;
- si.count = count;
- si.kind = kind;
- si.stmt = stmt;
- si.misalign = misalign;
- stmt_cost_vec->safe_push (si);
-}
-
/************************************************************************
SLP
************************************************************************/
@@ -145,22 +132,6 @@ typedef struct _slp_instance {
#define SLP_TREE_LOAD_PERMUTATION(S) (S)->load_permutation
#define SLP_TREE_TWO_OPERATORS(S) (S)->two_operators
-/* This structure is used in creation of an SLP tree. Each instance
- corresponds to the same operand in a group of scalar stmts in an SLP
- node. */
-typedef struct _slp_oprnd_info
-{
- /* Def-stmts for the operands. */
- vec<gimple *> def_stmts;
- /* Information about the first statement, its vector def-type, type, the
- operand itself in case it's constant, and an indication if it's a pattern
- stmt. */
- enum vect_def_type first_dt;
- tree first_op_type;
- bool first_pattern;
- bool second_pattern;
-} *slp_oprnd_info;
-
/* This struct is used to store the information of a data reference,