FLANG
CUFGPUToLLVMConversion.h
1//===------- Optimizer/Transforms/CUFGPUToLLVMConversion.h ------*- 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 FORTRAN_OPTIMIZER_TRANSFORMS_CUFGPUTOLLVMCONVERSION_H_
10#define FORTRAN_OPTIMIZER_TRANSFORMS_CUFGPUTOLLVMCONVERSION_H_
11
12#include "mlir/Pass/Pass.h"
13#include "mlir/Pass/PassRegistry.h"
14#include "mlir/Transforms/DialectConversion.h"
15
16namespace fir {
17class LLVMTypeConverter;
18}
19
20namespace cuf {
21
22void populateCUFGPUToLLVMConversionPatterns(
23 const fir::LLVMTypeConverter &converter, mlir::RewritePatternSet &patterns,
24 mlir::PatternBenefit benefit = 1);
25
26} // namespace cuf
27
28#endif // FORTRAN_OPTIMIZER_TRANSFORMS_CUFGPUTOLLVMCONVERSION_H_
Definition: TypeConverter.h:50
Definition: ConvertVariable.h:26
Definition: AbstractConverter.h:31