Move TableGen's register bank classes to their own source file.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 9 Jun 2011 18:42:07 +0000 (18:42 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 9 Jun 2011 18:42:07 +0000 (18:42 +0000)
commitf1e2b23dfabb74249c2f1828dc902bd4bda52aa8
tree568ab270cfdf5c2bd20e5124c10364d96ab5bd76
parent372ab67ee8a279cbe11bc7ac1e60e565b3f5727d
Move TableGen's register bank classes to their own source file.

I'll be moving some more code there to gather all of the
register-specific stuff in one place. Currently it is shared between
CodeGenTarget and RegisterInfoEmitter.

The plan is that CodeGenRegisters can compute the full register bank
structure while RegisterInfoEmitter only will handle the printing part.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132788 91177308-0d34-0410-b5e6-96231b3b80d8
utils/TableGen/CMakeLists.txt
utils/TableGen/CodeGenRegisters.cpp [new file with mode: 0644]
utils/TableGen/CodeGenTarget.cpp