MLIR 22.0.0git
NVVMToLLVM.h
Go to the documentation of this file.
1//===- NVVMTOLLVMPass.h - Convert NVVM 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#ifndef MLIR_CONVERSION_NVVMTOLLVM_NVVMTOLLVMPASS_H_
9#define MLIR_CONVERSION_NVVMTOLLVM_NVVMTOLLVMPASS_H_
10
11#include <memory>
12
13namespace mlir {
14class DialectRegistry;
17class Pass;
18
19#define GEN_PASS_DECL_CONVERTNVVMTOLLVMPASS
20#include "mlir/Conversion/Passes.h.inc"
21
22void populateNVVMToLLVMConversionPatterns(RewritePatternSet &patterns);
23
24void registerConvertNVVMToLLVMInterface(DialectRegistry &registry);
25
26} // namespace mlir
27
28#endif // MLIR_CONVERSION_NVVMTOLLVM_NVVMTOLLVMPASS_H_
The DialectRegistry maps a dialect namespace to a constructor for the matching dialect.
Conversion from types to the LLVM IR dialect.
The abstract base pass class.
Definition Pass.h:51
Include the generated interface declarations.
void populateNVVMToLLVMConversionPatterns(RewritePatternSet &patterns)
const FrozenRewritePatternSet & patterns
void registerConvertNVVMToLLVMInterface(DialectRegistry &registry)