LLVM 24.0.0git
llvm::BitstreamBlockInfo Class Reference

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

#include "llvm/Bitstream/BitstreamReader.h"

Classes

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

Public Member Functions

const BlockInfo * getBlockInfo (unsigned BlockID) const
 If there is block info for the specified ID, return it, otherwise return null.
BlockInfo & getOrCreateBlockInfo (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.

Referenced by getOrCreateBlockInfo().

◆ getOrCreateBlockInfo()

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

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