CIRCT 23.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> createFreezePathsPass(
24 std::function<StringAttr(Operation *)> getOpNameFallback = {});
25
26#define GEN_PASS_DECL
27#define GEN_PASS_REGISTRATION
28#include "circt/Dialect/OM/OMPasses.h.inc"
29
30} // namespace om
31} // namespace circt
32
33#endif // CIRCT_DIALECT_OM_OMPASSES_H
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