MLIR  22.0.0git
LLVMDialectBytecode.h
Go to the documentation of this file.
1 //===- LLVMDialectBytecode.h - LLVM Bytecode Implementation -----*- 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 header defines hooks into the LLVM dialect bytecode
10 // implementation.
11 //
12 //===----------------------------------------------------------------------===//
13 
14 #ifndef LIB_MLIR_DIALECT_LLVM_IR_LLVMDIALECTBYTECODE_H
15 #define LIB_MLIR_DIALECT_LLVM_IR_LLVMDIALECTBYTECODE_H
16 
17 namespace mlir::LLVM {
18 class LLVMDialect;
19 
20 namespace detail {
21 /// Add the interfaces necessary for encoding the LLVM dialect components in
22 /// bytecode.
23 void addBytecodeInterface(LLVMDialect *dialect);
24 } // namespace detail
25 } // namespace mlir::LLVM
26 
27 #endif // LIB_MLIR_DIALECT_LLVM_IR_LLVMDIALECTBYTECODE_H
void addBytecodeInterface(LLVMDialect *dialect)
Add the interfaces necessary for encoding the LLVM dialect components in bytecode.