13 #ifndef LLVM_SUPPORT_COMPRESSION_H 14 #define LLVM_SUPPORT_COMPRESSION_H 19 template <
typename T>
class SmallVectorImpl;
33 int Level = DefaultCompression);
36 size_t &UncompressedSize);
40 size_t UncompressedSize);
This class represents lattice values for constants.
Error compress(StringRef InputBuffer, SmallVectorImpl< char > &CompressedBuffer, int Level=DefaultCompression)
static constexpr int BestSpeedCompression
static constexpr int BestSizeCompression
static constexpr int DefaultCompression
static constexpr int NoCompression
uint32_t crc32(StringRef Buffer)
Lightweight error class with error context and mandatory checking.
StringRef - Represent a constant reference to a string, i.e.
Error uncompress(StringRef InputBuffer, char *UncompressedBuffer, size_t &UncompressedSize)