CIRCT  19.0.0git
Passes.h
Go to the documentation of this file.
1 //===- Passes.h - LLHD 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_LLHD_TRANSFORMS_PASSES_H
14 #define CIRCT_DIALECT_LLHD_TRANSFORMS_PASSES_H
15 
16 #include "circt/Support/LLVM.h"
17 #include <memory>
18 
19 namespace circt {
20 namespace hw {
21 class HWModuleOp;
22 } // namespace hw
23 
24 namespace llhd {
25 class ProcessOp;
26 
27 std::unique_ptr<OperationPass<ModuleOp>> createProcessLoweringPass();
28 
29 std::unique_ptr<OperationPass<ModuleOp>> createFunctionEliminationPass();
30 
31 std::unique_ptr<OperationPass<hw::HWModuleOp>>
33 
34 std::unique_ptr<OperationPass<hw::HWModuleOp>> createEarlyCodeMotionPass();
35 
36 std::unique_ptr<OperationPass<hw::HWModuleOp>> createTemporalCodeMotionPass();
37 
38 /// Register the LLHD Transformation passes.
40 
41 } // namespace llhd
42 } // namespace circt
43 
44 #endif // CIRCT_DIALECT_LLHD_TRANSFORMS_PASSES_H
std::unique_ptr< OperationPass< hw::HWModuleOp > > createTemporalCodeMotionPass()
std::unique_ptr< OperationPass< hw::HWModuleOp > > createEarlyCodeMotionPass()
std::unique_ptr< OperationPass< hw::HWModuleOp > > createMemoryToBlockArgumentPass()
std::unique_ptr< OperationPass< ModuleOp > > createFunctionEliminationPass()
void initLLHDTransformationPasses()
Register the LLHD Transformation passes.
std::unique_ptr< OperationPass< ModuleOp > > createProcessLoweringPass()
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
Definition: DebugAnalysis.h:21
Definition: hw.py:1