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

◆ BitCodeAbbrev() [2/2]

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

Definition at line 109 of file BitCodes.h.

Member Function Documentation

◆ Add()

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

◆ getNumOperandInfos()

unsigned llvm::BitCodeAbbrev::getNumOperandInfos ( ) const
inline

◆ getOperandInfo()

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

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: