LLVM 20.0.0git
|
Functions | |
bool | isAvailable () |
void | compress (ArrayRef< uint8_t > Input, SmallVectorImpl< uint8_t > &CompressedBuffer, int Level=DefaultCompression, bool EnableLdm=false) |
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 = -5 |
constexpr int | BestSpeedCompression = 1 |
constexpr int | DefaultCompression = 5 |
constexpr int | BestSizeCompression = 12 |
void llvm::compression::zstd::compress | ( | ArrayRef< uint8_t > | Input, |
SmallVectorImpl< uint8_t > & | CompressedBuffer, | ||
int | Level = DefaultCompression , |
||
bool | EnableLdm = false |
||
) |
Definition at line 230 of file Compression.cpp.
References llvm_unreachable.
Referenced by llvm::compression::compress().
Error llvm::compression::zstd::decompress | ( | ArrayRef< uint8_t > | Input, |
SmallVectorImpl< uint8_t > & | Output, | ||
size_t | UncompressedSize | ||
) |
Definition at line 239 of file Compression.cpp.
References llvm_unreachable.
Error llvm::compression::zstd::decompress | ( | ArrayRef< uint8_t > | Input, |
uint8_t * | Output, | ||
size_t & | UncompressedSize | ||
) |
Definition at line 235 of file Compression.cpp.
References llvm_unreachable.
Referenced by llvm::compression::decompress().
bool llvm::compression::zstd::isAvailable | ( | ) |
Definition at line 229 of file Compression.cpp.
Referenced by llvm::compression::getReasonIfUnsupported().
|
constexpr |
Definition at line 60 of file Compression.h.
|
constexpr |
Definition at line 58 of file Compression.h.
|
constexpr |
Definition at line 59 of file Compression.h.
|
constexpr |
Definition at line 57 of file Compression.h.