[LLVMdev] [LLVMDev] Live Intervals and Finding the next usage

Jakob Stoklund Olesen stoklund at 2pi.dk
Thu Jan 20 08:35:03 PST 2011


On Jan 20, 2011, at 5:37 AM, Jeff Kunkel wrote:

> 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?

Not really, you have to use the use-def chain. See SplitAnalysis::analyzeUses().

/jakob

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1929 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110120/c34b5fca/attachment.bin>


More information about the llvm-dev mailing list