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