MLIR  20.0.0git
GPUToLLVM.h
Go to the documentation of this file.
1 //===- GPUToLLVM.h - Convert GPU to LLVM dialect ----------------*- 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 files declares registration functions for converting GPU to LLVM.
10 //
11 //===----------------------------------------------------------------------===//
12 
13 #ifndef MLIR_CONVERSION_GPUCOMMON_GPUTOLLVM_H
14 #define MLIR_CONVERSION_GPUCOMMON_GPUTOLLVM_H
15 
16 namespace mlir {
17 class DialectRegistry;
18 namespace gpu {
19 /// Registers the `ConvertToLLVMOpInterface` interface on the `gpu::GPUModuleOP`
20 /// operation.
21 void registerConvertGpuToLLVMInterface(DialectRegistry &registry);
22 } // namespace gpu
23 } // namespace mlir
24 
25 #endif // MLIR_CONVERSION_GPUCOMMON_GPUTOLLVM_H
void registerConvertGpuToLLVMInterface(DialectRegistry &registry)
Registers the ConvertToLLVMOpInterface interface on the gpu::GPUModuleOP operation.
Include the generated interface declarations.