CIRCT  20.0.0git
GenericReductions.h
Go to the documentation of this file.
1 //===- GenericReductions.h - Generic reduction patterns ---------*- 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_REDUCE_GENERICREDUCTIONS_H
10 #define CIRCT_REDUCE_GENERICREDUCTIONS_H
11 
12 #include "circt/Reduce/Reduction.h"
13 
14 namespace circt {
15 
16 /// Populate reduction patterns that are not specific to certain operations or
17 /// dialects
18 void populateGenericReducePatterns(MLIRContext *context,
19  ReducePatternSet &patterns);
20 
21 } // namespace circt
22 
23 #endif // CIRCT_REDUCE_GENERICREDUCTIONS_H
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
Definition: DebugAnalysis.h:21
void populateGenericReducePatterns(MLIRContext *context, ReducePatternSet &patterns)
Populate reduction patterns that are not specific to certain operations or dialects.