MLIR  20.0.0git
Passes.h
Go to the documentation of this file.
1 //===- Passes.h - Reducer Pass Construction and Registration ----*- C++ -*-===//
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 MLIR_REDUCER_PASSES_H
9 #define MLIR_REDUCER_PASSES_H
10 
11 #include "mlir/Pass/Pass.h"
12 
13 namespace mlir {
14 
15 #define GEN_PASS_DECL
16 #include "mlir/Reducer/Passes.h.inc"
17 
18 std::unique_ptr<Pass> createReductionTreePass();
19 
20 std::unique_ptr<Pass> createOptReductionPass();
21 
22 /// Generate the code for registering reducer passes.
23 #define GEN_PASS_REGISTRATION
24 #include "mlir/Reducer/Passes.h.inc"
25 
26 } // namespace mlir
27 
28 #endif // MLIR_REDUCER_PASSES_H
Include the generated interface declarations.
std::unique_ptr< Pass > createReductionTreePass()
std::unique_ptr< Pass > createOptReductionPass()