CIRCT  20.0.0git
OMPasses.h
Go to the documentation of this file.
1 //===- Passes.h - OM dialect passes --------------------------------------===//
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 #ifndef CIRCT_DIALECT_OM_OMPASSES_H
10 #define CIRCT_DIALECT_OM_OMPASSES_H
11 
12 #include "circt/Support/LLVM.h"
13 #include "mlir/Pass/Pass.h"
14 #include <memory>
15 
16 namespace mlir {
17 class Pass;
18 } // namespace mlir
19 
20 namespace circt {
21 namespace om {
22 
23 std::unique_ptr<mlir::Pass> createOMLinkModulesPass();
24 std::unique_ptr<mlir::Pass> createFreezePathsPass(
25  std::function<StringAttr(Operation *)> getOpNameFallback = {});
26 std::unique_ptr<mlir::Pass> createVerifyObjectFieldsPass();
27 
28 #define GEN_PASS_REGISTRATION
29 #include "circt/Dialect/OM/OMPasses.h.inc"
30 
31 } // namespace om
32 } // namespace circt
33 
34 #endif // CIRCT_DIALECT_OM_OMPASSES_H
std::unique_ptr< mlir::Pass > createOMLinkModulesPass()
std::unique_ptr< mlir::Pass > createVerifyObjectFieldsPass()
std::unique_ptr< mlir::Pass > createFreezePathsPass(std::function< StringAttr(Operation *)> getOpNameFallback={})
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
Definition: DebugAnalysis.h:21
Definition: om.py:1