MLIR  20.0.0git
InlinerInterfaceImpl.h
Go to the documentation of this file.
1 //===- InlinerInterfaceImpl.h - Inlining for LLVM the dialect ---*- 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 // Allows registering the LLVM DialectInlinerInterface with the LLVM dialect.
10 //
11 //===----------------------------------------------------------------------===//
12 
13 #ifndef MLIR_DIALECT_LLVMIR_TRANSFORMS_INLINERINTERFACEIMPL_H
14 #define MLIR_DIALECT_LLVMIR_TRANSFORMS_INLINERINTERFACEIMPL_H
15 
16 namespace mlir {
17 class DialectRegistry;
18 
19 namespace LLVM {
20 
21 /// Register the `LLVMInlinerInterface` implementation of
22 /// `DialectInlinerInterface` with the LLVM dialect.
23 void registerInlinerInterface(DialectRegistry &registry);
24 
25 } // namespace LLVM
26 } // namespace mlir
27 
28 #endif // MLIR_DIALECT_LLVMIR_TRANSFORMS_INLINERINTERFACEIMPL_H
void registerInlinerInterface(DialectRegistry &registry)
Register the LLVMInlinerInterface implementation of DialectInlinerInterface with the LLVM dialect.
Include the generated interface declarations.