summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Compressor.cpp
Commit message (Collapse)AuthorAgeFilesLines
* remove this file for now, we can bring it back from cvs if we need it inChris Lattner2007-05-061-561/+0
| | | | | | the future (and integrate it with membuffer, etc) llvm-svn: 36876
* disable this for nowChris Lattner2007-05-061-0/+3
| | | | llvm-svn: 36870
* This patch (written by Reid) changes compressor to never throw an exception.Chris Lattner2006-07-071-38/+107
| | | | llvm-svn: 29045
* Patches to make the LLVM sources more -pedantic clean. Patch providedChris Lattner2006-05-241-1/+1
| | | | | | by Anton Korobeynikov! This is a step towards closing PR786. llvm-svn: 28447
* Eliminate all remaining tabs and trailing spaces.Jeff Cohen2005-07-271-1/+1
| | | | llvm-svn: 22523
* Make sure that decompression checks for the case that bzip2 returnsReid Spencer2005-05-131-4/+6
| | | | | | | | BZ_OK (meaning more data is expected) but there is no more input data. In this case, the input file is probably truncated. Generate an exception that indicates this case when its detected. llvm-svn: 21926
* Convert tabs to spacesMisha Brukman2005-04-221-1/+2
| | | | llvm-svn: 21440
* Remove trailing whitespaceMisha Brukman2005-04-211-27/+27
| | | | llvm-svn: 21422
* Make this work on systems where size_t == unsigned and where they are notTanya Lattner2005-01-291-6/+6
| | | | | | the same. llvm-svn: 19929
* Make this work on systems where size_t is not the same as unsigned.Tanya Lattner2005-01-291-0/+8
| | | | llvm-svn: 19928
* This file was schizophrenic when it came to representing sizes. In someChris Lattner2005-01-291-44/+45
| | | | | | | | | | cases it represented them as 'unsigned's, which are not enough for 64-bit hosts. In other cases, it represented them as uint64_t's, which are inefficient for 32-bit hosts. This patch unifies all of the sizes to use size_t instead. llvm-svn: 19918
* After reading in a bc file, trim the resultant buffer down to what weChris Lattner2005-01-291-2/+12
| | | | | | really need. This reduces 4M of memory consumption reading 176.gcc. llvm-svn: 19916
* Finegrainify namespacificationChris Lattner2005-01-291-12/+14
| | | | llvm-svn: 19915
* Do not throw away bits for no reasonChris Lattner2005-01-081-1/+1
| | | | llvm-svn: 19378
* Up the compression threshold to 64K so we avoid it for all but the largestReid Spencer2004-11-301-1/+1
| | | | | | bytecode files. This should help linking substantially. llvm-svn: 18378
* Remove zlib support in favor of our own bzip2 libraryReid Spencer2004-11-251-177/+77
| | | | llvm-svn: 18250
* Allow this to compile even on machines that HAVE the bzlib library but doReid Spencer2004-11-191-5/+11
| | | | | | NOT have the bzlib.h header file. Go figure. llvm-svn: 17989
* 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