|
| unsigned | llvm::encodeSLEB128 (int64_t Value, raw_ostream &OS, unsigned PadTo=0) |
| | Utility function to encode a SLEB128 value to an output stream.
|
| unsigned | llvm::encodeSLEB128 (int64_t Value, uint8_t *p, unsigned PadTo=0) |
| | Utility function to encode a SLEB128 value to a buffer.
|
| unsigned | llvm::encodeULEB128 (uint64_t Value, raw_ostream &OS, unsigned PadTo=0) |
| | Utility function to encode a ULEB128 value to an output stream.
|
| unsigned | llvm::encodeULEB128 (uint64_t Value, uint8_t *p, unsigned PadTo=0) |
| | Utility function to encode a ULEB128 value to a buffer.
|
| uint64_t | llvm::decodeULEB128 (const uint8_t *p, unsigned *n=nullptr, const uint8_t *end=nullptr, const char **error=nullptr) |
| | Utility function to decode a ULEB128 value.
|
| int64_t | llvm::decodeSLEB128 (const uint8_t *p, unsigned *n=nullptr, const uint8_t *end=nullptr, const char **error=nullptr) |
| | Utility function to decode a SLEB128 value.
|
| uint64_t | llvm::decodeULEB128AndInc (const uint8_t *&p, const uint8_t *end, const char **error=nullptr) |
| int64_t | llvm::decodeSLEB128AndInc (const uint8_t *&p, const uint8_t *end, const char **error=nullptr) |
| uint64_t | llvm::decodeULEB128AndIncUnsafe (const uint8_t *&p) |
| uint64_t | llvm::overwriteULEB128 (uint8_t *bufLoc, uint64_t val) |
| | Overwrite a ULEB128 value and keep the original length.
|
| template<LEB128Sign Sign, typename T, typename U = char, unsigned MaxLEB128SizeBytes = 16> |
| void | llvm::appendLEB128 (SmallVectorImpl< U > &Buffer, T Value) |
| LLVM_ABI unsigned | llvm::getULEB128Size (uint64_t Value) |
| | Utility function to get the size of the ULEB128-encoded value.
|
| LLVM_ABI unsigned | llvm::getSLEB128Size (int64_t Value) |
| | Utility function to get the size of the SLEB128-encoded value.
|