LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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
 List of target independent CodeGen pass IDs.
 

Functions

void llvm::encodeSLEB128 (int64_t Value, raw_ostream &OS)
 Utility function to encode a SLEB128 value to an output stream. More...
 
void llvm::encodeULEB128 (uint64_t Value, raw_ostream &OS, unsigned Padding=0)
 Utility function to encode a ULEB128 value to an output stream. More...
 
unsigned llvm::encodeULEB128 (uint64_t Value, uint8_t *p, unsigned Padding=0)
 
uint64_t llvm::decodeULEB128 (const uint8_t *p, unsigned *n=0)
 Utility function to decode a ULEB128 value. More...