| 1 | //===- CIRDialectBytecode.h - CIR 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 CIR dialect bytecode implementation. |
| 10 | // |
| 11 | //===----------------------------------------------------------------------===// |
| 12 | |
| 13 | #ifndef LIB_CLANG_CIR_DIALECT_IR_CIRDIALECTBYTECODE_H |
| 14 | #define LIB_CLANG_CIR_DIALECT_IR_CIRDIALECTBYTECODE_H |
| 15 | |
| 16 | namespace cir { |
| 17 | class CIRDialect; |
| 18 | |
| 19 | namespace detail { |
| 20 | /// Add the interfaces necessary for encoding the CIR dialect components in |
| 21 | /// bytecode. |
| 22 | void addBytecodeInterface(CIRDialect *dialect); |
| 23 | } // namespace detail |
| 24 | } // namespace cir |
| 25 | |
| 26 | #endif // LIB_CLANG_CIR_DIALECT_IR_CIRDIALECTBYTECODE_H |
| 27 | |