CIRCT  19.0.0git
HWPasses.h
Go to the documentation of this file.
1 //===- Passes.h - HW 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_HW_HWPASSES_H
14 #define CIRCT_DIALECT_HW_HWPASSES_H
15 
16 #include "mlir/Pass/Pass.h"
17 #include "mlir/Pass/PassRegistry.h"
18 #include <memory>
19 #include <optional>
20 
21 namespace circt {
22 namespace hw {
23 
24 std::unique_ptr<mlir::Pass> createPrintInstanceGraphPass();
25 std::unique_ptr<mlir::Pass> createHWSpecializePass();
26 std::unique_ptr<mlir::Pass> createPrintHWModuleGraphPass();
27 std::unique_ptr<mlir::Pass> createFlattenIOPass(bool recursiveFlag = true,
28  bool flattenExternFlag = false,
29  char joinChar = '.');
30 std::unique_ptr<mlir::Pass> createVerifyInnerRefNamespacePass();
31 
32 /// Generate the code for registering passes.
33 #define GEN_PASS_REGISTRATION
34 #include "circt/Dialect/HW/Passes.h.inc"
35 
36 } // namespace hw
37 } // namespace circt
38 
39 #endif // CIRCT_DIALECT_HW_HWPASSES_H
std::unique_ptr< mlir::Pass > createPrintHWModuleGraphPass()
std::unique_ptr< mlir::Pass > createVerifyInnerRefNamespacePass()
std::unique_ptr< mlir::Pass > createPrintInstanceGraphPass()
std::unique_ptr< mlir::Pass > createFlattenIOPass(bool recursiveFlag=true, bool flattenExternFlag=false, char joinChar='.')
Definition: FlattenIO.cpp:521
std::unique_ptr< mlir::Pass > createHWSpecializePass()
This file defines an intermediate representation for circuits acting as an abstraction for constraint...
Definition: DebugAnalysis.h:21
Definition: hw.py:1