CIRCT  20.0.0git
HWReductions.h
Go to the documentation of this file.
1 //===- HWReductions.h - HW reduction interface declaration ------*- 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 CIRCT_DIALECT_HW_HWREDUCTIONS_H
10 #define CIRCT_DIALECT_HW_HWREDUCTIONS_H
11 
12 #include "circt/Reduce/Reduction.h"
13 
14 namespace circt {
15 namespace hw {
16 
17 /// A dialect interface to provide reduction patterns to a reducer tool.
21 };
22 
23 /// Register the HW Reduction pattern dialect interface to the given registry.
24 void registerReducePatternDialectInterface(mlir::DialectRegistry &registry);
25 
26 } // namespace hw
27 } // namespace circt
28 
29 #endif // CIRCT_DIALECT_HW_HWREDUCTIONS_H
void registerReducePatternDialectInterface(mlir::DialectRegistry &registry)
Register the HW Reduction pattern dialect interface to the given registry.
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
Definition: DebugAnalysis.h:21
Definition: hw.py:1
A dialect interface to provide reduction patterns to a reducer tool.
Definition: Reduction.h:137
ReducePatternDialectInterface(Dialect *dialect)
Definition: Reduction.h:138
A dialect interface to provide reduction patterns to a reducer tool.
Definition: HWReductions.h:18
void populateReducePatterns(circt::ReducePatternSet &patterns) const override