Loading [MathJax]/jax/input/TeX/config.js
CIRCT 21.0.0git
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CombPasses.h
Go to the documentation of this file.
1//===- Passes.h - Comb pass entry points ------------------------*- 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// This header file defines prototypes that expose pass constructors.
10//
11//===----------------------------------------------------------------------===//
12
13#ifndef CIRCT_DIALECT_COMB_COMBPASSES_H
14#define CIRCT_DIALECT_COMB_COMBPASSES_H
15
16#include "mlir/Pass/Pass.h"
17#include "mlir/Pass/PassRegistry.h"
18#include <memory>
19#include <optional>
20
21namespace mlir {
22class DataFlowSolver;
23}
24
25namespace circt {
26namespace comb {
27
28/// Generate the code for registering passes.
29#define GEN_PASS_DECL
30#define GEN_PASS_REGISTRATION
31#include "circt/Dialect/Comb/Passes.h.inc"
32
33/// Add patterns for int range based narrowing.
34void populateCombNarrowingPatterns(mlir::RewritePatternSet &patterns,
35 mlir::DataFlowSolver &solver);
36
37} // namespace comb
38} // namespace circt
39
40#endif // CIRCT_DIALECT_COMB_COMBPASSES_H
void populateCombNarrowingPatterns(mlir::RewritePatternSet &patterns, mlir::DataFlowSolver &solver)
Add patterns for int range based narrowing.
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
Definition comb.py:1