[llvm-dev] Inlining with the ORC JIT
Christian Schafmeister via llvm-dev
llvm-dev at lists.llvm.org
Mon Feb 20 09:44:07 PST 2017
Is it possible to inline functions compiled from C++ code into generated code that is fed, Module by Module, into the ORC JIT?
I'd like to add a Module compiled from C++ code into the JIT and then as I add later modules, functions from the first module are inlined in the later ones.
I already do this for file compilation/linking in my Common Lisp compiler “Clasp” (github.com/drmeister/clasp <https://urldefense.proofpoint.com/v2/url?u=http-3A__github.com_drmeister_clasp&d=DwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=Mfk2qtn1LTDThVkh6-oGglNfMADXfJdty4_bhmuhMHA&m=sSykZW5nIEBIoQEQoyEQF3iTvIwIffdEAf9FkbyVYz0&s=ao0EQZ_k7esDdMap8YjoO52BiKyMRHBv7PG4XJdrBOc&e=>).
I have followed the new ORC Kaleidoscope demo and set up the ORC layers to do optimization and compilation but the examples are all for function optimization and do not describe inlining.
Christian Schafmeister
Professor, Chemistry Department
Temple University
meister at temple.edu <mailto:meister at temple.edu>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170220/2d252107/attachment.html>
More information about the llvm-dev
mailing list