MLIR 22.0.0git
InlinerExtension.h
Go to the documentation of this file.
1//===- InlinerExtension.h - Func Inliner Extension 0000----------*- 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 an extension for the func dialect that implements the
10// interfaces necessary to support inlining.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef MLIR_DIALECT_FUNC_EXTENSIONS_INLINEREXTENSION_H
15#define MLIR_DIALECT_FUNC_EXTENSIONS_INLINEREXTENSION_H
16
17namespace mlir {
18class DialectRegistry;
19
20namespace func {
21/// Register the extension used to support inlining the func dialect.
22void registerInlinerExtension(DialectRegistry &registry);
23} // namespace func
24
25} // namespace mlir
26
27#endif // MLIR_DIALECT_FUNC_EXTENSIONS_INLINEREXTENSION_H
The DialectRegistry maps a dialect namespace to a constructor for the matching dialect.
void registerInlinerExtension(DialectRegistry &registry)
Register the extension used to support inlining the func dialect.
Include the generated interface declarations.