13#ifndef LLVM_LIB_BITCODE_READER_METADATALOADER_H
14#define LLVM_LIB_BITCODE_READER_METADATALOADER_H
23class BitcodeReaderValueList;
44 std::optional<MDTypeCallbackTy>
MDType;
50 std::unique_ptr<MetadataLoaderImpl> Pimpl;
90 unsigned size()
const;
Returns the sub type a function will return at a given Idx Should correspond to the result type of an ExtractValue instruction executed with just that one unsigned Idx
Machine Check Debug Module
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),...
This represents a position within a bitcode file, implemented on top of a SimpleBitstreamCursor.
Lightweight error class with error context and mandatory checking.
A Module instance is used to store all the information related to an LLVM module.
@ BasicBlock
Various leaf nodes.
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
ArrayRef(const T &OneElt) -> ArrayRef< T >