Evan Cheng
|
595b6d121c
|
Bad bad bug. findRegisterUseOperand() returns -1 if a use if not found.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35618 91177308-0d34-0410-b5e6-96231b3b80d8
|
2007-04-03 06:43:29 +00:00 |
|
Dale Johannesen
|
c6b9ef80a8
|
Fix reversed logic in getRegsUsed. Rename RegStates to RegsAvailable to
hopefully forestall similar errors.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35362 91177308-0d34-0410-b5e6-96231b3b80d8
|
2007-03-26 22:23:54 +00:00 |
|
Dale Johannesen
|
69cb9b78f1
|
maintain LiveIn when splitting blocks (register scavenging needs it)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35226 91177308-0d34-0410-b5e6-96231b3b80d8
|
2007-03-20 21:35:06 +00:00 |
|
Evan Cheng
|
caddd590f7
|
Minor bug fix.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34985 91177308-0d34-0410-b5e6-96231b3b80d8
|
2007-03-06 21:58:15 +00:00 |
|
Evan Cheng
|
b74a3e6fda
|
Register scavenger is now capable of scavenging. It spills a register whose use of furthest away to make it available.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34964 91177308-0d34-0410-b5e6-96231b3b80d8
|
2007-03-06 10:01:25 +00:00 |
|
Evan Cheng
|
5de3b7f351
|
Mark dead def as unused.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34844 91177308-0d34-0410-b5e6-96231b3b80d8
|
2007-03-02 10:43:16 +00:00 |
|
Evan Cheng
|
5196b3680c
|
Add a version of FindUnusedReg that restrict search to a specific set of registers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34784 91177308-0d34-0410-b5e6-96231b3b80d8
|
2007-03-01 08:56:24 +00:00 |
|
Evan Cheng
|
a3756ee7fe
|
Interface clean up.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34770 91177308-0d34-0410-b5e6-96231b3b80d8
|
2007-03-01 02:19:39 +00:00 |
|
Evan Cheng
|
898218cc5e
|
Some more code clean up.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34700 91177308-0d34-0410-b5e6-96231b3b80d8
|
2007-02-27 22:58:43 +00:00 |
|
Evan Cheng
|
8cab162e03
|
Oops.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34698 91177308-0d34-0410-b5e6-96231b3b80d8
|
2007-02-27 22:10:52 +00:00 |
|
Evan Cheng
|
bb6fb3357d
|
RegScavenger interface change to make it more flexible.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34690 91177308-0d34-0410-b5e6-96231b3b80d8
|
2007-02-27 21:09:48 +00:00 |
|
Evan Cheng
|
ed570dedad
|
forward() should not increment internal iterator. Its client may insert instruction between now and next forward() call.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34649 91177308-0d34-0410-b5e6-96231b3b80d8
|
2007-02-27 01:58:48 +00:00 |
|
Evan Cheng
|
0badfea274
|
Add an assertion.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34596 91177308-0d34-0410-b5e6-96231b3b80d8
|
2007-02-25 09:47:31 +00:00 |
|
Evan Cheng
|
403c45dfcc
|
Mark livein registers as being in used.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34525 91177308-0d34-0410-b5e6-96231b3b80d8
|
2007-02-23 08:41:19 +00:00 |
|
Evan Cheng
|
96fa612373
|
Initial check in of register scavenger. Its only current functionality is tracking live registers per MBB.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34511 91177308-0d34-0410-b5e6-96231b3b80d8
|
2007-02-23 01:01:19 +00:00 |
|