[LLVMdev] Fwd: bitcode / bytecode

Chris Lattner clattner at apple.com
Thu Sep 30 09:09:57 PDT 2010


On Sep 30, 2010, at 5:26 AM, Joachim Durchholz wrote:

> Am 30.09.2010 00:34, schrieb Chris Lattner:
>> 
>> The format is literally a bitstream, not a bytestream.  See this document for more details:
>> http://llvm.org/docs/BitCodeFormat.html
> 
> Ah... something I always meant to ask: How does the LLVM infrastructure 
> deal with the added overhead of packing/unpacking a bitstream?
> Ignore it since modern CPUs can deal with that?
> Some ingenious algorithm?

We don't do anything tricky, feel free to look at the source in llvm/lib/Bitcode.

-Chris



More information about the llvm-dev mailing list