LLVM 19.0.0git
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/Bitstream/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.
 
BlockInfogetOrCreateBlockInfo (unsigned BlockID)
 

Detailed Description

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

Definition at line 37 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 54 of file BitstreamReader.h.

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

◆ getOrCreateBlockInfo()

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

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