Is it possible to convert llvmlite.bingding.ModuleRef parsed from bitcode to llvmlite.ir.Module? So that I can check whether instruction is Load by isinstance(insn, LoadInstr).
What I need is detailed parsing of existing llvm bitcode, instead of creating new bitcode files.
There's no support for parsing existing bitcode at present. I'll label this as a feature request, though I note that it's a non-trivial amount of work to implement.
Is it possible to convert
llvmlite.bingding.ModuleRef
parsed from bitcode tollvmlite.ir.Module
? So that I can check whether instruction isLoad
byisinstance(insn, LoadInstr)
.What I need is detailed parsing of existing llvm bitcode, instead of creating new bitcode files.
Thank.