LLVM
8.0.1
|
BitCodeAbbrevOp - This describes one or more operands in an abbreviation. More...
#include "llvm/Bitcode/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 | 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 94 of file BitCodes.h.
Enumerator | |
---|---|
Fixed | |
VBR | |
Array | |
Char6 | |
Blob |
Definition at line 99 of file BitCodes.h.
|
inlineexplicit |
Definition at line 107 of file BitCodes.h.
|
inlineexplicit |
Definition at line 108 of file BitCodes.h.
References llvm::Data.
Definition at line 155 of file BitCodes.h.
References assert().
Referenced by readAbbreviatedField(), and llvm::BitstreamCursor::readRecord().
Definition at line 146 of file BitCodes.h.
References llvm_unreachable.
Referenced by llvm::BitstreamWriter::ExitBlock().
|
inline |
Definition at line 118 of file BitCodes.h.
References assert().
Referenced by llvm::BitstreamWriter::EmitRecordWithArray(), llvm::BitstreamWriter::ExitBlock(), readAbbreviatedField(), llvm::BitstreamCursor::readRecord(), skipAbbreviatedField(), and llvm::BitstreamCursor::skipRecord().
|
inline |
Definition at line 119 of file BitCodes.h.
References assert().
Referenced by llvm::BitstreamWriter::EmitRecordWithArray(), llvm::BitstreamWriter::ExitBlock(), readAbbreviatedField(), llvm::BitstreamCursor::readRecord(), skipAbbreviatedField(), and llvm::BitstreamCursor::skipRecord().
|
inline |
Definition at line 115 of file BitCodes.h.
References assert().
Referenced by llvm::BitstreamWriter::EmitRecordWithArray(), llvm::BitstreamWriter::ExitBlock(), llvm::BitstreamCursor::readRecord(), and llvm::BitstreamCursor::skipRecord().
|
inline |
Definition at line 124 of file BitCodes.h.
References hasEncodingData().
Referenced by llvm::BitstreamWriter::EmitRecordWithArray(), hasEncodingData(), and llvm::BitstreamCursor::ReadAbbrevRecord().
Definition at line 125 of file BitCodes.h.
References llvm::Fixed, and llvm::report_fatal_error().
isChar6 - Return true if this character is legal in the Char6 encoding.
Definition at line 139 of file BitCodes.h.
Referenced by emitSignedInt64(), getStringEncoding(), and writeStringRecord().
|
inline |
Definition at line 112 of file BitCodes.h.
Referenced by llvm::BitstreamCursor::readRecord().
|
inline |
Definition at line 111 of file BitCodes.h.
Referenced by llvm::BitstreamWriter::EmitRecordWithArray(), llvm::BitstreamWriter::ExitBlock(), readAbbreviatedField(), llvm::BitstreamCursor::readRecord(), skipAbbreviatedField(), and llvm::BitstreamCursor::skipRecord().