LLVM 20.0.0git
|
Public Member Functions | |
MetadataLoaderImpl (BitstreamCursor &Stream, Module &TheModule, BitcodeReaderValueList &ValueList, MetadataLoaderCallbacks Callbacks, bool IsImporting) | |
Error | parseMetadata (bool ModuleLevel) |
Parse a METADATA_BLOCK. | |
bool | hasFwdRefs () const |
Metadata * | getMetadataFwdRefOrLoad (unsigned ID) |
DISubprogram * | lookupSubprogramForFunction (Function *F) |
bool | hasSeenOldLoopTags () const |
Error | parseMetadataAttachment (Function &F, ArrayRef< Instruction * > InstructionList) |
Parse metadata attachments. | |
Error | parseMetadataKinds () |
Parse the metadata kinds out of the METADATA_KIND_BLOCK. | |
void | setStripTBAA (bool Value) |
bool | isStrippingTBAA () const |
unsigned | size () const |
void | shrinkTo (unsigned N) |
void | upgradeDebugIntrinsics (Function &F) |
Definition at line 404 of file MetadataLoader.cpp.
|
inline |
Definition at line 724 of file MetadataLoader.cpp.
Definition at line 736 of file MetadataLoader.cpp.
|
inline |
Definition at line 734 of file MetadataLoader.cpp.
|
inline |
Definition at line 756 of file MetadataLoader.cpp.
|
inline |
Definition at line 764 of file MetadataLoader.cpp.
|
inline |
Definition at line 752 of file MetadataLoader.cpp.
References F, and llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::lookup().
Parse a METADATA_BLOCK.
If ModuleLevel is true then we are parsing module level metadata.
Definition at line 1057 of file MetadataLoader.cpp.
References assert(), llvm::consumeError(), DisableLazyLoading, llvm::BitstreamEntry::EndBlock, llvm::BitstreamEntry::Error, error, llvm::Expected< T >::get(), llvm::bitc::METADATA_BLOCK_ID, llvm::BitstreamEntry::Record, llvm::BitstreamEntry::SubBlock, llvm::Error::success(), and llvm::Expected< T >::takeError().
Error llvm::MetadataLoader::MetadataLoaderImpl::parseMetadataAttachment | ( | Function & | F, |
ArrayRef< Instruction * > | InstructionList | ||
) |
Parse metadata attachments.
Definition at line 2348 of file MetadataLoader.cpp.
References assert(), llvm::BitstreamEntry::EndBlock, llvm::BitstreamEntry::Error, error, F, llvm::Expected< T >::get(), I, Idx, llvm::MDNode::isTemporary(), llvm::bitc::METADATA_ATTACHMENT, llvm::bitc::METADATA_ATTACHMENT_ID, llvm::BitstreamEntry::Record, llvm::Instruction::setMetadata(), llvm::BitstreamEntry::SubBlock, llvm::Error::success(), llvm::Expected< T >::takeError(), llvm::upgradeInstructionLoopAttachment(), and llvm::UpgradeTBAANode().
Error llvm::MetadataLoader::MetadataLoaderImpl::parseMetadataKinds | ( | ) |
Parse the metadata kinds out of the METADATA_KIND_BLOCK.
Definition at line 2452 of file MetadataLoader.cpp.
References llvm::BitstreamEntry::EndBlock, llvm::BitstreamEntry::Error, error, llvm::Expected< T >::get(), llvm::bitc::METADATA_KIND, llvm::bitc::METADATA_KIND_BLOCK_ID, llvm::BitstreamEntry::Record, llvm::BitstreamEntry::SubBlock, llvm::Error::success(), and llvm::Expected< T >::takeError().
|
inline |
Definition at line 763 of file MetadataLoader.cpp.
|
inline |
Definition at line 767 of file MetadataLoader.cpp.
References N.
|
inline |
Definition at line 766 of file MetadataLoader.cpp.
|
inline |
Definition at line 768 of file MetadataLoader.cpp.
References F.