search for: 9875b33d

Displaying 1 result from an estimated 1 matches for "9875b33d".

2018 Sep 06
2
Serializing LLVM IR in custom fashion
Hello. I need to write a pass that converts a whole LLVM module into a bytecode for some other VM. VM's instructions resemble LLVM ones pretty much, so it is almost 1-to-1 translation. Basically, I need to do what BitWriterPass does, but using different format for the resulting bytecode. The obvious solution is just to iterate over all Instructions and serialize them using giant