llvm-bitcode icon indicating copy to clipboard operation
llvm-bitcode copied to clipboard

Implement bitcode writer

Open hryx opened this issue 1 year ago • 0 comments

Render the LLVM Bitcode structure to the bitstream format.

The only complicated part of this is the ability to choose the best encoding scheme for any given record (unabbreviated or using a custom abbreviation). I think a good way to start is rendering everything as unabbreviated, then introduce a way to render a record given a specific encoding scheme, and then finally a strategy for choosing a good encoding scheme for a given arbitrary record.

hryx avatar Dec 19 '22 04:12 hryx