31 lines
1.2 KiB
C++
31 lines
1.2 KiB
C++
//===- AllExtensions.h - All Bufferization Extensions -----------*- C++ -*-===//
|
|
//
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This file defines a common entry point for registering all extensions to the
|
|
// bufferization dialect.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef MLIR_DIALECT_BUFFERIZATION_EXTENSIONS_ALLEXTENSIONS_H
|
|
#define MLIR_DIALECT_BUFFERIZATION_EXTENSIONS_ALLEXTENSIONS_H
|
|
|
|
namespace mlir {
|
|
class DialectRegistry;
|
|
|
|
namespace bufferization {
|
|
/// Register all extensions of the bufferization dialect. This should generally
|
|
/// only be used by tools, or other use cases that really do want *all*
|
|
/// extensions of the dialect. All other cases should prefer to instead register
|
|
/// the specific extensions they intend to take advantage of.
|
|
void registerAllExtensions(DialectRegistry ®istry);
|
|
} // namespace bufferization
|
|
|
|
} // namespace mlir
|
|
|
|
#endif // MLIR_DIALECT_BUFFERIZATION_EXTENSIONS_ALLEXTENSIONS_H
|