summaryrefslogtreecommitdiff
path: root/clang-r353983/include/llvm/CodeGen/ExpandReductions.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang-r353983/include/llvm/CodeGen/ExpandReductions.h')
-rw-r--r--clang-r353983/include/llvm/CodeGen/ExpandReductions.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/clang-r353983/include/llvm/CodeGen/ExpandReductions.h b/clang-r353983/include/llvm/CodeGen/ExpandReductions.h
new file mode 100644
index 00000000..5dbed078
--- /dev/null
+++ b/clang-r353983/include/llvm/CodeGen/ExpandReductions.h
@@ -0,0 +1,23 @@
+//===----- ExpandReductions.h - Expand experimental reduction intrinsics --===//
+//
+// 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_CODEGEN_EXPANDREDUCTIONS_H
+#define LLVM_CODEGEN_EXPANDREDUCTIONS_H
+
+#include "llvm/IR/PassManager.h"
+
+namespace llvm {
+
+class ExpandReductionsPass
+ : public PassInfoMixin<ExpandReductionsPass> {
+public:
+ PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM);
+};
+} // end namespace llvm
+
+#endif // LLVM_CODEGEN_EXPANDREDUCTIONS_H