teak-llvm/llvm/lib/Bitcode/Writer
Chris Lattner fd1ad10e61 shave another 150K off of kc++, by using a 7-bit encoding for BB names
where we can.  This shrinks kc++'s down to 3368K, with a VST record of:

  Block ID #14 (VALUE_SYMTAB):
      Num Instances: 2345
         Total Size: 1.29508e+07b/1.61885e+06B/404713W
       Average Size: 5522.73b/690.342B/172.585W
          % of file: 48.0645
  Tot/Avg SubBlocks: 0/0
    Tot/Avg Abbrevs: 7035/3
    Tot/Avg Records: 120924/51.5667
      % Abbrev Recs: 100

Isn't it nice to be able to optimizer bc size without touching the reader? :)

llvm-svn: 36759
2007-05-04 20:58:35 +00:00
..
BitcodeWriter.cpp shave another 150K off of kc++, by using a 7-bit encoding for BB names 2007-05-04 20:58:35 +00:00
Makefile Initial support for writing bitcode files. This currently only writes types, 2007-04-22 06:24:45 +00:00
ValueEnumerator.cpp optimize constant layout. This fixes encoding of 181.mcf (by ensuring 2007-05-04 05:21:47 +00:00
ValueEnumerator.h optimize constant layout. This fixes encoding of 181.mcf (by ensuring 2007-05-04 05:21:47 +00:00