Move some sub-register index calculations to CodeGenRegisters.cpp
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 10 Jun 2011 18:40:00 +0000 (18:40 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 10 Jun 2011 18:40:00 +0000 (18:40 +0000)
commitdc29c447136aabf05f48a7119e48065c3b4cee9b
tree016c3a9f096d356130c373c79921ea124d2ec924
parentc610017269cf193d6a16f7288c2525d8d3adb566
Move some sub-register index calculations to CodeGenRegisters.cpp

Create a new CodeGenRegBank class that will eventually hold all the code
that computes the register structure from Records.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132849 91177308-0d34-0410-b5e6-96231b3b80d8
utils/TableGen/CodeGenRegisters.cpp
utils/TableGen/CodeGenRegisters.h
utils/TableGen/CodeGenTarget.cpp
utils/TableGen/CodeGenTarget.h
utils/TableGen/RegisterInfoEmitter.cpp