CIRCT  20.0.0git
CalyxEmitter.h
Go to the documentation of this file.
1 //===- CalyxEmitter.h - Calyx dialect to .futil emitter ---------*- C++ -*-===//
2 //
3 //
4 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // See https://llvm.org/LICENSE.txt for license information.
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // Defines the interface to the .futil file emitter.
11 //
12 //===----------------------------------------------------------------------===//
13 
14 #ifndef CIRCT_DIALECT_CALYX_CALYXEMITTER_H
15 #define CIRCT_DIALECT_CALYX_CALYXEMITTER_H
16 
17 #include "circt/Support/LLVM.h"
18 
19 namespace llvm {
20 class raw_ostream;
21 } // namespace llvm
22 
23 namespace mlir {
24 class ModuleOp;
25 } // namespace mlir
26 
27 namespace circt {
28 namespace calyx {
29 
30 mlir::LogicalResult exportCalyx(mlir::ModuleOp module, llvm::raw_ostream &os);
31 
33 
34 } // namespace calyx
35 } // namespace circt
36 
37 #endif // CIRCT_DIALECT_CALYX_CALYXEMITTER_H
void registerToCalyxTranslation()
mlir::LogicalResult exportCalyx(mlir::ModuleOp module, llvm::raw_ostream &os)
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
Definition: DebugAnalysis.h:21