[LLVMdev] Inlining native functions during JIT compilation

Timothy Baldridge tbaldridge at gmail.com
Mon Jan 6 09:46:20 PST 2014


Let's say I'm using LLVM to JIT compile a function. Inside that function I
make a call to a runtime method in a currently loaded library. Is there any
way to get LLVM to inline that function call?

As an example, let's say my jitted function calls memcpy, can I get
memcpy's body inlined somehow? Or can that only be done via lto and aot
compilation?

Thanks,

Timothy Baldridge
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140106/f4784256/attachment.html>


More information about the llvm-dev mailing list