MLIR  20.0.0git
Passes.h
Go to the documentation of this file.
1 //===- Passes.h - Pass Entrypoints ------------------------------*- 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 
9 #ifndef MLIR_DIALECT_QUANT_TRANSFORMS_PASSES_H_
10 #define MLIR_DIALECT_QUANT_TRANSFORMS_PASSES_H_
11 
12 #include "mlir/Pass/Pass.h"
13 
14 namespace mlir {
15 namespace quant {
16 
17 #define GEN_PASS_DECL
18 #include "mlir/Dialect/Quant/Transforms/Passes.h.inc"
19 
20 /// Generate the code for registering passes.
21 #define GEN_PASS_REGISTRATION
22 #include "mlir/Dialect/Quant/Transforms/Passes.h.inc"
23 
24 void populateLowerQuantOpsPatterns(RewritePatternSet &patterns);
25 
26 } // namespace quant
27 } // namespace mlir
28 
29 #endif // MLIR_DIALECT_QUANT_TRANSFORMS_PASSES_H_
void populateLowerQuantOpsPatterns(RewritePatternSet &patterns)
Include the generated interface declarations.