CIRCT 20.0.0git
Loading...
Searching...
No Matches
OMPasses.h
Go to the documentation of this file.
1//===- OMPasses.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
16namespace mlir {
17class Pass;
18} // namespace mlir
19
20namespace circt {
21namespace om {
22
23std::unique_ptr<mlir::Pass> createOMLinkModulesPass();
24std::unique_ptr<mlir::Pass> createFreezePathsPass(
25 std::function<StringAttr(Operation *)> getOpNameFallback = {});
26std::unique_ptr<mlir::Pass> createVerifyObjectFieldsPass();
27
28#define GEN_PASS_DECL
29#define GEN_PASS_REGISTRATION
30#include "circt/Dialect/OM/OMPasses.h.inc"
31
32} // namespace om
33} // namespace circt
34
35#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 om.py:1