Craig Topper
694437e2ef
Make consistent use of MCPhysReg instead of uint16_t throughout the tree.
...
llvm-svn: 205610
2014-04-04 05:16:06 +00:00
Andrew Trick
2436517fbd
MI-Sched: Adjust regpressure limits for reserved regs.
...
llvm-svn: 184564
2013-06-21 18:32:58 +00:00
Jakob Stoklund Olesen
9f70ce8254
Precompute some information about register costs.
...
Remember the minimum cost of the registers in an allocation order and
the number of registers at the end of the allocation order that have the
same cost per use.
This information can be used to limit the search space for
RAGreedy::tryEvict() when looking for a cheaper register.
llvm-svn: 172280
2013-01-12 00:54:59 +00:00
Jakob Stoklund Olesen
9bbaa29b20
Use MCPhysReg for RegisterClassInfo allocation orders.
...
This saves a bit of memory.
llvm-svn: 168852
2012-11-29 03:34:17 +00:00
Jakob Stoklund Olesen
c808be0c56
Remove RegisterClassInfo::isReserved() and isAllocatable().
...
Clients can use the equivalent functions in MRI.
llvm-svn: 165990
2012-10-15 22:41:03 +00:00
Andrew Trick
3e809a2fba
Move RegisterClassInfo.h.
...
Allow targets to access this API. It's required for RegisterPressure.
llvm-svn: 158102
2012-06-06 20:29:31 +00:00