[LLVMdev] Inlining native functions during JIT compilation

Eric Christopher echristo at gmail.com
Mon Jan 6 12:06:54 PST 2014


llvm is capable of inlining some of the basic functions like that during
some of the optimization passes. How are you compiling?

On Mon Jan 06 2014 at 9:49:04 AM, Timothy Baldridge <tbaldridge at gmail.com>
wrote:

> 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/c2e41152/attachment.html>


More information about the llvm-dev mailing list