LLVM
17.0.0git
|
BitCodeAbbrevOp - This describes one or more operands in an abbreviation. More...
#include "llvm/Bitstream/BitCodes.h"
Public Types | |
enum | Encoding { Fixed = 1, VBR = 2, Array = 3, Char6 = 4, Blob = 5 } |
Public Member Functions | |
BitCodeAbbrevOp (uint64_t V) | |
BitCodeAbbrevOp (Encoding E, uint64_t Data=0) | |
bool | isLiteral () const |
bool | isEncoding () const |
uint64_t | getLiteralValue () const |
Encoding | getEncoding () const |
uint64_t | getEncodingData () const |
bool | hasEncodingData () const |
Static Public Member Functions | |
static bool | isValidEncoding (uint64_t E) |
static bool | hasEncodingData (Encoding E) |
static bool | isChar6 (char C) |
isChar6 - Return true if this character is legal in the Char6 encoding. More... | |
static unsigned | EncodeChar6 (char C) |
static char | DecodeChar6 (unsigned V) |
BitCodeAbbrevOp - This describes one or more operands in an abbreviation.
This is actually a union of two different things:
Definition at line 33 of file BitCodes.h.
Enumerator | |
---|---|
Fixed | |
VBR | |
Array | |
Char6 | |
Blob |
Definition at line 38 of file BitCodes.h.
|
inlineexplicit |
Definition at line 50 of file BitCodes.h.
Definition at line 51 of file BitCodes.h.
|
inlinestatic |
Definition at line 92 of file BitCodes.h.
References assert().
Referenced by readAbbreviatedField(), and llvm::BitstreamCursor::readRecord().
|
inlinestatic |
Definition at line 83 of file BitCodes.h.
References llvm_unreachable.
|
inline |
Definition at line 61 of file BitCodes.h.
References assert(), and isEncoding().
Referenced by hasEncodingData(), llvm::BitstreamCursor::readRecord(), and llvm::BitstreamCursor::skipRecord().
|
inline |
Definition at line 62 of file BitCodes.h.
References assert(), hasEncodingData(), and isEncoding().
Referenced by llvm::BitstreamCursor::readRecord(), and llvm::BitstreamCursor::skipRecord().
|
inline |
Definition at line 58 of file BitCodes.h.
References assert(), and isLiteral().
Referenced by llvm::BitstreamCursor::readRecord(), and llvm::BitstreamCursor::skipRecord().
|
inline |
Definition at line 67 of file BitCodes.h.
References getEncoding(), and hasEncodingData().
Referenced by getEncodingData(), hasEncodingData(), and llvm::BitstreamCursor::ReadAbbrevRecord().
|
inlinestatic |
Definition at line 68 of file BitCodes.h.
References Array, Blob, Char6, E, Fixed, llvm::report_fatal_error(), and VBR.
|
inlinestatic |
isChar6 - Return true if this character is legal in the Char6 encoding.
Definition at line 82 of file BitCodes.h.
Referenced by llvm::BCChar6::assertValid(), getStringEncoding(), llvm::dxil::DXILBitcodeWriter::writeStringRecord(), and writeStringRecord().
|
inline |
Definition at line 55 of file BitCodes.h.
Referenced by getEncoding(), getEncodingData(), and llvm::BitstreamCursor::readRecord().
|
inline |
Definition at line 54 of file BitCodes.h.
Referenced by getLiteralValue(), llvm::BitstreamCursor::readRecord(), and llvm::BitstreamCursor::skipRecord().
|
inlinestatic |
Definition at line 46 of file BitCodes.h.
References E.
Referenced by llvm::BitstreamCursor::ReadAbbrevRecord().