summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-05-05 06:30:12 +0000
committerChris Lattner <sabre@nondot.org>2007-05-05 06:30:12 +0000
commitccee706345cafe505fbd0110fd0849b884b5c2cd (patch)
treed983ed4db6e5a4e7146b24a5d99e290af9f6ebad /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent5c827bda0dafe36172005585e48e0d3437b4ea87 (diff)
downloadbcm5719-llvm-ccee706345cafe505fbd0110fd0849b884b5c2cd.tar.gz
bcm5719-llvm-ccee706345cafe505fbd0110fd0849b884b5c2cd.zip
Add abbreviations to the TYPE_BLOCK for pointers, functions, structs and arrays.
This shrinks the type_block of kc++ from 139901 bits to 99389 bits (0.55% to 0.39% of the file), a 40% reduction. This shrink the record from: Block ID #10 (TYPE_BLOCK): Num Instances: 1 Total Size: 139901b/17487.6B/4371.91W % of file: 0.549306 Num Abbrevs: 0 Num Records: 3203 % Abbrev Recs: 0 to: Block ID #10 (TYPE_BLOCK): Num Instances: 1 Total Size: 99389b/12423.6B/3105.91W % of file: 0.390862 Num Abbrevs: 4 Num Records: 3203 % Abbrev Recs: 99.6566 With a common histogram of: Code Histogram: 1613 POINTER 1100 FUNCTION 255 STRUCT 224 ARRAY 5 INTEGER 2 OPAQUE 1 LABEL 1 DOUBLE 1 VOID 1 NUMENTRY llvm-svn: 36776
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud