[llvm-dev] LiveInterval and Loop Info

Natanael Ramos via llvm-dev
Fri, 04 Sep 2015 18:43:35 -0000

Thanks Matthias

I can also use the method intervalIsInOneMBB() from LiveIntervals class to
relate a LiveInterval to a MachineBasicBlock, right?
Em 04/09/2015 2:26 PM, "Matthias Braun" <mbraun at apple.com>
escreveu:

> 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.
>
> - Matthias
>
> On Sep 3, 2015, at 10:47 AM, Natanael Ramos via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
>
> Hello to all LLVM Developers.
>
> Given a object from a LiveInterval class, is there any way to know if this
> Live Interval is part or is inside a loop?
>
> Att
>
> --
> Natanael Ramos
> Membro do corpo discente de Ciência da Computação pelo Instituto Federal
> de
> Minas Gerais - Campus Formiga
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20150904/ac2ce639/attachment.html>