aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2012-04-14 07:32:43 +0000
committerHal Finkel <hfinkel@anl.gov>2012-04-14 07:32:43 +0000
commitf3f5a1e6f77a842ccb24cc81766437da5197d712 (patch)
tree23e0535092406183e26dc9dd2cfaa68bb5c90d4b /include
parent007079201276368736fc893d4d5ec7aeeca00823 (diff)
downloadexternal_llvm-f3f5a1e6f77a842ccb24cc81766437da5197d712.zip
external_llvm-f3f5a1e6f77a842ccb24cc81766437da5197d712.tar.gz
external_llvm-f3f5a1e6f77a842ccb24cc81766437da5197d712.tar.bz2
Enhance BBVectorize to more-properly handle pointer values and vectorize GEPs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154734 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Transforms/Vectorize.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/Transforms/Vectorize.h b/include/llvm/Transforms/Vectorize.h
index 776c005..652916c 100644
--- a/include/llvm/Transforms/Vectorize.h
+++ b/include/llvm/Transforms/Vectorize.h
@@ -34,6 +34,9 @@ struct VectorizeConfig {
/// @brief Vectorize floating-point values.
bool VectorizeFloats;
+ /// @brief Vectorize pointer values.
+ bool VectorizePointers;
+
/// @brief Vectorize casting (conversion) operations.
bool VectorizeCasts;
@@ -46,6 +49,9 @@ struct VectorizeConfig {
/// @brief Vectorize select instructions.
bool VectorizeSelect;
+ /// @brief Vectorize getelementptr instructions.
+ bool VectorizeGEP;
+
/// @brief Vectorize loads and stores.
bool VectorizeMemOps;