[LLVMdev] Programmatically converting LLVM IR to native code

Baris Aktemur baris.aktemur at ozyegin.edu.tr
Thu Sep 20 02:42:56 PDT 2012


I am generating LLVM IR code and I would like to convert this IR code to native code using the LLVM C++ API. This would be very similar to what's done in the Kaleidoscope tutorial, but instead of relying on JIT compilation, I'd like to emit native code -- the same native code that's produced by llc, for instance.

I'm sure this is possible, but I wasn't able to find the resource I need. Any help would be much appreciated.

Thanks in advance.

-Baris Aktemur


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120920/45a2f1b9/attachment.html>


More information about the llvm-dev mailing list