CIRCT  20.0.0git
ExportChiselInterface.h
Go to the documentation of this file.
1 //===- ExportChiselInterface.h - Chisel Interface Emitter -------*- 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 // Defines the interface to the Chisel interface emitter.
10 //
11 //===----------------------------------------------------------------------===//
12 
13 #ifndef CIRCT_CONVERSION_EXPORTCHISELINTERFACE_H_
14 #define CIRCT_CONVERSION_EXPORTCHISELINTERFACE_H_
15 
16 #include "mlir/IR/BuiltinOps.h"
17 #include "mlir/Pass/Pass.h"
18 
19 namespace circt {
20 
21 #define GEN_PASS_DECL_EXPORTCHISELINTERFACE
22 #define GEN_PASS_DECL_EXPORTSPLITCHISELINTERFACE
23 #include "circt/Conversion/Passes.h.inc"
24 
25 std::unique_ptr<mlir::Pass>
26 createExportChiselInterfacePass(llvm::raw_ostream &os);
27 
28 std::unique_ptr<mlir::Pass>
29 createExportSplitChiselInterfacePass(mlir::StringRef outputDirectory = "./");
30 
31 std::unique_ptr<mlir::Pass> createExportChiselInterfacePass();
32 
33 } // namespace circt
34 
35 #endif // CIRCT_CONVERSION_EXPORTCHISELINTERFACE_H_
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
Definition: DebugAnalysis.h:21
std::unique_ptr< mlir::Pass > createExportSplitChiselInterfacePass(mlir::StringRef outputDirectory="./")
std::unique_ptr< mlir::Pass > createExportChiselInterfacePass(llvm::raw_ostream &os)