<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Ok. If it's at llvm ir level, it's very simple since everything is in SSA form. What are you trying to achieve though? <div><br></div><div>Evan</div><div><br><div><div>On Aug 19, 2008, at 6:51 PM, Sean Soria wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">It's done at the MachineFunctionPass level as far as I can tell (<a href="http://llvm.org/doxygen/classllvm_1_1LiveIntervals.html">http://llvm.org/doxygen/classllvm_1_1LiveIntervals.html</a>).  I'd like something at the FunctionPass level.<br> <br><div class="gmail_quote">On Tue, Aug 19, 2008 at 6:11 PM, Evan Cheng <span dir="ltr"><<a href="mailto:evan.cheng@apple.com">evan.cheng@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> I am not sure what you mean. Live interval analysis is done at the<br> function level.<br> <br> Evan<br> <div><div></div><div class="Wj3C7c"><br> On Aug 19, 2008, at 1:26 AM, Sean Soria wrote:<br> <br> > Is there an equivalent to LiveIntervals that works at the Function<br> > level?  If not, is there anything that makes it difficult to<br> > implement compared to the MachineFunction version?<br> ><br> > Sean<br> </div></div>> _______________________________________________<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> <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> _______________________________________________<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">http://llvm.cs.uiuc.edu</a><br><a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br></blockquote></div><br></div></body></html>