<p dir="ltr">Ok. Thanks </p>
<div class="gmail_quote">Em 04/09/2015 5:20 PM, "Matthias Braun" <<a href="mailto:mbraun@apple.com">mbraun@apple.com</a>> escreveu:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>As the name implies this function will only give you a basic block if the LiveInterval/LiveRange is completely contained within a single basic block, for the more general cases you will need the other functions.</div><div><br></div><div>- Matthias</div><br><div><blockquote type="cite"><div>On Sep 4, 2015, at 11:43 AM, Natanael Ramos <<a href="mailto:naelr8@gmail.com" target="_blank">naelr8@gmail.com</a>> wrote:</div><br><div><p dir="ltr">Thanks Matthias </p><p dir="ltr">I can also use the method intervalIsInOneMBB() from LiveIntervals class to relate a LiveInterval to a MachineBasicBlock, right? </p>
<div class="gmail_quote">Em 04/09/2015 2:26 PM, "Matthias Braun" <<a href="mailto:mbraun@apple.com" target="_blank">mbraun@apple.com</a>> escreveu:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>There is no direct support for this, but you can use LiveIntervalAnalysis::getMBBStartIndex()/getMBBEndIndex()/getMBBFromIndex() to relate the SlotIndexes used in the LiveIntervals to MachineBasicBlocks which in turn you can relate to your MachineLoopInfo.</div><div><br></div><div>- Matthias</div><br><div><blockquote type="cite"><div>On Sep 3, 2015, at 10:47 AM, Natanael Ramos via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>> wrote:</div><br><div><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hello to all LLVM Developers.<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Given a object from a LiveInterval class, is there any way to know if this Live Interval is part or is inside a loop?<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Att<br clear="all"></div><br>-- <br><div>Natanael Ramos <br>Membro do corpo discente de Ciência da Computação pelo Instituto Federal de <br>Minas Gerais - Campus Formiga<br><br></div>
</div>
_______________________________________________<br>LLVM Developers mailing list<br><a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br><a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br></div></blockquote></div><br></div></blockquote></div>
</div></blockquote></div><br></div></blockquote></div>