LLVM API Documentation

Namespaces | Enumerations | Functions
Compression.h File Reference
#include "llvm/Support/DataTypes.h"
#include <memory>
#include "llvm/ADT/SmallVector.h"
Include dependency graph for Compression.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  llvm
 

List of target independent CodeGen pass IDs.


namespace  llvm::zlib

Enumerations

enum  llvm::zlib::CompressionLevel { llvm::zlib::NoCompression, llvm::zlib::DefaultCompression, llvm::zlib::BestSpeedCompression, llvm::zlib::BestSizeCompression }
enum  llvm::zlib::Status {
  llvm::zlib::StatusOK, llvm::zlib::StatusUnsupported, llvm::zlib::StatusOutOfMemory, llvm::zlib::StatusBufferTooShort,
  llvm::zlib::StatusInvalidArg, llvm::zlib::StatusInvalidData
}

Functions

bool llvm::zlib::isAvailable ()
Status llvm::zlib::compress (StringRef InputBuffer, SmallVectorImpl< char > &CompressedBuffer, CompressionLevel Level=DefaultCompression)
Status llvm::zlib::uncompress (StringRef InputBuffer, SmallVectorImpl< char > &UncompressedBuffer, size_t UncompressedSize)
uint32_t llvm::zlib::crc32 (StringRef Buffer)