//===- BytecodeReaderConfig.h - MLIR Bytecode Reader Config -----*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // // This header config for reading MLIR bytecode files/streams. // //===----------------------------------------------------------------------===// #ifndef MLIR_BYTECODE_BYTECODEREADERCONFIG_H #define MLIR_BYTECODE_BYTECODEREADERCONFIG_H #include "mlir/Support/LLVM.h" #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/StringRef.h" namespace mlir { class Attribute; class DialectBytecodeReader; class Type; /// A class to interact with the attributes and types parser when parsing MLIR /// bytecode. template <class T> class AttrTypeBytecodeReader { … }; //===----------------------------------------------------------------------===// // BytecodeReaderConfig //===----------------------------------------------------------------------===// /// A class containing bytecode-specific configurations of the `ParserConfig`. class BytecodeReaderConfig { … }; } // namespace mlir #endif // MLIR_BYTECODE_BYTECODEREADERCONFIG_H