|
LLVM 24.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 |
| MDNode * | upgradeAliasScopeList (MDNode *ScopeList) |
Mark any domains in ScopeList that don't have a disjointness flag as non-disjoint. | |
| 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 457 of file MetadataLoader.cpp.
|
inline |
Definition at line 829 of file MetadataLoader.cpp.
References getContext(), and llvm::move().
Definition at line 841 of file MetadataLoader.cpp.
References llvm::dbgs(), and LLVM_DEBUG.
|
inline |
Definition at line 839 of file MetadataLoader.cpp.
|
inline |
Definition at line 862 of file MetadataLoader.cpp.
|
inline |
Definition at line 893 of file MetadataLoader.cpp.
|
inline |
Definition at line 858 of file MetadataLoader.cpp.
References F.
Parse a METADATA_BLOCK.
If ModuleLevel is true then we are parsing module level metadata.
Definition at line 1187 of file MetadataLoader.cpp.
References assert(), llvm::consumeError(), llvm::dbgs(), DisableLazyLoading, llvm::BitstreamEntry::EndBlock, llvm::BitstreamEntry::Error, error, llvm::Expected< T >::get(), LLVM_DEBUG, 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 2655 of file MetadataLoader.cpp.
References assert(), llvm::dbgs(), llvm::dyn_cast_or_null(), llvm::BitstreamEntry::EndBlock, llvm::BitstreamEntry::Error, error, F, llvm::Expected< T >::get(), I, llvm::isa(), llvm::MDNode::isTemporary(), LLVM_DEBUG, 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(), upgradeAliasScopeList(), llvm::upgradeInstructionLoopAttachment(), llvm::UpgradeTBAANode(), and llvm::UpgradeTBAAStructNode().
| Error llvm::MetadataLoader::MetadataLoaderImpl::parseMetadataKinds | ( | ) |
Parse the metadata kinds out of the METADATA_KIND_BLOCK.
Definition at line 2769 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 892 of file MetadataLoader.cpp.
|
inline |
Definition at line 896 of file MetadataLoader.cpp.
References N.
|
inline |
Definition at line 895 of file MetadataLoader.cpp.
|
inline |
Mark any domains in ScopeList that don't have a disjointness flag as non-disjoint.
Returns the original list if there are no changes.
Definition at line 866 of file MetadataLoader.cpp.
References AbstractManglingParser< Derived, Alloc >::Ops, Changed, llvm::dyn_cast(), llvm::MDNode::get(), llvm::MDNode::getContext(), llvm::MDNode::operands(), and upgradeAliasScope().
Referenced by parseMetadataAttachment().
|
inline |
Definition at line 897 of file MetadataLoader.cpp.
References F.