summaryrefslogtreecommitdiffstats
path: root/contrib/libs/llvm12/include/llvm/Support/Compression.h
diff options
context:
space:
mode:
authorrobot-ydb-importer <[email protected]>2024-02-01 17:04:24 +0300
committerAlexander Smirnov <[email protected]>2024-02-09 19:16:57 +0300
commit92eec2d2cadb061e8d0736fc1e6006255d1db6aa (patch)
tree374efcbf55311667e4f87ee2790bf71ac6756ae4 /contrib/libs/llvm12/include/llvm/Support/Compression.h
parentb34656eaa432fe5258085ca4e4642774fe082456 (diff)
YDB Import 559
Diffstat (limited to 'contrib/libs/llvm12/include/llvm/Support/Compression.h')
-rw-r--r--contrib/libs/llvm12/include/llvm/Support/Compression.h59
1 files changed, 0 insertions, 59 deletions
diff --git a/contrib/libs/llvm12/include/llvm/Support/Compression.h b/contrib/libs/llvm12/include/llvm/Support/Compression.h
deleted file mode 100644
index 173a73e3ca9..00000000000
--- a/contrib/libs/llvm12/include/llvm/Support/Compression.h
+++ /dev/null
@@ -1,59 +0,0 @@
-#pragma once
-
-#ifdef __GNUC__
-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wunused-parameter"
-#endif
-
-//===-- llvm/Support/Compression.h ---Compression----------------*- C++ -*-===//
-//
-// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
-// See https://llvm.org/LICENSE.txt for license information.
-// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
-//
-//===----------------------------------------------------------------------===//
-//
-// This file contains basic functions for compression/uncompression.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_SUPPORT_COMPRESSION_H
-#define LLVM_SUPPORT_COMPRESSION_H
-
-#include "llvm/Support/DataTypes.h"
-
-namespace llvm {
-template <typename T> class SmallVectorImpl;
-class Error;
-class StringRef;
-
-namespace zlib {
-
-static constexpr int NoCompression = 0;
-static constexpr int BestSpeedCompression = 1;
-static constexpr int DefaultCompression = 6;
-static constexpr int BestSizeCompression = 9;
-
-bool isAvailable();
-
-Error compress(StringRef InputBuffer, SmallVectorImpl<char> &CompressedBuffer,
- int Level = DefaultCompression);
-
-Error uncompress(StringRef InputBuffer, char *UncompressedBuffer,
- size_t &UncompressedSize);
-
-Error uncompress(StringRef InputBuffer,
- SmallVectorImpl<char> &UncompressedBuffer,
- size_t UncompressedSize);
-
-uint32_t crc32(StringRef Buffer);
-
-} // End of namespace zlib
-
-} // End of namespace llvm
-
-#endif
-
-#ifdef __GNUC__
-#pragma GCC diagnostic pop
-#endif