Add MCRegisterInfo::RegListIterator.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 30 May 2012 16:36:28 +0000 (16:36 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 30 May 2012 16:36:28 +0000 (16:36 +0000)
commitcd00ef033cf944fc96a0d06ffcf49cd805fc4ee3
tree0b2b4bab850900a04cdac7aedc35c3e91af40caf
parent1afbd278d10a24803491015a5f50508f3ab422e7
Add MCRegisterInfo::RegListIterator.

Also add subclasses MCSubRegIterator, MCSuperRegIterator, and
MCRegAliasIterator.

These iterators provide an abstract interface to the MCRegisterInfo
register lists so the internal representation can be changed without
changing all clients.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157695 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCRegisterInfo.h
include/llvm/Target/TargetRegisterInfo.h