MLIR  20.0.0git
Passes.h
Go to the documentation of this file.
1 //===-- Passes.h - AMDGPU transformation pass declarations --*- 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 file declares the transformation passes for the TOSA Dialect in MLIR.
10 //
11 //===----------------------------------------------------------------------===//
12 
13 #ifndef MLIR_DIALECT_AMDGPU_TRANSFORMS_PASSES_H_
14 #define MLIR_DIALECT_AMDGPU_TRANSFORMS_PASSES_H_
15 
17 #include "mlir/Pass/Pass.h"
18 
19 namespace mlir {
20 class ConversionTarget;
21 namespace amdgpu {
22 
23 #define GEN_PASS_DECL_AMDGPUEMULATEATOMICSPASS
24 #define GEN_PASS_REGISTRATION
25 #include "mlir/Dialect/AMDGPU/Transforms/Passes.h.inc"
26 
27 void populateAmdgpuEmulateAtomicsPatterns(ConversionTarget &target,
28  RewritePatternSet &patterns,
29  Chipset chipset);
30 } // namespace amdgpu
31 } // namespace mlir
32 
33 #endif // MLIR_DIALECT_AMDGPU_TRANSFORMS_PASSES_H_
void populateAmdgpuEmulateAtomicsPatterns(ConversionTarget &target, RewritePatternSet &patterns, Chipset chipset)
Include the generated interface declarations.