|
LLVM
7.0.0
|
Enumerations | |
| enum | CompressionLevel { NoCompression, DefaultCompression, BestSpeedCompression, BestSizeCompression } |
Functions | |
| bool | isAvailable () |
| Error | compress (StringRef InputBuffer, SmallVectorImpl< char > &CompressedBuffer, CompressionLevel 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) |
| Enumerator | |
|---|---|
| NoCompression | |
| DefaultCompression | |
| BestSpeedCompression | |
| BestSizeCompression | |
Definition at line 26 of file Compression.h.
| Error llvm::zlib::compress | ( | StringRef | InputBuffer, |
| SmallVectorImpl< char > & | CompressedBuffer, | ||
| CompressionLevel | Level = DefaultCompression |
||
| ) |
Definition at line 60 of file Compression.cpp.
References __msan_unpoison, convertZlibCodeToString(), createError(), llvm::StringRef::data(), llvm::SmallVectorTemplateCommon< T, typename >::data(), encodeZlibCompressionLevel(), llvm::SmallVectorImpl< T >::resize(), llvm::StringRef::size(), and llvm::Error::success().
Referenced by llvm::collectPGOFuncNameStrings(), crc32(), and isWeak().
Definition at line 97 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 58 of file Compression.cpp.
Referenced by CheckForLiveRegDef(), llvm::collectPGOFuncNameStrings(), crc32(), llvm::object::Decompressor::create(), FindCallSeqStart(), llvm::symbolize::LLVMSymbolizer::flush(), INITIALIZE_PASS(), and llvm::readPGOFuncNameStrings().
| Error llvm::zlib::uncompress | ( | StringRef | InputBuffer, |
| char * | UncompressedBuffer, | ||
| size_t & | UncompressedSize | ||
| ) |
Definition at line 76 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 87 of file Compression.cpp.
References llvm::SmallVectorTemplateCommon< T, typename >::data(), E, llvm::SmallVectorImpl< T >::resize(), and uncompress().
1.8.13