MLIR  20.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 
17 namespace mlir {
18 class DialectRegistry;
19 
20 namespace func {
21 /// Register the extension used to support inlining the func dialect.
22 void registerInlinerExtension(DialectRegistry &registry);
23 } // namespace func
24 
25 } // namespace mlir
26 
27 #endif // MLIR_DIALECT_FUNC_EXTENSIONS_INLINEREXTENSION_H
void registerInlinerExtension(DialectRegistry &registry)
Register the extension used to support inlining the func dialect.
Include the generated interface declarations.