CIRCT  20.0.0git
HWToBTOR2.h
Go to the documentation of this file.
1 //===- HWToBTOR2.h - HW to BTOR2 conversion pass ----------------*- 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 file declares passes which together will convert the HW dialect to a
10 // state transition system and emit it as a btor2 string.
11 //
12 //===----------------------------------------------------------------------===//
13 
14 #ifndef CIRCT_CONVERSION_HWTOBTOR2_H
15 #define CIRCT_CONVERSION_HWTOBTOR2_H
16 
17 #include "mlir/IR/BuiltinOps.h"
18 #include "mlir/Pass/Pass.h"
19 
20 namespace mlir {
21 class Pass;
22 } // namespace mlir
23 
24 namespace circt {
25 
26 #define GEN_PASS_DECL_CONVERTHWTOBTOR2
27 #include "circt/Conversion/Passes.h.inc"
28 
29 std::unique_ptr<mlir::Pass> createConvertHWToBTOR2Pass(llvm::raw_ostream &os);
30 std::unique_ptr<mlir::Pass> createConvertHWToBTOR2Pass();
31 
32 } // namespace circt
33 
34 #endif // CIRCT_CONVERSION_HWTOBTOR2_H
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
Definition: DebugAnalysis.h:21
std::unique_ptr< mlir::Pass > createConvertHWToBTOR2Pass(llvm::raw_ostream &os)
Definition: HWToBTOR2.cpp:1038