class MetadataLoader::MetadataLoaderImpl
Declaration
class MetadataLoader::MetadataLoaderImpl { /* full declaration omitted */ };
Declared at: llvm/lib/Bitcode/Reader/MetadataLoader.cpp:421
Method Overview
- public MetadataLoaderImpl(llvm::BitstreamCursor & Stream, llvm::Module & TheModule, llvm::BitcodeReaderValueList & ValueList, std::function<Type *(unsigned int)> getTypeByID, bool IsImporting)
- public llvm::Metadata * getMetadataFwdRefOrLoad(unsigned int ID)
- public bool hasFwdRefs() const
- public bool hasSeenOldLoopTags()
- public bool isStrippingTBAA()
- public llvm::DISubprogram * lookupSubprogramForFunction(llvm::Function * F)
- public llvm::Error parseMetadata(bool ModuleLevel)
- public llvm::Error parseMetadataAttachment(llvm::Function & F, const SmallVectorImpl<llvm::Instruction *> & InstructionList)
- public llvm::Error parseMetadataKinds()
- public void setStripTBAA(bool Value)
- public void shrinkTo(unsigned int N)
- public unsigned int size() const
- public void upgradeDebugIntrinsics(llvm::Function & F)
Methods
¶MetadataLoaderImpl(
llvm::BitstreamCursor& Stream,
llvm::Module& TheModule,
llvm::BitcodeReaderValueList& ValueList,
std::function<Type*(unsigned int)>
getTypeByID,
bool IsImporting)
MetadataLoaderImpl(
llvm::BitstreamCursor& Stream,
llvm::Module& TheModule,
llvm::BitcodeReaderValueList& ValueList,
std::function<Type*(unsigned int)>
getTypeByID,
bool IsImporting)
Declared at: llvm/lib/Bitcode/Reader/MetadataLoader.cpp:635
Parameters
- llvm::BitstreamCursor& Stream
- llvm::Module& TheModule
- llvm::BitcodeReaderValueList& ValueList
- std::function<Type*(unsigned int)> getTypeByID
- bool IsImporting
¶llvm::Metadata* getMetadataFwdRefOrLoad(
unsigned int ID)
llvm::Metadata* getMetadataFwdRefOrLoad(
unsigned int ID)
Declared at: llvm/lib/Bitcode/Reader/MetadataLoader.cpp:648
Parameters
- unsigned int ID
¶bool hasFwdRefs() const
bool hasFwdRefs() const
Declared at: llvm/lib/Bitcode/Reader/MetadataLoader.cpp:646
¶bool hasSeenOldLoopTags()
bool hasSeenOldLoopTags()
Declared at: llvm/lib/Bitcode/Reader/MetadataLoader.cpp:668
¶bool isStrippingTBAA()
bool isStrippingTBAA()
Declared at: llvm/lib/Bitcode/Reader/MetadataLoader.cpp:676
¶llvm::DISubprogram* lookupSubprogramForFunction(
llvm::Function* F)
llvm::DISubprogram* lookupSubprogramForFunction(
llvm::Function* F)
Declared at: llvm/lib/Bitcode/Reader/MetadataLoader.cpp:664
Parameters
¶llvm::Error parseMetadata(bool ModuleLevel)
llvm::Error parseMetadata(bool ModuleLevel)
Description
Parse a METADATA_BLOCK. If ModuleLevel is true then we are parsing module level metadata.
Declared at: llvm/lib/Bitcode/Reader/MetadataLoader.cpp:644
Parameters
- bool ModuleLevel
¶llvm::Error parseMetadataAttachment(
llvm::Function& F,
const SmallVectorImpl<llvm::Instruction*>&
InstructionList)
llvm::Error parseMetadataAttachment(
llvm::Function& F,
const SmallVectorImpl<llvm::Instruction*>&
InstructionList)
Description
Parse metadata attachments.
Declared at: llvm/lib/Bitcode/Reader/MetadataLoader.cpp:670
Parameters
- llvm::Function& F
- const SmallVectorImpl<llvm::Instruction*>& InstructionList
¶llvm::Error parseMetadataKinds()
llvm::Error parseMetadataKinds()
Description
Parse the metadata kinds out of the METADATA_KIND_BLOCK.
Declared at: llvm/lib/Bitcode/Reader/MetadataLoader.cpp:673
¶void setStripTBAA(bool Value)
void setStripTBAA(bool Value)
Declared at: llvm/lib/Bitcode/Reader/MetadataLoader.cpp:675
Parameters
- bool Value
¶void shrinkTo(unsigned int N)
void shrinkTo(unsigned int N)
Declared at: llvm/lib/Bitcode/Reader/MetadataLoader.cpp:679
Parameters
- unsigned int N
¶unsigned int size() const
unsigned int size() const
Declared at: llvm/lib/Bitcode/Reader/MetadataLoader.cpp:678
¶void upgradeDebugIntrinsics(llvm::Function& F)
void upgradeDebugIntrinsics(llvm::Function& F)
Declared at: llvm/lib/Bitcode/Reader/MetadataLoader.cpp:680