<div>If I had more than just the one requirement, I would use SplitAnalysis. It provides quite a descriptive list of dependencies for the live interval. However, since I only have the one requirement, I will retain the current code. Although, I will use the MachineRegisterInfo::<span class="Apple-style-span" style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 13px; "><a class="el" href="http://llvm.org/docs/doxygen/html/classllvm_1_1MachineRegisterInfo.html#af7083a77ea4e68dd4982ae6e03b6ced0" style="color: rgb(37, 46, 120); text-decoration: none; font-weight: bold; cursor: pointer; ">reg_nodbg_iterator</a>. I believe this is what I need. </span></div>
<div><font class="Apple-style-span" face="Verdana, Geneva, Arial, Helvetica, sans-serif"><br></font></div><div><font class="Apple-style-span" face="Verdana, Geneva, Arial, Helvetica, sans-serif">Thanks, </font></div><div>
<font class="Apple-style-span" face="Verdana, Geneva, Arial, Helvetica, sans-serif">Jeff Kunkel<br></font><br><div class="gmail_quote">On Thu, Jan 20, 2011 at 11:35 AM, Jakob Stoklund Olesen <span dir="ltr"><<a href="mailto:stoklund@2pi.dk">stoklund@2pi.dk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im"><br>
On Jan 20, 2011, at 5:37 AM, Jeff Kunkel wrote:<br>
<br>
> I have a live interval, and I would like to find out what SlotIndex the next use the register will occur? Is there any way to map a live interval back into instructions or SlotIndexes or blocks used by?<br>
<br>
</div>Not really, you have to use the use-def chain. See SplitAnalysis::analyzeUses().<br>
<font color="#888888"><br>
/jakob<br>
<br>
</font></blockquote></div><br></div>