summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Compressor.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Implement the high level interface to make (de)compression easier.Reid Spencer2004-11-141-9/+181
| | | | llvm-svn: 17775
* Tune compression:Reid Spencer2004-11-091-2/+2
| | | | | | | | | | bzip2: block size 9 -> 5, reduces memory by 400Kbytes, doesn't affect speed or compression ratio on all but the largest bytecode files (>1MB) zip: level 9 -> 6, this speeds up compression time by ~30% but only degrades the compressed size by a few bytes per megabyte. Those few bytes aren't worth the effort. llvm-svn: 17647
* Excise the ill-advised RLCOMP compression algorithm and simply leave theReid Spencer2004-10-041-159/+20
| | | | | | | | previously temporary NULLCOMP implementation that merely copies the data verbatim without compression. Also, don't warn if there's no compression library as that is taken care of during configuration time. llvm-svn: 16654
* Add a context for the callback so different compression scenarios can beReid Spencer2004-10-041-18/+18
| | | | | | distinguished. Tidy up documentation. Thanks, Chris. llvm-svn: 16652
* Fix build if not HAVE_BZIP2Chris Lattner2004-10-041-1/+1
| | | | llvm-svn: 16650
* First version of a support utility to provide generalized compression inReid Spencer2004-10-041-0/+526
LLVM that handles availability and unavailability of bzip2 and zlib. llvm-svn: 16648
OpenPOWER on IntegriCloud