29 lines
899 B
C++
29 lines
899 B
C++
//===- NVVMTOLLVMPass.h - Convert NVVM to LLVM dialect --------*- C++ -*-===//
|
|
//
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
#ifndef MLIR_CONVERSION_NVVMTOLLVM_NVVMTOLLVMPASS_H_
|
|
#define MLIR_CONVERSION_NVVMTOLLVM_NVVMTOLLVMPASS_H_
|
|
|
|
#include <memory>
|
|
|
|
namespace mlir {
|
|
class DialectRegistry;
|
|
class LLVMTypeConverter;
|
|
class RewritePatternSet;
|
|
class Pass;
|
|
|
|
#define GEN_PASS_DECL_CONVERTNVVMTOLLVMPASS
|
|
#include "mlir/Conversion/Passes.h.inc"
|
|
|
|
void populateNVVMToLLVMConversionPatterns(RewritePatternSet &patterns);
|
|
|
|
void registerConvertNVVMToLLVMInterface(DialectRegistry ®istry);
|
|
|
|
} // namespace mlir
|
|
|
|
#endif // MLIR_CONVERSION_NVVMTOLLVM_NVVMTOLLVMPASS_H_
|