Rename TRI::getAllocationOrder() to getRawAllocationOrder().
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 16 Jun 2011 23:31:16 +0000 (23:31 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 16 Jun 2011 23:31:16 +0000 (23:31 +0000)
commitdd5a8471526ceadf9bceb1a1221299b3db49c33a
tree242d25989213cbe232002e2bb36bbfcbc9aaac94
parentc02a6fa7d8f0ccf2e0059bc40978a466fff3fcab
Rename TRI::getAllocationOrder() to getRawAllocationOrder().

Also switch the return type to ArrayRef<unsigned> which works out nicely
for ARM's implementation of this function because of the clever ArrayRef
constructors.

The name change indicates that the returned allocation order may contain
reserved registers as has been the case for a while.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133216 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetRegisterInfo.h
lib/CodeGen/AllocationOrder.cpp
lib/CodeGen/RegAllocLinearScan.cpp
lib/Target/ARM/ARMBaseRegisterInfo.cpp
lib/Target/ARM/ARMBaseRegisterInfo.h