CIRCT  19.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 <memory>
20 
21 namespace circt {
22 namespace calyx {
23 
24 std::unique_ptr<mlir::Pass> createCompileControlPass();
25 std::unique_ptr<mlir::Pass> createGoInsertionPass();
26 std::unique_ptr<mlir::Pass> createRemoveCombGroupsPass();
27 std::unique_ptr<mlir::Pass> createRemoveGroupsPass();
28 std::unique_ptr<mlir::Pass> createClkInsertionPass();
29 std::unique_ptr<mlir::Pass> createResetInsertionPass();
30 std::unique_ptr<mlir::Pass> createGroupInvariantCodeMotionPass();
31 
32 /// Generate the code for registering passes.
33 #define GEN_PASS_REGISTRATION
34 #include "circt/Dialect/Calyx/CalyxPasses.h.inc"
35 
36 } // namespace calyx
37 } // namespace circt
38 
39 #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:51
std::unique_ptr< mlir::Pass > createGroupInvariantCodeMotionPass()
Definition: GICM.cpp:45
std::unique_ptr< mlir::Pass > createCompileControlPass()
std::unique_ptr< mlir::Pass > createClkInsertionPass()
This file defines an intermediate representation for circuits acting as an abstraction for constraint...
Definition: DebugAnalysis.h:21