LLVM 20.0.0git
|
Functions | |
bool | isAvailable () |
void | compress (ArrayRef< uint8_t > Input, SmallVectorImpl< uint8_t > &CompressedBuffer, int Level=DefaultCompression) |
Error | decompress (ArrayRef< uint8_t > Input, uint8_t *Output, size_t &UncompressedSize) |
Error | decompress (ArrayRef< uint8_t > Input, SmallVectorImpl< uint8_t > &Output, size_t UncompressedSize) |
Variables | |
constexpr int | NoCompression = 0 |
constexpr int | BestSpeedCompression = 1 |
constexpr int | DefaultCompression = 6 |
constexpr int | BestSizeCompression = 9 |
void llvm::compression::zlib::compress | ( | ArrayRef< uint8_t > | Input, |
SmallVectorImpl< uint8_t > & | CompressedBuffer, | ||
int | Level = DefaultCompression |
||
) |
Definition at line 147 of file Compression.cpp.
References llvm_unreachable.
Referenced by llvm::collectGlobalObjectNameStrings(), llvm::compression::compress(), and llvm::coverage::CoverageFilenamesSectionWriter::write().
Error llvm::compression::zlib::decompress | ( | ArrayRef< uint8_t > | Input, |
SmallVectorImpl< uint8_t > & | Output, | ||
size_t | UncompressedSize | ||
) |
Definition at line 155 of file Compression.cpp.
References llvm_unreachable.
Error llvm::compression::zlib::decompress | ( | ArrayRef< uint8_t > | Input, |
uint8_t * | Output, | ||
size_t & | UncompressedSize | ||
) |
Definition at line 151 of file Compression.cpp.
References llvm_unreachable.
Referenced by llvm::compression::decompress(), llvm::coverage::RawCoverageFilenamesReader::read(), and llvm::readAndDecodeStrings().
bool llvm::compression::zlib::isAvailable | ( | ) |
Definition at line 146 of file Compression.cpp.
Referenced by llvm::collectPGOFuncNameStrings(), llvm::collectVTableStrings(), llvm::compression::getReasonIfUnsupported(), llvm::coverage::RawCoverageFilenamesReader::read(), llvm::readAndDecodeStrings(), and llvm::coverage::CoverageFilenamesSectionWriter::write().
|
constexpr |
Definition at line 39 of file Compression.h.
Referenced by llvm::collectGlobalObjectNameStrings(), and llvm::coverage::CoverageFilenamesSectionWriter::write().
|
constexpr |
Definition at line 37 of file Compression.h.
|
constexpr |
Definition at line 38 of file Compression.h.
|
constexpr |
Definition at line 36 of file Compression.h.