class MetadataLoader::MetadataLoaderImpl

Declaration

class MetadataLoader::MetadataLoaderImpl { /* full declaration omitted */ };

Declared at: llvm/lib/Bitcode/Reader/MetadataLoader.cpp:421

Method Overview

Methods

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)

Declared at: llvm/lib/Bitcode/Reader/MetadataLoader.cpp:648

Parameters

unsigned int ID

bool hasFwdRefs() const

Declared at: llvm/lib/Bitcode/Reader/MetadataLoader.cpp:646

bool hasSeenOldLoopTags()

Declared at: llvm/lib/Bitcode/Reader/MetadataLoader.cpp:668

bool isStrippingTBAA()

Declared at: llvm/lib/Bitcode/Reader/MetadataLoader.cpp:676

llvm::DISubprogram* lookupSubprogramForFunction(
    llvm::Function* F)

Declared at: llvm/lib/Bitcode/Reader/MetadataLoader.cpp:664

Parameters

llvm::Function* F

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)

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()

Description

Parse the metadata kinds out of the METADATA_KIND_BLOCK.

Declared at: llvm/lib/Bitcode/Reader/MetadataLoader.cpp:673

void setStripTBAA(bool Value)

Declared at: llvm/lib/Bitcode/Reader/MetadataLoader.cpp:675

Parameters

bool Value

void shrinkTo(unsigned int N)

Declared at: llvm/lib/Bitcode/Reader/MetadataLoader.cpp:679

Parameters

unsigned int N

unsigned int size() const

Declared at: llvm/lib/Bitcode/Reader/MetadataLoader.cpp:678

void upgradeDebugIntrinsics(llvm::Function& F)

Declared at: llvm/lib/Bitcode/Reader/MetadataLoader.cpp:680

Parameters

llvm::Function& F