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 llhd {
21 
22 class ProcOp;
23 
24 std::unique_ptr<OperationPass<ModuleOp>> createProcessLoweringPass();
25 
26 std::unique_ptr<OperationPass<ModuleOp>> createFunctionEliminationPass();
27 
28 std::unique_ptr<OperationPass<ProcOp>> createMemoryToBlockArgumentPass();
29 
30 std::unique_ptr<OperationPass<ProcOp>> createEarlyCodeMotionPass();
31 
32 /// Register the LLHD Transformation passes.
34 
35 } // namespace llhd
36 } // namespace circt
37 
38 #endif // CIRCT_DIALECT_LLHD_TRANSFORMS_PASSES_H
std::unique_ptr< OperationPass< ProcOp > > createMemoryToBlockArgumentPass()
std::unique_ptr< OperationPass< ProcOp > > createEarlyCodeMotionPass()
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