MLIR
24.0.0git
include
mlir
Target
LLVMIR
Dialect
OpenACC
OpenACCToLLVMIRTranslation.h
Go to the documentation of this file.
1
//===- OpenACCToLLVMIRTranslation.h - OpenACC Dialect to LLVM IR -*- 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 provides registration calls for OpenACC dialect to LLVM IR translation.
10
//
11
//===----------------------------------------------------------------------===//
12
13
#ifndef MLIR_TARGET_LLVMIR_DIALECT_OPENACC_OPENACCTOLLVMIRTRANSLATION_H
14
#define MLIR_TARGET_LLVMIR_DIALECT_OPENACC_OPENACCTOLLVMIRTRANSLATION_H
15
16
namespace
mlir
{
17
class
DialectRegistry
;
18
class
MLIRContext
;
19
20
/// Register the OpenACC dialect and the translation from it to the LLVM IR in
21
/// the given registry.
22
void
registerOpenACCDialectTranslation
(
DialectRegistry
®istry);
23
24
/// Register the OpenACC dialect and the translation from it in the registry
25
/// associated with the given context.
26
void
registerOpenACCDialectTranslation
(
MLIRContext
&context);
27
}
// namespace mlir
28
29
#endif
// MLIR_TARGET_LLVMIR_DIALECT_OPENACC_OPENACCTOLLVMIRTRANSLATION_H
mlir::DialectRegistry
The DialectRegistry maps a dialect namespace to a constructor for the matching dialect.
Definition
DialectRegistry.h:150
mlir::MLIRContext
MLIRContext is the top-level object for a collection of MLIR operations.
Definition
MLIRContext.h:71
mlir
Include the generated interface declarations.
Definition
ABIRewriteContext.h:32
mlir::registerOpenACCDialectTranslation
void registerOpenACCDialectTranslation(DialectRegistry ®istry)
Register the OpenACC dialect and the translation from it to the LLVM IR in the given registry.
Definition
OpenACCToLLVMIRTranslation.cpp:208
Generated on
for MLIR by
1.14.0