LLVM 19.0.0git
Public Member Functions | List of all members
llvm::BitCodeAbbrev Class Reference

BitCodeAbbrev - This class represents an abbreviation record. More...

#include "llvm/Bitstream/BitCodes.h"

Public Member Functions

 BitCodeAbbrev ()=default
 BitCodeAbbrev (std::initializer_list< BitCodeAbbrevOp > OperandList)
unsigned getNumOperandInfos () const
const BitCodeAbbrevOpgetOperandInfo (unsigned N) const
void Add (const BitCodeAbbrevOp &OpInfo)

Detailed Description

BitCodeAbbrev - This class represents an abbreviation record.

An abbreviation allows a complex record that has redundancy to be stored in a specialized format instead of the fully-general, fully-vbr, format.

Definition at line 103 of file BitCodes.h.

Constructor & Destructor Documentation

◆ BitCodeAbbrev() [1/2]

llvm::BitCodeAbbrev::BitCodeAbbrev ( )

◆ BitCodeAbbrev() [2/2]

llvm::BitCodeAbbrev::BitCodeAbbrev ( std::initializer_list< BitCodeAbbrevOp OperandList)

Definition at line 109 of file BitCodes.h.

Member Function Documentation

◆ Add()

void llvm::BitCodeAbbrev::Add ( const BitCodeAbbrevOp OpInfo)

◆ getNumOperandInfos()

unsigned llvm::BitCodeAbbrev::getNumOperandInfos ( ) const

◆ getOperandInfo()

const BitCodeAbbrevOp & llvm::BitCodeAbbrev::getOperandInfo ( unsigned  N) const

Definition at line 115 of file BitCodes.h.

References N.

Referenced by llvm::BitstreamCursor::readRecord(), and llvm::BitstreamCursor::skipRecord().

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