CIRCT  20.0.0git
CalyxNative.h
Go to the documentation of this file.
1 //===- CalyxNative.h - Calyx Native 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 lower the Calyx dialect to the
10 // HW dialect.
11 //
12 //===----------------------------------------------------------------------===//
13 
14 #ifndef CIRCT_CONVERSION_CALYXNATIVE_H
15 #define CIRCT_CONVERSION_CALYXNATIVE_H
16 
18 #include "circt/Support/LLVM.h"
19 #include <memory>
20 
21 namespace mlir {
22 class Pass;
23 } // namespace mlir
24 
25 namespace circt {
26 
27 #define GEN_PASS_DECL_CALYXNATIVE
28 #include "circt/Conversion/Passes.h.inc"
29 
30 std::unique_ptr<mlir::Pass> createCalyxNativePass();
31 
32 } // namespace circt
33 
34 #endif // CIRCT_CONVERSION_CALYXNATIVE_H
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
Definition: DebugAnalysis.h:21
std::unique_ptr< mlir::Pass > createCalyxNativePass()