//===-- Bitcode/Reader/MetadataLoader.h - Load Metadatas -------*- 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 class handles loading Metadatas. // //===----------------------------------------------------------------------===// #ifndef LLVM_LIB_BITCODE_READER_METADATALOADER_H #define LLVM_LIB_BITCODE_READER_METADATALOADER_H #include "llvm/Support/Error.h" #include <functional> #include <memory> namespace llvm { class BasicBlock; class BitcodeReaderValueList; class BitstreamCursor; class DISubprogram; class Function; class Instruction; class Metadata; class Module; class Type; template <typename T> class ArrayRef; GetTypeByIDTy; GetContainedTypeIDTy; MDTypeCallbackTy; struct MetadataLoaderCallbacks { … }; /// Helper class that handles loading Metadatas and keeping them available. class MetadataLoader { … }; } #endif // LLVM_LIB_BITCODE_READER_METADATALOADER_H