MLIR 23.0.0git
AllExtensions.h
Go to the documentation of this file.
1//===- AllExtensions.h - All Bufferization Extensions -----------*- 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 file defines a common entry point for registering all extensions to the
10// bufferization dialect.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef MLIR_DIALECT_BUFFERIZATION_EXTENSIONS_ALLEXTENSIONS_H
15#define MLIR_DIALECT_BUFFERIZATION_EXTENSIONS_ALLEXTENSIONS_H
16
17namespace mlir {
18class DialectRegistry;
19
20namespace bufferization {
21/// Register all extensions of the bufferization dialect. This should generally
22/// only be used by tools, or other use cases that really do want *all*
23/// extensions of the dialect. All other cases should prefer to instead register
24/// the specific extensions they intend to take advantage of.
26} // namespace bufferization
27
28} // namespace mlir
29
30#endif // MLIR_DIALECT_BUFFERIZATION_EXTENSIONS_ALLEXTENSIONS_H
The DialectRegistry maps a dialect namespace to a constructor for the matching dialect.
void registerAllExtensions(DialectRegistry &registry)
Register all extensions of the bufferization dialect.
Include the generated interface declarations.