1//===- Passes.h - Pass Entrypoints ------------------------------*- 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#ifndef MLIR_DIALECT_MLPROGRAM_TRANSFORMS_PASSES_H_
10#define MLIR_DIALECT_MLPROGRAM_TRANSFORMS_PASSES_H_
11
12#include "mlir/Dialect/Func/IR/FuncOps.h"
13#include "mlir/IR/BuiltinOps.h"
14#include "mlir/Pass/Pass.h"
15
16namespace mlir {
17namespace ml_program {
18
19#define GEN_PASS_DECL
20#include "mlir/Dialect/MLProgram/Transforms/Passes.h.inc"
21
22//===----------------------------------------------------------------------===//
23// Registration
24//===----------------------------------------------------------------------===//
25
26std::unique_ptr<OperationPass<ModuleOp>> createMLProgramPipelineGlobalsPass();
27
28/// Generate the code for registering passes.
29#define GEN_PASS_REGISTRATION
30#include "mlir/Dialect/MLProgram/Transforms/Passes.h.inc"
31
32} // namespace ml_program
33} // namespace mlir
34
35#endif // MLIR_DIALECT_MLPROGRAM_TRANSFORMS_PASSES_H_
36

source code of mlir/include/mlir/Dialect/MLProgram/Transforms/Passes.h