ExpandReductions.h 726 B

1234567891011121314151617181920212223
  1. //===----- ExpandReductions.h - Expand experimental reduction intrinsics --===//
  2. //
  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
  6. //
  7. //===----------------------------------------------------------------------===//
  8. #ifndef LLVM_CODEGEN_EXPANDREDUCTIONS_H
  9. #define LLVM_CODEGEN_EXPANDREDUCTIONS_H
  10. #include "llvm/IR/PassManager.h"
  11. namespace llvm {
  12. class ExpandReductionsPass
  13. : public PassInfoMixin<ExpandReductionsPass> {
  14. public:
  15. PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM);
  16. };
  17. } // end namespace llvm
  18. #endif // LLVM_CODEGEN_EXPANDREDUCTIONS_H