Andrew Scull | 5e1ddfa | 2018-08-14 10:06:54 +0100 | [diff] [blame] | 1 | //===----- ExpandReductions.h - Expand experimental reduction intrinsics --===// |
| 2 | // |
Andrew Walbran | 16937d0 | 2019-10-22 13:54:20 +0100 | [diff] [blame] | 3 | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
| 4 | // See https://llvm.org/LICENSE.txt for license information. |
| 5 | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
Andrew Scull | 5e1ddfa | 2018-08-14 10:06:54 +0100 | [diff] [blame] | 6 | // |
| 7 | //===----------------------------------------------------------------------===// |
| 8 | |
| 9 | #ifndef LLVM_CODEGEN_EXPANDREDUCTIONS_H |
| 10 | #define LLVM_CODEGEN_EXPANDREDUCTIONS_H |
| 11 | |
| 12 | #include "llvm/IR/PassManager.h" |
| 13 | |
| 14 | namespace llvm { |
| 15 | |
| 16 | class ExpandReductionsPass |
| 17 | : public PassInfoMixin<ExpandReductionsPass> { |
| 18 | public: |
| 19 | PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM); |
| 20 | }; |
| 21 | } // end namespace llvm |
| 22 | |
| 23 | #endif // LLVM_CODEGEN_EXPANDREDUCTIONS_H |