<div dir="ltr">Hi,<div><br></div><div>I believe that my question isn't clear. So, please let me rephrase :</div><div><br></div><div><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(2, 19, 36); white-space: pre; "><div>
I am running  a basic block pass (and iterating through each instruction).</div><div>Is it possible to convert the basic block instruction form <span style="color: rgb(51, 51, 255); ">llvm IR</span> to <span style="color: rgb(51, 51, 255); ">x86 IR</span> WITHIN the path ?</div>
<div><br></div><div>I mean: is LLVM API exists for this purpose ?</div><div><br></div><div>Again, thanks. </div><div><br></div></span><div class="gmail_quote">On Sun, May 10, 2009 at 10:30 PM, me22 <span dir="ltr"><<a href="http://me22.ca">me22.ca</a>@<a href="http://gmail.com">gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div></div><div class="h5">On Sun, May 10, 2009 at 15:17, Rotem Varon <<a href="mailto:varonrotem@gmail.com">varonrotem@gmail.com</a>> wrote:<br>

> I am running a basic block pass (and iterating through each instruction).<br>
> Is it possible to convert the basic block instruction form llvm IR to x86 IR<br>
> WITHIN the path ?<br>
><br>
<br>
</div></div>It seems to me that phi nodes would mean that you can't convert any<br>
unit smaller than a function to native code.<br>
<br>
~ Scott<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
</blockquote></div><br></div></div>