LLVM 20.0.0git
Classes | Namespaces | Enumerations | Functions | Variables
Compression.h File Reference
#include "llvm/ADT/ArrayRef.h"
#include "llvm/Support/DataTypes.h"

Go to the source code of this file.

Classes

struct  llvm::compression::Params
 

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 
namespace  llvm::compression
 
namespace  llvm::compression::zlib
 
namespace  llvm::compression::zstd
 

Enumerations

enum class  llvm::DebugCompressionType { llvm::None , llvm::Zlib , llvm::Zstd }
 
enum class  llvm::compression::Format { llvm::compression::Zlib , llvm::compression::Zstd }
 

Functions

bool llvm::compression::zlib::isAvailable ()
 
void llvm::compression::zlib::compress (ArrayRef< uint8_t > Input, SmallVectorImpl< uint8_t > &CompressedBuffer, int Level=DefaultCompression)
 
Error llvm::compression::zlib::decompress (ArrayRef< uint8_t > Input, uint8_t *Output, size_t &UncompressedSize)
 
Error llvm::compression::zlib::decompress (ArrayRef< uint8_t > Input, SmallVectorImpl< uint8_t > &Output, size_t UncompressedSize)
 
bool llvm::compression::zstd::isAvailable ()
 
void llvm::compression::zstd::compress (ArrayRef< uint8_t > Input, SmallVectorImpl< uint8_t > &CompressedBuffer, int Level=DefaultCompression, bool EnableLdm=false)
 
Error llvm::compression::zstd::decompress (ArrayRef< uint8_t > Input, uint8_t *Output, size_t &UncompressedSize)
 
Error llvm::compression::zstd::decompress (ArrayRef< uint8_t > Input, SmallVectorImpl< uint8_t > &Output, size_t UncompressedSize)
 
Format llvm::compression::formatFor (DebugCompressionType Type)
 
const charllvm::compression::getReasonIfUnsupported (Format F)
 
void llvm::compression::compress (Params P, ArrayRef< uint8_t > Input, SmallVectorImpl< uint8_t > &Output)
 
Error llvm::compression::decompress (DebugCompressionType T, ArrayRef< uint8_t > Input, uint8_t *Output, size_t UncompressedSize)
 
Error llvm::compression::decompress (Format F, ArrayRef< uint8_t > Input, SmallVectorImpl< uint8_t > &Output, size_t UncompressedSize)
 
Error llvm::compression::decompress (DebugCompressionType T, ArrayRef< uint8_t > Input, SmallVectorImpl< uint8_t > &Output, size_t UncompressedSize)
 

Variables

constexpr int llvm::compression::zlib::NoCompression = 0
 
constexpr int llvm::compression::zlib::BestSpeedCompression = 1
 
constexpr int llvm::compression::zlib::DefaultCompression = 6
 
constexpr int llvm::compression::zlib::BestSizeCompression = 9
 
constexpr int llvm::compression::zstd::NoCompression = -5
 
constexpr int llvm::compression::zstd::BestSpeedCompression = 1
 
constexpr int llvm::compression::zstd::DefaultCompression = 5
 
constexpr int llvm::compression::zstd::BestSizeCompression = 12