]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - opencl/llvm.git/commit
Remove LiveIntervals::iterator.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 20 Jun 2012 23:54:20 +0000 (23:54 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 20 Jun 2012 23:54:20 +0000 (23:54 +0000)
commit895fe245578830881744826b04da4788ff614853
treef290ad32e4d88554728c4700f4d02977a64c6dea
parent0f3c892cdecd6c0978341b7ca5e1abaeafd893ea
Remove LiveIntervals::iterator.

Live intervals for regunits and virtual registers are stored separately,
and physreg live intervals are going away.

To visit the live ranges of all virtual registers, use this pattern
instead:

  for (unsigned i = 0, e = MRI->getNumVirtRegs(); i != e; ++i) {
    unsigned Reg = TargetRegisterInfo::index2VirtReg(i);
    if (MRI->reg_nodbg_empty(Reg))
      continue;

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158879 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/LiveIntervalAnalysis.h