Extract the generateHashTable function.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Sun, 12 Jun 2011 07:04:26 +0000 (07:04 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Sun, 12 Jun 2011 07:04:26 +0000 (07:04 +0000)
commit4091b059ec9568228f50fd67a1a81ee35c234787
tree81052c61ef2816c2604851f6053201a70d464675
parent1edc08b09ff723f3ff80dba28401b58b3ee4569e
Extract the generateHashTable function.

The constant hash tables for sub-registers and overlaps are generated
the same way, so extract a function to generate and print the hash
table.

Also use the information computed by CodeGenRegisters.cpp instead of the
locally data.

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