Jakob Stoklund Olesen e4f273908b Freeze the reserved registers as soon as isel is complete.
Also provide an MRI::getReservedRegs() function to access the frozen
register set, and isReserved() and isAllocatable() methods to test
individual registers.

The various implementations of TRI::getReservedRegs() are quite
complicated, and many passes need to look at the reserved register set.
This patch makes it possible for these passes to use the cached copy in
MRI, avoiding a lot of malloc traffic and repeated calculations.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165982 91177308-0d34-0410-b5e6-96231b3b80d8
2012-10-15 21:33:06 +00:00
..
2012-10-11 23:30:49 +00:00
2012-10-11 23:30:49 +00:00
2012-10-11 23:30:49 +00:00
2012-10-08 23:14:28 +00:00
2012-10-11 23:30:49 +00:00
2012-10-11 23:30:49 +00:00
2012-10-11 23:30:49 +00:00
2012-10-11 23:30:49 +00:00
2012-10-09 08:13:15 +00:00
2012-10-11 23:30:49 +00:00
2012-10-11 23:30:49 +00:00
2012-10-11 23:30:49 +00:00
2012-10-11 07:32:34 +00:00
2012-10-11 23:30:49 +00:00
2012-10-11 23:30:49 +00:00
2012-10-11 23:30:49 +00:00
2012-10-11 23:30:49 +00:00
2012-10-15 04:46:55 +00:00
2012-10-11 07:32:34 +00:00
2012-10-11 23:30:49 +00:00
2012-10-11 23:30:49 +00:00
2012-10-11 23:30:49 +00:00
2012-10-11 23:30:49 +00:00
2012-10-11 23:30:49 +00:00