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_EMITC_TRANSFORMS_PASSES_H_
10#define MLIR_DIALECT_EMITC_TRANSFORMS_PASSES_H_
11
12#include "mlir/Pass/Pass.h"
13
14namespace mlir {
15namespace emitc {
16
17//===----------------------------------------------------------------------===//
18// Passes
19//===----------------------------------------------------------------------===//
20
21/// Creates an instance of the C-style expressions forming pass.
22std::unique_ptr<Pass> createFormExpressionsPass();
23
24//===----------------------------------------------------------------------===//
25// Registration
26//===----------------------------------------------------------------------===//
27
28/// Generate the code for registering passes.
29#define GEN_PASS_REGISTRATION
30#include "mlir/Dialect/EmitC/Transforms/Passes.h.inc"
31
32} // namespace emitc
33} // namespace mlir
34
35#endif // MLIR_DIALECT_EMITC_TRANSFORMS_PASSES_H_
36

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