This commit adds most of functions needed for introspection of the IR through the C API. It was inspired by additional functions defined in the llvm-general Haskell bindings, which can convert the IR losslessly into Haskell datatypes and vice versa.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
I just realized this patch has been sitting in the queue for a long time. Any comments?
Comment Actions
I think the patch is hard to review because it's a collection of unrelated additions to the C API. I'll be happy to review the patch if you splitted it.