Displaying 3 results from an estimated 3 matches for "inst_load".
2012 Sep 26
0
[LLVMdev] [PATCH / PROPOSAL] bitcode encoding that is ~15% smaller for large bitcode files...
...> +++ b/lib/Bitcode/Writer/BitcodeWriter.cpp
...
> @@ -55,7 +62,7 @@ enum {
> CONSTANTS_CE_CAST_Abbrev,
> CONSTANTS_NULL_Abbrev,
>
> - // FUNCTION_BLOCK abbrev id's.
> + // FUNCTION_BLOCK_REL abbrev id's.
Should this comment have been changed?
> FUNCTION_INST_LOAD_ABBREV = bitc::FIRST_APPLICATION_ABBREV,
> FUNCTION_INST_BINOP_ABBREV,
> FUNCTION_INST_BINOP_FLAGS_ABBREV,
...
> @@ -1025,12 +1037,15 @@ static void WriteModuleConstants(const ValueEnumerator &VE,
> ///
> /// This function adds V's value ID to Vals. If the value ID i...
2011 Nov 06
0
[LLVMdev] Enable Detailed Output llvm-bcanalyzer
...5513W
Percent of file: 28.9617%
Average Size: 845.87/105.73B/26W
Tot/Avg SubBlocks: 5365/1.227689e+00
Tot/Avg Abbrevs: 0/0.000000e+00
Tot/Avg Records: 65553/1.500069e+01
Percent Abbrevs: 32.9809%
Record Histogram:
Count # Bits % Abv Record Kind
11024 705536 INST_STORE
10930 295098 100.00 INST_LOAD
10519 575014 INST_ALLOCA
8444 692924 INST_CALL
5714 217132 100.00 INST_CAST
4370 54722 100.00 INST_RET
4370 96188 DECLAREBLOCKS
3791 263822 INST_INBOUNDS_GEP
2209 64912 INST_BR
1805 173588 INST_INVOKE
1269 88794 INST_GEP
476 30464 INST_CMP2
445 1780 100.00 INST_UNREACHABLE
161 7378 100....
2012 Sep 26
9
[LLVMdev] [PATCH / PROPOSAL] bitcode encoding that is ~15% smaller for large bitcode files...
Hi all,
I've been looking into how to make llvm bitcode files smaller. There is
one simple change that appears to shrink linked bitcode files by about 15%.
See this spreadsheet for some rough data:
https://docs.google.com/spreadsheet/ccc?key=0AjRrJHQc4_bddEtJdjdIek5fMDdIdFFIZldZXzdWa0E
The change is in how operand ids are encoded in bitcode files. Rather than
use an "absolute