summaryrefslogtreecommitdiff
path: root/clang-r353983/include/llvm/Transforms/Vectorize/LoadStoreVectorizer.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang-r353983/include/llvm/Transforms/Vectorize/LoadStoreVectorizer.h')
-rw-r--r--clang-r353983/include/llvm/Transforms/Vectorize/LoadStoreVectorizer.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/clang-r353983/include/llvm/Transforms/Vectorize/LoadStoreVectorizer.h b/clang-r353983/include/llvm/Transforms/Vectorize/LoadStoreVectorizer.h
new file mode 100644
index 00000000..f72c76c6
--- /dev/null
+++ b/clang-r353983/include/llvm/Transforms/Vectorize/LoadStoreVectorizer.h
@@ -0,0 +1,26 @@
+//===- LoadStoreVectorizer.cpp - GPU Load & Store Vectorizer --------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_TRANSFORMS_VECTORIZE_LOADSTOREVECTORIZER_H
+#define LLVM_TRANSFORMS_VECTORIZE_LOADSTOREVECTORIZER_H
+
+#include "llvm/IR/PassManager.h"
+
+namespace llvm {
+
+class LoadStoreVectorizerPass : public PassInfoMixin<LoadStoreVectorizerPass> {
+public:
+ PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM);
+};
+
+/// Create a legacy pass manager instance of the LoadStoreVectorizer pass
+Pass *createLoadStoreVectorizerPass();
+
+}
+
+#endif /* LLVM_TRANSFORMS_VECTORIZE_LOADSTOREVECTORIZER_H */