//===- CodeGenDataWriter.h --------------------------------------*- 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 file contains support for writing codegen data. // //===----------------------------------------------------------------------===// #ifndef LLVM_CGDATA_CODEGENDATAWRITER_H #define LLVM_CGDATA_CODEGENDATAWRITER_H #include "llvm/CGData/CodeGenData.h" #include "llvm/CGData/OutlinedHashTreeRecord.h" #include "llvm/Support/EndianStream.h" #include "llvm/Support/Error.h" namespace llvm { /// A struct to define how the data stream should be patched. struct CGDataPatchItem { … }; /// A wrapper class to abstract writer stream with support of bytes /// back patching. class CGDataOStream { … }; class CodeGenDataWriter { … }; } // end namespace llvm #endif // LLVM_CGDATA_CODEGENDATAWRITER_H