<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">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. <br>
<br>
Philip<br>
<br>
On 1/6/14 9:46 AM, Timothy Baldridge wrote:<br>
</div>
<blockquote
cite="mid:CAL36E+smjep2A09kVzetmgPayAHQmCAOEhwPdeiXvNE-GWZ7AQ@mail.gmail.com"
type="cite">
<div dir="ltr">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?<br>
<br>
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?<br>
<br>
Thanks,<br>
<br>
Timothy Baldridge</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
LLVM Developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a> <a class="moz-txt-link-freetext" href="http://llvm.cs.uiuc.edu">http://llvm.cs.uiuc.edu</a>
<a class="moz-txt-link-freetext" href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a>
</pre>
</blockquote>
<br>
</body>
</html>