Go to the documentation of this file.
13 #ifndef LLVM_SUPPORT_COMPRESSION_H
14 #define LLVM_SUPPORT_COMPRESSION_H
19 template <
typename T>
class SmallVectorImpl;
36 size_t &UncompressedSize);
40 size_t UncompressedSize);
This is an optimization pass for GlobalISel generic memory operations.
static constexpr int BestSpeedCompression
Error uncompress(StringRef InputBuffer, char *UncompressedBuffer, size_t &UncompressedSize)
static constexpr int DefaultCompression
static constexpr int NoCompression
static constexpr int BestSizeCompression
void compress(StringRef InputBuffer, SmallVectorImpl< char > &CompressedBuffer, int Level=DefaultCompression)
StringRef - Represent a constant reference to a string, i.e.
Lightweight error class with error context and mandatory checking.
uint32_t crc32(StringRef Buffer)