MLIR  16.0.0git
Passes.h
Go to the documentation of this file.
1 //===- Passes.h - NVGPU pass entry points -----------------------*- 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 // This header file defines prototypes that expose pass constructors.
10 //
11 //===----------------------------------------------------------------------===//
12 #ifndef MLIR_DIALECT_NVGPU_PASSES_H_
13 #define MLIR_DIALECT_NVGPU_PASSES_H_
14 
15 #include "mlir/Pass/Pass.h"
16 
17 namespace mlir {
18 namespace nvgpu {
19 
20 /// Create a pass to optimize shared memory reads and writes.
21 std::unique_ptr<Pass> createOptimizeSharedMemoryPass();
22 
23 } // namespace nvgpu
24 
25 //===----------------------------------------------------------------------===//
26 // Registration
27 //===----------------------------------------------------------------------===//
28 
29 /// Generate the code for registering passes.
30 #define GEN_PASS_REGISTRATION
31 #include "mlir/Dialect/NVGPU/Passes.h.inc"
32 
33 } // namespace mlir
34 
35 #endif // MLIR_DIALECT_NVGPU_PASSES_H_
Include the generated interface declarations.
std::unique_ptr< Pass > createOptimizeSharedMemoryPass()
Create a pass to optimize shared memory reads and writes.