| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
llvm-svn: 10728
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
a) remove opIsUse(), opIsDefOnly(), opIsDefAndUse()
b) add isUse(), isDef()
c) rename opHiBits32() to isHiBits32(),
opLoBits32() to isLoBits32(),
opHiBits64() to isHiBits64(),
opLoBits64() to isLoBits64().
This results to much more readable code, for example compare
"op.opIsDef() || op.opIsDefAndUse()" to "op.isDef()" a pattern used
very often in the code.
llvm-svn: 10461
|
|
|
|
| |
llvm-svn: 9903
|
|
|
|
|
|
|
| |
externally-visible linkage, and SaveStateToModule must default to true for llc.
I don't remember why I made it const; perhaps it should be deconstified.
llvm-svn: 9858
|
|
|
|
|
|
|
|
| |
each instruction produces as "operand" -1, and the other operands as 0
.. n, as before. PhyRegAlloc::saveState() is refactored into
PhyRegAlloc::saveStateForValue().
llvm-svn: 9842
|
|
|
|
|
|
|
| |
status. In doFinalization(), skip over external functions, just like
Anand's mapping info does.
llvm-svn: 9703
|
|
|
|
| |
llvm-svn: 9697
|
|
|
|
|
|
|
|
|
| |
implementing verifySavedState().
In saveState(), use the new AllocInfo::AllocStateTy enum, and increment
Insn each time through the loop.
llvm-svn: 9617
|
|
|
|
|
|
| |
Move the stringifying method for that enum into class AllocInfo.
llvm-svn: 9616
|
|
|
|
|
|
|
|
| |
Prototype option to save state in a global instead of as a Constant in
the Module. (Turned off, for now, with the on/off switch welded in the off
position. You get the idea.)
llvm-svn: 9500
|
|
|
|
| |
llvm-svn: 9452
|
|
|
|
|
|
|
|
| |
Make FnAllocState contain vectors of AllocInfo, instead of LLVM Constants.
Give doFinalization a method comment, and let it do the work of converting
AllocInfos to LLVM Constants.
llvm-svn: 9451
|
|
|
|
| |
llvm-svn: 9450
|
|
|
|
| |
llvm-svn: 9449
|
|
|
|
|
|
|
|
| |
* Fix order of #includes
* Make code layout more consistent
* Eliminate extraneous whitespace and comment-lines
llvm-svn: 9433
|
|
|
|
|
|
| |
* Doxygen-ify method comments
llvm-svn: 9432
|
|
|
|
|
|
|
| |
* Doxygen-ify comments
* Make code layout more consistent
llvm-svn: 9431
|
|
|
|
|
|
|
|
| |
* Make file description more readable
* Make code layout more consistent, include comment in assert so it's visible
during execution if it hits
llvm-svn: 9430
|
|
|
|
| |
llvm-svn: 9388
|
|
|
|
|
|
|
|
| |
Constant early on, because we can do it in doFinalization.
Tighten up a comment.
llvm-svn: 9387
|
|
|
|
| |
llvm-svn: 9386
|
|
|
|
|
|
|
|
| |
Try to improve method comments a little.
Get rid of some excess whitespace; put braces on previous line when possible.
Add stub for method to verify the work of saveState().
llvm-svn: 9385
|
|
|
|
| |
llvm-svn: 9324
|
|
|
|
| |
llvm-svn: 9321
|
|
|
|
| |
llvm-svn: 9312
|
|
|
|
|
|
| |
Header files will be on the way.
llvm-svn: 9298
|
|
|
|
| |
llvm-svn: 9144
|
|
|
|
| |
llvm-svn: 8793
|
|
|
|
| |
llvm-svn: 8699
|
|
|
|
|
|
| |
Check in my register allocator state-saving code.
llvm-svn: 8698
|
|
|
|
|
|
|
| |
Shorten the markSuggestedColorUsable method.
Add a switch for saving reg. alloc. state (coming soon).
llvm-svn: 8697
|
|
|
|
| |
llvm-svn: 8696
|
|
|
|
|
|
| |
header comment
llvm-svn: 8679
|
|
|
|
| |
llvm-svn: 8648
|
|
|
|
| |
llvm-svn: 8647
|
|
|
|
|
|
|
| |
(I also zapped printMachineCode() and printLabel() at the previous checkin,
but forgot to mention it.)
llvm-svn: 8646
|
|
|
|
| |
llvm-svn: 8645
|
|
|
|
|
|
| |
Remove more excess whitespace.
llvm-svn: 8644
|
|
|
|
|
|
| |
Fix typos in file header comment.
llvm-svn: 8643
|
|
|
|
|
|
| |
excess whitespace a little. Also improved some comments.
llvm-svn: 8642
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PhyRegAlloc.cpp:
Don't include TargetMachine.h or TargetRegInfo.h, because these are provided
by PhyRegAlloc.h.
Merge class RegisterAllocator into class PhyRegAlloc.
Simplify & move ctor, dtor to PhyRegAlloc.h.
Make some of PhyRegAlloc's reference members into pointer members,
so they can be more easily messed with.
MarkAllocatedRegs() becomes a member method, with fewer args.
PhyRegAlloc.h:
Include Pass.h, TargetMachine.h and TargetRegInfo.h. Don't declare
TargetRegInfo forward.
Give AddedInstrns the obvious clear() method.
Make some of PhyRegAlloc's reference members into pointer members,
so they can be more easily messed with.
Add prototype for markAllocatedRegs().
Remove unused inline void constructLiveRanges().
llvm-svn: 8641
|
|
|
|
|
|
| |
(Partial merge from my working file)
llvm-svn: 8564
|
|
|
|
| |
llvm-svn: 8562
|
|
|
|
| |
llvm-svn: 8523
|
|
|
|
| |
llvm-svn: 8489
|
|
|
|
| |
llvm-svn: 8299
|
|
|
|
| |
llvm-svn: 8297
|
|
|
|
| |
llvm-svn: 8296
|
|
|
|
|
|
| |
adding std:: namespace qualifiers
llvm-svn: 8295
|
|
|
|
| |
llvm-svn: 8030
|