commit | c9672cb8bea13fcbcbdb1cf26708d831c034c089 | [log] [tgz] |
---|---|---|
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | Fri Dec 10 18:36:02 2010 +0000 |
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | Fri Dec 10 18:36:02 2010 +0000 |
tree | bb4d6faabdd9e006f74f47682f2bf7125a0438da | |
parent | e246717c3a36a913fd4200776ed621649bb2b624 [diff] |
Add an AllocationOrder class that can iterate over the allocatable physical registers for a given virtual register. Reserved registers are filtered from the allocation order, and any valid hint is returned as the first suggestion. For target dependent hints, a number of arcane target hooks are invoked. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121497 91177308-0d34-0410-b5e6-96231b3b80d8