LLVM 20.0.0git
Namespaces | Classes | Enumerations | Functions
llvm::compression Namespace Reference

Namespaces

namespace  zlib
 
namespace  zstd
 

Classes

struct  Params
 

Enumerations

enum class  Format { Zlib , Zstd }
 

Functions

Format formatFor (DebugCompressionType Type)
 
const chargetReasonIfUnsupported (Format F)
 
void compress (Params P, ArrayRef< uint8_t > Input, SmallVectorImpl< uint8_t > &Output)
 
Error decompress (DebugCompressionType T, ArrayRef< uint8_t > Input, uint8_t *Output, size_t UncompressedSize)
 
Error decompress (Format F, ArrayRef< uint8_t > Input, SmallVectorImpl< uint8_t > &Output, size_t UncompressedSize)
 
Error decompress (DebugCompressionType T, ArrayRef< uint8_t > Input, SmallVectorImpl< uint8_t > &Output, size_t UncompressedSize)
 

Enumeration Type Documentation

◆ Format

enum class llvm::compression::Format
strong
Enumerator
Zlib 
Zstd 

Definition at line 76 of file Compression.h.

Function Documentation

◆ compress()

void llvm::compression::compress ( Params  P,
ArrayRef< uint8_t >  Input,
SmallVectorImpl< uint8_t > &  Output 
)

◆ decompress() [1/3]

Error llvm::compression::decompress ( DebugCompressionType  T,
ArrayRef< uint8_t >  Input,
SmallVectorImpl< uint8_t > &  Output,
size_t  UncompressedSize 
)

Definition at line 81 of file Compression.cpp.

References decompress(), and formatFor().

◆ decompress() [2/3]

Error llvm::compression::decompress ( DebugCompressionType  T,
ArrayRef< uint8_t >  Input,
uint8_t *  Output,
size_t  UncompressedSize 
)

◆ decompress() [3/3]

Error llvm::compression::decompress ( compression::Format  F,
ArrayRef< uint8_t >  Input,
SmallVectorImpl< uint8_t > &  Output,
size_t  UncompressedSize 
)

◆ formatFor()

Format llvm::compression::formatFor ( DebugCompressionType  Type)
inline

◆ getReasonIfUnsupported()

const char * llvm::compression::getReasonIfUnsupported ( compression::Format  F)