14 #ifndef LLVM_SUPPORT_COMPRESSION_H 15 #define LLVM_SUPPORT_COMPRESSION_H 20 template <
typename T>
class SmallVectorImpl;
34 int Level = DefaultCompression);
37 size_t &UncompressedSize);
41 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)