[LLVMdev] Inlining native functions during JIT compilation
listmail at philipreames.com
Mon Jan 6 15:25:12 PST 2014
As long as the JIT knows about the IR for the functions, you should be
able to use the standard inlining passes. For standard c routines
(memcpy,etc..) this knowledge is built in. For language specific
routines, you'll have to provide the IR.
On 1/6/14 9:46 AM, Timothy Baldridge 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?
> Timothy Baldridge
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev