llvm-6502/lib/Bytecode/Reader
Chris Lattner 8d1dbd2134 Emit & read more compressed bytecode by not emitting a bytecodeblock for
each basic block in function.  Instead, just emit a stream of instructions,
chopping up basic blocks based on when we find terminator instructions.  This
saves a fairly substantial chunk of bytecode space.  In stripped, sample
cases, for example, we get this reduction in size:

197.parser: 163036 -> 137180:  18.8% reduction
254.gap   : 844936 -> 689392:  22.6%
255.vortex: 621724 -> 528444:  17.7%

...

Not bad for something this simple.  :)  Note that this doesn't require a new
bytecode version number at all, though version 1.1 should not need to support
the old format.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10280 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-01 07:05:31 +00:00
..
ArchiveReader.cpp Implement skeletal support for __.SYMDEF (ranlib) sections in archives. 2003-11-16 23:08:48 +00:00
ConstantReader.cpp In the future, these slabs can be null... 2003-11-19 17:20:42 +00:00
InstructionReader.cpp Minor efficiency improvements, finegrainify namespacification 2003-11-19 17:21:11 +00:00
Makefile Added LLVM copyright notice to Makefiles. 2003-10-20 22:26:57 +00:00
Reader.cpp Emit & read more compressed bytecode by not emitting a bytecodeblock for 2003-12-01 07:05:31 +00:00
ReaderInternals.h Emit & read more compressed bytecode by not emitting a bytecodeblock for 2003-12-01 07:05:31 +00:00
ReaderWrappers.cpp Fine grainify namespacification, #include file that defines the interface! 2003-11-19 16:06:55 +00:00