<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Is it possible to inline functions compiled from C++ code into generated code that is fed, Module by Module, into the ORC JIT?</div><div class=""><br class=""></div><div class="">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.</div><div class=""><br class=""></div><div class="">I already do this for file compilation/linking in my Common Lisp compiler “Clasp” (<a href="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=" class="">github.com/drmeister/clasp</a>).</div><div class=""><br class=""></div><div class="">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.</div><div class=""><br class=""></div><div class="">Christian Schafmeister</div><div class=""><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div class="">Professor, Chemistry Department</div><div class="">Temple University</div><div class=""><a href="mailto:meister@temple.edu" class="">meister@temple.edu</a></div></div></div></body></html>