Compute a map from register names to registers, rather than scanning the list of...
authorOwen Anderson <resistor@mac.com>
Tue, 11 Sep 2012 23:32:17 +0000 (23:32 +0000)
committerOwen Anderson <resistor@mac.com>
Tue, 11 Sep 2012 23:32:17 +0000 (23:32 +0000)
commitd2c699706ceae4a118a8dcafbef73b85093e5390
treee000ca9e32f391fae8690032e0b634b074ca9080
parent2a3fcb382ef43374327b7b7672fe1e1e178041da
Compute a map from register names to registers, rather than scanning the list of registers every time we want to look up a register by name.

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