|
LLVM
8.0.1
|
Functions | |
| bool | isAvailable () |
| Error | compress (StringRef InputBuffer, SmallVectorImpl< char > &CompressedBuffer, int Level=DefaultCompression) |
| Error | uncompress (StringRef InputBuffer, char *UncompressedBuffer, size_t &UncompressedSize) |
| Error | uncompress (StringRef InputBuffer, SmallVectorImpl< char > &UncompressedBuffer, size_t UncompressedSize) |
| uint32_t | crc32 (StringRef Buffer) |
Variables | |
| static constexpr int | NoCompression = 0 |
| static constexpr int | BestSpeedCompression = 1 |
| static constexpr int | DefaultCompression = 6 |
| static constexpr int | BestSizeCompression = 9 |
| Error llvm::zlib::compress | ( | StringRef | InputBuffer, |
| SmallVectorImpl< char > & | CompressedBuffer, | ||
| int | Level = DefaultCompression |
||
| ) |
Definition at line 50 of file Compression.cpp.
References __msan_unpoison, convertZlibCodeToString(), createError(), llvm::StringRef::data(), llvm::SmallVectorTemplateCommon< T, typename >::data(), llvm::SmallVectorImpl< T >::reserve(), llvm::SmallVectorBase::set_size(), llvm::StringRef::size(), and llvm::Error::success().
Referenced by llvm::collectPGOFuncNameStrings(), crc32(), and isWeak().
Definition at line 85 of file Compression.cpp.
References compress(), llvm::StringRef::data(), isAvailable(), llvm_unreachable, llvm::StringRef::size(), and uncompress().
Referenced by llvm::symbolize::LLVMSymbolizer::flush().
| bool llvm::zlib::isAvailable | ( | ) |
Definition at line 48 of file Compression.cpp.
Referenced by llvm::collectPGOFuncNameStrings(), crc32(), llvm::object::Decompressor::create(), llvm::symbolize::LLVMSymbolizer::flush(), INITIALIZE_PASS(), and llvm::readPGOFuncNameStrings().
| Error llvm::zlib::uncompress | ( | StringRef | InputBuffer, |
| char * | UncompressedBuffer, | ||
| size_t & | UncompressedSize | ||
| ) |
Definition at line 64 of file Compression.cpp.
References __msan_unpoison, convertZlibCodeToString(), createError(), llvm::StringRef::data(), llvm::StringRef::size(), and llvm::Error::success().
Referenced by crc32(), llvm::object::Decompressor::decompress(), llvm::readPGOFuncNameStrings(), and uncompress().
| Error llvm::zlib::uncompress | ( | StringRef | InputBuffer, |
| SmallVectorImpl< char > & | UncompressedBuffer, | ||
| size_t | UncompressedSize | ||
| ) |
Definition at line 75 of file Compression.cpp.
References llvm::SmallVectorTemplateCommon< T, typename >::data(), E, llvm::SmallVectorImpl< T >::resize(), and uncompress().
|
static |
Definition at line 29 of file Compression.h.
Referenced by llvm::collectPGOFuncNameStrings().
|
static |
Definition at line 27 of file Compression.h.
|
static |
Definition at line 28 of file Compression.h.
|
static |
Definition at line 26 of file Compression.h.
1.8.13