MLIR  16.0.0git
Passes.h
Go to the documentation of this file.
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_TENSOR_TRANSFORMS_PASSES_H_
10 #define MLIR_DIALECT_TENSOR_TRANSFORMS_PASSES_H_
11 
12 #include "mlir/Pass/Pass.h"
13 
14 namespace mlir {
15 /// Creates an instance of `tensor` dialect bufferization pass.
16 std::unique_ptr<Pass> createTensorBufferizePass();
17 
18 //===----------------------------------------------------------------------===//
19 // Registration
20 //===----------------------------------------------------------------------===//
21 
22 namespace tensor {
23 /// Generate the code for registering passes.
24 #define GEN_PASS_REGISTRATION
25 #include "mlir/Dialect/Tensor/Transforms/Passes.h.inc"
26 } // namespace tensor
27 
28 } // namespace mlir
29 
30 #endif // MLIR_DIALECT_TENSOR_TRANSFORMS_PASSES_H_
Include the generated interface declarations.
std::unique_ptr< Pass > createTensorBufferizePass()
Creates an instance of tensor dialect bufferization pass.
Definition: Bufferize.cpp:48