aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vectorizer.h
diff options
context:
space:
mode:
authorBin Cheng <bin.cheng@arm.com>2017-05-26 14:10:43 +0000
committerBin Cheng <amker@gcc.gnu.org>2017-05-26 14:10:43 +0000
commit8d44cf7275527abc86f33e6d6c51fc84fa9c877a (patch)
tree3273bf86a29a78426128ba067fc0e6b94ef45da3 /gcc/tree-vectorizer.h
parent2c8f03adb27b15e9e4665dfe24b04f5516ec2ea4 (diff)
downloadgcc-8d44cf7275527abc86f33e6d6c51fc84fa9c877a.zip
gcc-8d44cf7275527abc86f33e6d6c51fc84fa9c877a.tar.gz
gcc-8d44cf7275527abc86f33e6d6c51fc84fa9c877a.tar.bz2
tree-vect-data-refs.c (Operator==, [...]): Move from ...
* tree-vect-data-refs.c (Operator==, comp_dr_with_seg_len_pair): Move from ... * tree-data-ref.c (Operator==, comp_dr_with_seg_len_pair): To here. * tree-vect-data-refs.c (vect_prune_runtime_alias_test_list): Factor out code pruning runtime alias checks. * tree-data-ref.c (prune_runtime_alias_test_list): New function factored out from above. * tree-vectorizer.h (struct dr_with_seg_len, dr_with_seg_len_pair_t): Move from ... * tree-data-ref.h (struct dr_with_seg_len, dr_with_seg_len_pair_t): ... to here. (prune_runtime_alias_test_list): New decalaration. From-SVN: r248511
Diffstat (limited to 'gcc/tree-vectorizer.h')
-rw-r--r--gcc/tree-vectorizer.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/gcc/tree-vectorizer.h b/gcc/tree-vectorizer.h
index c0bc493..eb47bd4 100644
--- a/gcc/tree-vectorizer.h
+++ b/gcc/tree-vectorizer.h
@@ -146,34 +146,6 @@ typedef struct _slp_instance {
-/* This struct is used to store the information of a data reference,
- including the data ref itself and the segment length for aliasing
- checks. This is used to merge alias checks. */
-
-struct dr_with_seg_len
-{
- dr_with_seg_len (data_reference_p d, tree len)
- : dr (d), seg_len (len) {}
-
- data_reference_p dr;
- tree seg_len;
-};
-
-/* This struct contains two dr_with_seg_len objects with aliasing data
- refs. Two comparisons are generated from them. */
-
-struct dr_with_seg_len_pair_t
-{
- dr_with_seg_len_pair_t (const dr_with_seg_len& d1,
- const dr_with_seg_len& d2)
- : first (d1), second (d2) {}
-
- dr_with_seg_len first;
- dr_with_seg_len second;
-};
-
-
-
/* Vectorizer state common between loop and basic-block vectorization. */
struct vec_info {
enum { bb, loop } kind;