MLIR 22.0.0git
TilingInterfaceImpl.h
Go to the documentation of this file.
1//===- TilingInterfaceImpl.h - Implementation of TilingInterface ----------===//
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_LINALG_TILINGINTERFACEIMPL_H
10#define MLIR_DIALECT_LINALG_TILINGINTERFACEIMPL_H
11
12namespace mlir {
13class DialectRegistry;
14
15namespace linalg {
16void registerTilingInterfaceExternalModels(DialectRegistry &registry);
17
18/// Similar to the above registeration, but it is only for `tensor.pack` and
19/// `tensor.unpack` ops.
21 DialectRegistry &registry);
22} // namespace linalg
23} // namespace mlir
24
25#endif // MLIR_DIALECT_LINALG_TILINGINTERFACEIMPL_H
The DialectRegistry maps a dialect namespace to a constructor for the matching dialect.
void registerTilingInterfaceExternalModelsForPackUnPackOps(DialectRegistry &registry)
Similar to the above registeration, but it is only for tensor.pack and tensor.unpack ops.
void registerTilingInterfaceExternalModels(DialectRegistry &registry)
Include the generated interface declarations.