LLVM  6.0.0svn
Namespaces | Functions
LEB128.h File Reference
#include "llvm/Support/raw_ostream.h"
Include dependency graph for LEB128.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 llvm
 Compute iterated dominance frontiers using a linear time algorithm.
 

Functions

void llvm::encodeSLEB128 (int64_t Value, raw_ostream &OS, unsigned PadTo=0)
 Utility function to encode a SLEB128 value to an output stream. More...
 
unsigned llvm::encodeSLEB128 (int64_t Value, uint8_t *p, unsigned PadTo=0)
 Utility function to encode a SLEB128 value to a buffer. More...
 
void llvm::encodeULEB128 (uint64_t Value, raw_ostream &OS, unsigned PadTo=0)
 Utility function to encode a ULEB128 value to an output stream. More...
 
unsigned llvm::encodeULEB128 (uint64_t Value, uint8_t *p, unsigned PadTo=0)
 Utility function to encode a ULEB128 value to a buffer. More...
 
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. More...
 
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. More...
 
unsigned llvm::getULEB128Size (uint64_t Value)
 Utility function to get the size of the ULEB128-encoded value. More...
 
unsigned llvm::getSLEB128Size (int64_t Value)
 Utility function to get the size of the SLEB128-encoded value. More...