add a char6 abbrev for bbnames and value names. This represents each character
authorChris Lattner <sabre@nondot.org>
Sat, 5 May 2007 01:26:50 +0000 (01:26 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 5 May 2007 01:26:50 +0000 (01:26 +0000)
commitff294a4e1e734d9fc1d5798ff9e00db4d70b5856
tree8c1e8d276ddcc8aff59bae253b3337f6731c7ab2
parent28e4c4c9b3b9bf8939405df24b87062c1f10a9a3
add a char6 abbrev for bbnames and value names.  This represents each character
with 6 bits where possible.  This shrinks kc++ from 3324164B to 3183584B.  The
old VST was:

  Block ID #14 (VALUE_SYMTAB):
         Total Size: 1.26713e+07b/1.58391e+06B/395978W
       Average Size: 5403.53b/675.442B/168.86W
          % of file: 47.6484

The new one is:

  Block ID #14 (VALUE_SYMTAB):
         Total Size: 1.15467e+07b/1.44334e+06B/360834W
       Average Size: 4923.96b/615.495B/153.874W
          % of file: 45.3368

This is 11% smaller than the VST in the bytecode format.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36771 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Bitcode/Writer/BitcodeWriter.cpp