LLVM API Documentation
#include "llvm/Config/config.h"#include "llvm/Support/Compressor.h"#include "llvm/ADT/StringExtras.h"#include <cassert>#include <string>#include <ostream>#include "bzip2/bzlib.h"Include dependency graph for Compressor.cpp:

Go to the source code of this file.
Classes | |
| struct | NULLCOMP_stream |
Enumerations | |
| enum | CompressionTypes { COMP_TYPE_NONE = '0', COMP_TYPE_BZIP2 = '2' } |
Functions | |
| static int | getdata (char *&buffer, size_t &size, llvm::Compressor::OutputDataCallback *cb, void *context) |
| static int | getdata_uns (char *&buffer, unsigned &size, llvm::Compressor::OutputDataCallback *cb, void *context) |
| static void | NULLCOMP_init (NULLCOMP_stream *s) |
| static bool | NULLCOMP_compress (NULLCOMP_stream *s) |
| static bool | NULLCOMP_decompress (NULLCOMP_stream *s) |
| static void | NULLCOMP_end (NULLCOMP_stream *strm) |
| enum CompressionTypes |
| static int getdata | ( | char *& | buffer, | |
| size_t & | size, | |||
| llvm::Compressor::OutputDataCallback * | cb, | |||
| void * | context | |||
| ) | [static] |
Definition at line 29 of file Compressor.cpp.
Referenced by llvm::Compressor::compress(), llvm::Compressor::decompress(), and getdata_uns().
| static int getdata_uns | ( | char *& | buffer, | |
| unsigned & | size, | |||
| llvm::Compressor::OutputDataCallback * | cb, | |||
| void * | context | |||
| ) | [static] |
Definition at line 39 of file Compressor.cpp.
References getdata().
Referenced by llvm::Compressor::compress(), and llvm::Compressor::decompress().
| static bool NULLCOMP_compress | ( | NULLCOMP_stream * | s | ) | [static] |
Definition at line 70 of file Compressor.cpp.
References NULLCOMP_stream::avail_in, NULLCOMP_stream::avail_out, NULLCOMP_stream::next_in, NULLCOMP_stream::next_out, and NULLCOMP_stream::output_count.
Referenced by llvm::Compressor::compress().
| static bool NULLCOMP_decompress | ( | NULLCOMP_stream * | s | ) | [static] |
Definition at line 94 of file Compressor.cpp.
References NULLCOMP_stream::avail_in, NULLCOMP_stream::avail_out, NULLCOMP_stream::next_in, NULLCOMP_stream::next_out, and NULLCOMP_stream::output_count.
Referenced by llvm::Compressor::decompress().
| static void NULLCOMP_end | ( | NULLCOMP_stream * | strm | ) | [static] |
Definition at line 118 of file Compressor.cpp.
Referenced by llvm::Compressor::compress(), and llvm::Compressor::decompress().
| static void NULLCOMP_init | ( | NULLCOMP_stream * | s | ) | [static] |
Definition at line 66 of file Compressor.cpp.
References NULLCOMP_stream::output_count.
Referenced by llvm::Compressor::compress(), and llvm::Compressor::decompress().
| char* buff |
Definition at line 130 of file Compressor.cpp.
| char* chunk |
Definition at line 253 of file Compressor.cpp.
| size_t compSize |
Definition at line 256 of file Compressor.cpp.
| std::ostream* Out |
Definition at line 257 of file Compressor.cpp.
Referenced by ByteswapSCANFResults(), llvm::StatisticBase::destroy(), llvm::Loop::getLoopPreheader(), llvm::DOTGraphTraits< const MachineFunction * >::getNodeLabel(), and llvm::DOTGraphTraits< const Function * >::getNodeLabel().
| size_t size |
Definition at line 131 of file Compressor.cpp.
Referenced by CreateArgv(), llvm::DSGraph::getFunctionNames(), llvm::PluginLoader::getPlugin(), llvm::cl::bits< DataType, Storage, ParserClass >::getPosition(), llvm::cl::list< DataType, Storage, ParserClass >::getPosition(), llvm::SlotCalculator::incorporateFunction(), llvm::BytecodeReader::ParseConstantPool(), and llvm::SlotTable::plane_size().
| size_t sz |
Definition at line 254 of file Compressor.cpp.
| size_t written |
Definition at line 255 of file Compressor.cpp.