xref: /llvm-project/mlir/lib/Dialect/Func/Extensions/AllExtensions.cpp (revision adbf21f12b3069b2554efb39f2e92c6cf6f24940)
1 //===- AllExtensions.cpp - All Func Dialect Extensions --------------------===//
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 #include "mlir/Dialect/Func/Extensions/AllExtensions.h"
10 #include "mlir/Dialect/Func/Extensions/InlinerExtension.h"
11 #include "mlir/Dialect/Func/Extensions/MeshShardingExtensions.h"
12 
13 using namespace mlir;
14 
registerAllExtensions(DialectRegistry & registry)15 void mlir::func::registerAllExtensions(DialectRegistry &registry) {
16   registerInlinerExtension(registry);
17   registerShardingInterfaceExternalModels(registry);
18 }
19