CIRCT  20.0.0git
CalyxPasses.h
Go to the documentation of this file.
1 //===- CalyxPasses.h - Calyx 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_CALYX_CALYXPASSES_H
14 #define CIRCT_DIALECT_CALYX_CALYXPASSES_H
15 
17 #include "circt/Dialect/HW/HWOps.h"
18 #include "circt/Support/LLVM.h"
19 #include "mlir/Pass/Pass.h"
20 #include <memory>
21 
22 namespace circt {
23 namespace calyx {
24 
25 std::unique_ptr<mlir::Pass> createCompileControlPass();
26 std::unique_ptr<mlir::Pass> createGoInsertionPass();
27 std::unique_ptr<mlir::Pass> createRemoveCombGroupsPass();
28 std::unique_ptr<mlir::Pass> createRemoveGroupsPass();
29 std::unique_ptr<mlir::Pass> createClkInsertionPass();
30 std::unique_ptr<mlir::Pass> createResetInsertionPass();
31 std::unique_ptr<mlir::Pass> createGroupInvariantCodeMotionPass();
32 
33 /// Generate the code for registering passes.
34 #define GEN_PASS_REGISTRATION
35 #include "circt/Dialect/Calyx/CalyxPasses.h.inc"
36 
37 } // namespace calyx
38 } // namespace circt
39 
40 #endif // CIRCT_DIALECT_CALYX_CALYXPASSES_H
std::unique_ptr< mlir::Pass > createResetInsertionPass()
std::unique_ptr< mlir::Pass > createRemoveCombGroupsPass()
std::unique_ptr< mlir::Pass > createRemoveGroupsPass()
std::unique_ptr< mlir::Pass > createGoInsertionPass()
Definition: GoInsertion.cpp:58
std::unique_ptr< mlir::Pass > createGroupInvariantCodeMotionPass()
Definition: GICM.cpp:52
std::unique_ptr< mlir::Pass > createCompileControlPass()
std::unique_ptr< mlir::Pass > createClkInsertionPass()
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
Definition: DebugAnalysis.h:21