Displaying 1 result from an estimated 1 matches for "d302a8db".
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