LLVM  8.0.0svn
Public Member Functions | List of all members
llvm::MetadataLoader::MetadataLoaderImpl Class Reference

Public Member Functions

 MetadataLoaderImpl (BitstreamCursor &Stream, Module &TheModule, BitcodeReaderValueList &ValueList, std::function< Type *(unsigned)> getTypeByID, bool IsImporting)
 
Error parseMetadata (bool ModuleLevel)
 Parse a METADATA_BLOCK. More...
 
bool hasFwdRefs () const
 
MetadatagetMetadataFwdRefOrLoad (unsigned ID)
 
DISubprogramlookupSubprogramForFunction (Function *F)
 
bool hasSeenOldLoopTags ()
 
Error parseMetadataAttachment (Function &F, const SmallVectorImpl< Instruction *> &InstructionList)
 Parse metadata attachments. More...
 
Error parseMetadataKinds ()
 Parse the metadata kinds out of the METADATA_KIND_BLOCK. More...
 
void setStripTBAA (bool Value)
 
bool isStrippingTBAA ()
 
unsigned size () const
 
void shrinkTo (unsigned N)
 
void upgradeDebugIntrinsics (Function &F)
 

Detailed Description

Definition at line 411 of file MetadataLoader.cpp.

Constructor & Destructor Documentation

◆ MetadataLoaderImpl()

llvm::MetadataLoader::MetadataLoaderImpl::MetadataLoaderImpl ( BitstreamCursor Stream,
Module TheModule,
BitcodeReaderValueList ValueList,
std::function< Type *(unsigned)>  getTypeByID,
bool  IsImporting 
)
inline

Definition at line 625 of file MetadataLoader.cpp.

Member Function Documentation

◆ getMetadataFwdRefOrLoad()

Metadata* llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad ( unsigned  ID)
inline

Definition at line 637 of file MetadataLoader.cpp.

◆ hasFwdRefs()

bool llvm::MetadataLoader::MetadataLoaderImpl::hasFwdRefs ( ) const
inline

Definition at line 635 of file MetadataLoader.cpp.

◆ hasSeenOldLoopTags()

bool llvm::MetadataLoader::MetadataLoaderImpl::hasSeenOldLoopTags ( )
inline

Definition at line 657 of file MetadataLoader.cpp.

◆ isStrippingTBAA()

bool llvm::MetadataLoader::MetadataLoaderImpl::isStrippingTBAA ( )
inline

Definition at line 665 of file MetadataLoader.cpp.

◆ lookupSubprogramForFunction()

DISubprogram* llvm::MetadataLoader::MetadataLoaderImpl::lookupSubprogramForFunction ( Function F)
inline

◆ parseMetadata()

Error llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata ( bool  ModuleLevel)

◆ parseMetadataAttachment()

Error llvm::MetadataLoader::MetadataLoaderImpl::parseMetadataAttachment ( Function F,
const SmallVectorImpl< Instruction *> &  InstructionList 
)

◆ parseMetadataKinds()

Error llvm::MetadataLoader::MetadataLoaderImpl::parseMetadataKinds ( )

◆ setStripTBAA()

void llvm::MetadataLoader::MetadataLoaderImpl::setStripTBAA ( bool  Value)
inline

Definition at line 664 of file MetadataLoader.cpp.

◆ shrinkTo()

void llvm::MetadataLoader::MetadataLoaderImpl::shrinkTo ( unsigned  N)
inline

Definition at line 668 of file MetadataLoader.cpp.

◆ size()

unsigned llvm::MetadataLoader::MetadataLoaderImpl::size ( ) const
inline

Definition at line 667 of file MetadataLoader.cpp.

◆ upgradeDebugIntrinsics()

void llvm::MetadataLoader::MetadataLoaderImpl::upgradeDebugIntrinsics ( Function F)
inline

The documentation for this class was generated from the following file: