LLVM  8.0.1
Classes | Public Member Functions | List of all members
llvm::BitstreamBlockInfo Class Reference

This class maintains the abbreviations read from a block info block. More...

#include "llvm/Bitcode/BitstreamReader.h"

Classes

struct  BlockInfo
 This contains information emitted to BLOCKINFO_BLOCK blocks. More...
 

Public Member Functions

const BlockInfogetBlockInfo (unsigned BlockID) const
 If there is block info for the specified ID, return it, otherwise return null. More...
 
BlockInfogetOrCreateBlockInfo (unsigned BlockID)
 

Detailed Description

This class maintains the abbreviations read from a block info block.

Definition at line 38 of file BitstreamReader.h.

Member Function Documentation

◆ getBlockInfo()

const BlockInfo* llvm::BitstreamBlockInfo::getBlockInfo ( unsigned  BlockID) const
inline

If there is block info for the specified ID, return it, otherwise return null.

Definition at line 55 of file BitstreamReader.h.

References llvm::BitstreamBlockInfo::BlockInfo::BlockID.

Referenced by llvm::BitstreamCursor::EnterSubBlock(), and getOrCreateBlockInfo().

◆ getOrCreateBlockInfo()

BlockInfo& llvm::BitstreamBlockInfo::getOrCreateBlockInfo ( unsigned  BlockID)
inline

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