MLIR 24.0.0git
LLVMInterfaces.h
Go to the documentation of this file.
1//===- LLVMInterfaces.h - OpenACC external models ---------------*- 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 MLIR_DIALECT_OPENACC_EXTENSIONS_LLVMINTERFACES_H
10#define MLIR_DIALECT_OPENACC_EXTENSIONS_LLVMINTERFACES_H
11
12namespace mlir {
13class DialectRegistry;
14namespace acc {
15/// Register OpenACC interfaces for LLVM IR. Loading OpenACC loads LLVM and
16/// Arith so that these interfaces can generate IR.
17void registerLLVMInterfaces(DialectRegistry &registry);
18} // namespace acc
19} // namespace mlir
20
21#endif // MLIR_DIALECT_OPENACC_EXTENSIONS_LLVMINTERFACES_H
The DialectRegistry maps a dialect namespace to a constructor for the matching dialect.
void registerLLVMInterfaces(DialectRegistry &registry)
Register OpenACC interfaces for LLVM IR.
Include the generated interface declarations.