Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move lib/Codegen/RegAlloc into lib/Target/Sparc, as it is sparc specific | Chris Lattner | 2004-01-09 | 1 | -186/+0 |
| | | | | llvm-svn: 10728 | ||||
* | Put all LLVM code into the llvm namespace, as per bug 109. | Brian Gaeke | 2003-11-11 | 1 | -0/+4 |
| | | | | llvm-svn: 9903 | ||||
* | Operand numbers are now ints. Save the register allocation of the value | Brian Gaeke | 2003-11-10 | 1 | -0/+3 |
| | | | | | | | | 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 | ||||
* | Publicize the type of FnAllocState. | Brian Gaeke | 2003-10-24 | 1 | -2/+4 |
| | | | | | | | | 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 | ||||
* | Make FnAllocState contain vectors of AllocInfo, instead of LLVM Constants. | Brian Gaeke | 2003-10-23 | 1 | -1/+1 |
| | | | | llvm-svn: 9450 | ||||
* | * Fix order of #include files | Misha Brukman | 2003-10-23 | 1 | -9/+10 |
| | | | | | | * Doxygen-ify method comments llvm-svn: 9432 | ||||
* | Change the type of FnAllocState. | Brian Gaeke | 2003-10-22 | 1 | -1/+1 |
| | | | | llvm-svn: 9388 | ||||
* | Add prototype for verifySavedState(). | Brian Gaeke | 2003-10-22 | 1 | -0/+1 |
| | | | | llvm-svn: 9386 | ||||
* | Added LLVM copyright header. | John Criswell | 2003-10-21 | 1 | -0/+7 |
| | | | | llvm-svn: 9321 | ||||
* | Untabify tabs in stuff I've recently added. | Brian Gaeke | 2003-09-24 | 1 | -0/+6 |
| | | | | | | Check in my register allocator state-saving code. llvm-svn: 8698 | ||||
* | Move getAnalysisUsage method from header to .cpp file. Add a normal file | Chris Lattner | 2003-09-23 | 1 | -21/+16 |
| | | | | | | header comment llvm-svn: 8679 | ||||
* | Erase now-unused prototypes. | Brian Gaeke | 2003-09-21 | 1 | -3/+0 |
| | | | | llvm-svn: 8647 | ||||
* | Standardize the names of include guards. | Brian Gaeke | 2003-09-21 | 1 | -4/+2 |
| | | | | | | Remove more excess whitespace. llvm-svn: 8644 | ||||
* | I tried to standardize the formatting and tidy up the huge amount of | Brian Gaeke | 2003-09-21 | 1 | -8/+3 |
| | | | | | | excess whitespace a little. Also improved some comments. llvm-svn: 8642 | ||||
* | Convert PhyRegAlloc into a proper pass. | Brian Gaeke | 2003-09-21 | 1 | -16/+28 |
| | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | Edit comment for accuracy | Brian Gaeke | 2003-09-16 | 1 | -3/+3 |
| | | | | llvm-svn: 8562 | ||||
* | LiveRangeInfo got moved into the lib/CodeGen/RegAlloc directory | Chris Lattner | 2003-09-01 | 1 | -1/+1 |
| | | | | llvm-svn: 8297 | ||||
* | Add a map | Chris Lattner | 2003-08-05 | 1 | -0/+4 |
| | | | | llvm-svn: 7620 | ||||
* | Minor cleanups | Chris Lattner | 2003-08-05 | 1 | -23/+22 |
| | | | | llvm-svn: 7619 | ||||
* | Code to insert caller-saves moved here from SparcRegInfo: it is now | Vikram S. Adve | 2003-07-29 | 1 | -9/+22 |
| | | | | | | | | | machine-independent. Fix problem with using branch operand reg. as temp. reg. when spilling values used by an instruction in the delay slot of the branch (which will eventually be moved before the branch). llvm-svn: 7385 | ||||
* | Remove unused field. Change the way unused regs. are marked and | Vikram S. Adve | 2003-07-25 | 1 | -10/+11 |
| | | | | | | | found to consider regType info (since multiple reg types may share the same reg class, e.g., single and double on Sparc). llvm-svn: 7327 | ||||
* | Minor changes. | Vikram S. Adve | 2003-05-31 | 1 | -0/+5 |
| | | | | llvm-svn: 6470 | ||||
* | Remvoe dependency on RegClass.h | Chris Lattner | 2003-01-15 | 1 | -3/+4 |
| | | | | llvm-svn: 5306 | ||||
* | More renamings of Target/Machine*Info to Target/Target*Info | Chris Lattner | 2002-12-29 | 1 | -4/+4 |
| | | | | llvm-svn: 5204 | ||||
* | Remove #include, misleading comment, and a typedef used only once | Chris Lattner | 2002-10-29 | 1 | -25/+4 |
| | | | | llvm-svn: 4383 | ||||
* | Rename some regalloc fields | Chris Lattner | 2002-10-28 | 1 | -4/+4 |
| | | | | llvm-svn: 4346 | ||||
* | Changed `MachineCodeForMethod' to `MachineFunction'. | Misha Brukman | 2002-10-28 | 1 | -2/+2 |
| | | | | llvm-svn: 4301 | ||||
* | getUsableUniRegAtMI interface simplified slightly. | Vikram S. Adve | 2002-07-08 | 1 | -6/+7 |
| | | | | llvm-svn: 2822 | ||||
* | Don't lose namespace qualifications on previous patch. | Chris Lattner | 2002-05-20 | 1 | -2/+2 |
| | | | | llvm-svn: 2664 | ||||
* | InstrnsBefore and InstrnsAfter are now vectors instead of deques. | Vikram S. Adve | 2002-05-19 | 1 | -3/+3 |
| | | | | | | | May be slightly less efficient but significantly reduces special cases interfaces in code generation. llvm-svn: 2649 | ||||
* | Include appropriate file | Chris Lattner | 2002-04-28 | 1 | -0/+2 |
| | | | | llvm-svn: 2379 | ||||
* | Remove all contents of the cfg namespace to the global namespace | Chris Lattner | 2002-04-28 | 1 | -4/+4 |
| | | | | llvm-svn: 2369 | ||||
* | s/Method/Function | Chris Lattner | 2002-04-27 | 1 | -5/+5 |
| | | | | llvm-svn: 2336 | ||||
* | Don't record instructions for copying method arguments in the | Vikram S. Adve | 2002-04-25 | 1 | -0/+1 |
| | | | | | | | | AddedInstrns sets for the first machine instruction. It is hard to ensure that the right order is preserved, and sure enough, the order was broken. Instead, use a separate set for the function entry. llvm-svn: 2318 | ||||
* | Convert AddedInstrMapType to contain AddedInstrns by value instead of by | Chris Lattner | 2002-04-09 | 1 | -4/+2 |
| | | | | | | pointer so that they do not all get leaked! llvm-svn: 2188 | ||||
* | s/Method/Function | Chris Lattner | 2002-04-08 | 1 | -3/+3 |
| | | | | llvm-svn: 2180 | ||||
* | Big bug fix: getUsableUniRegAtMI needed to return values in arguments | Vikram S. Adve | 2002-03-18 | 1 | -2/+13 |
| | | | | | | | but did not pass the arguments by reference! Also added a function to get a register class by ID. llvm-svn: 1901 | ||||
* | * Eliminate the LiveVarSet class, making applyTranferFuncForMInst a static | Chris Lattner | 2002-02-05 | 1 | -6/+6 |
| | | | | | | | | | function in the one .cpp file that uses it. Use ValueSet's instead. * Prepare to delete LiveVarSet.h & LiveVarSet.cpp * Eliminate the ValueSet class, making all old member functions into global templates that will eventually be moved to Support. llvm-svn: 1711 | ||||
* | Switch register allocator over to using LoopInfo directly instead of ↵ | Chris Lattner | 2002-02-04 | 1 | -3/+3 |
| | | | | | | indirectly through LoopDepthCalculator llvm-svn: 1696 | ||||
* | Make #include "llvm/Analysis/LoopDepth.h" be an internal artifact of how ↵ | Chris Lattner | 2002-02-04 | 1 | -14/+13 |
| | | | | | | register allocation is implemented. llvm-svn: 1693 | ||||
* | * Minor cleanups | Chris Lattner | 2002-02-04 | 1 | -5/+3 |
| | | | | | | | | * Reduce number of #includes, sometimes drastically (LiveRangeInfo.h lost _7_) * Move instrIsFeasible() from InstrScheduling.h to SchedPriorities.h * Delete blank lines at end of files llvm-svn: 1672 | ||||
* | Add a class forward decl | Chris Lattner | 2002-02-03 | 1 | -3/+2 |
| | | | | llvm-svn: 1637 | ||||
* | LoopDepth calculation is now in CFG namespace | Chris Lattner | 2002-01-31 | 1 | -1/+1 |
| | | | | llvm-svn: 1601 | ||||
* | Changes to build successfully with GCC 3.02 | Chris Lattner | 2002-01-20 | 1 | -12/+6 |
| | | | | llvm-svn: 1503 | ||||
* | Added comments, destructors where necessary. | Ruchira Sasanka | 2002-01-07 | 1 | -16/+20 |
| | | | | llvm-svn: 1491 | ||||
* | Changed some names of methods, added const etc. | Ruchira Sasanka | 2001-11-15 | 1 | -6/+7 |
| | | | | llvm-svn: 1322 | ||||
* | Added support method for setting interference for pseudo instructions | Ruchira Sasanka | 2001-11-14 | 1 | -25/+1 |
| | | | | llvm-svn: 1303 | ||||
* | Add method decl | Chris Lattner | 2001-11-08 | 1 | -0/+4 |
| | | | | llvm-svn: 1217 | ||||
* | Removed class RegStackOffsets and used class MachineCodeForMethod | Vikram S. Adve | 2001-11-08 | 1 | -76/+4 |
| | | | | | | directly to manage stack frame. llvm-svn: 1186 | ||||
* | Added support for correct spilling of %ccr | Ruchira Sasanka | 2001-11-03 | 1 | -1/+12 |
| | | | | llvm-svn: 1112 |