13#ifndef LLVM_LIB_BITCODE_READER_METADATALOADER_H
14#define LLVM_LIB_BITCODE_READER_METADATALOADER_H
44 std::optional<MDTypeCallbackTy>
MDType;
50 std::unique_ptr<MetadataLoaderImpl> Pimpl;
90 unsigned size()
const;
static bool parseMetadata(const StringRef &Input, uint64_t &FunctionHash, uint32_t &Attributes)
Parse Input that contains metadata.
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...
LLVM Basic Block Representation.
This represents a position within a bitcode file, implemented on top of a SimpleBitstreamCursor.
Subprogram description. Uses SubclassData1.
Lightweight error class with error context and mandatory checking.
A Module instance is used to store all the information related to an LLVM module.
The instances of the Type class are immutable: once they are created, they are never changed.
This is an optimization pass for GlobalISel generic memory operations.
std::function< Type *(unsigned)> GetTypeByIDTy
std::function< unsigned(unsigned, unsigned)> GetContainedTypeIDTy
std::function< void(Metadata **, unsigned, GetTypeByIDTy, GetContainedTypeIDTy)> MDTypeCallbackTy