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