Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Bug fix: address used by indirect call instruction should also | Vikram S. Adve | 2002-03-31 | 1 | -16/+21 | |
| | | | | | | | be marked as having a Call Interference, even though it may not be live after the call. llvm-svn: 2068 | |||||
* | Destroy MethodLiveVarInfo after register allocation. | Vikram S. Adve | 2002-03-24 | 1 | -0/+1 | |
| | | | | llvm-svn: 1976 | |||||
* | Rename Method to Function | Chris Lattner | 2002-03-23 | 1 | -5/+5 | |
| | | | | llvm-svn: 1957 | |||||
* | Big bug fix: getUsableUniRegAtMI needed to return values in arguments | Vikram S. Adve | 2002-03-18 | 1 | -3/+3 | |
| | | | | | | but did not pass the arguments by reference! llvm-svn: 1906 | |||||
* | 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 | |||||
* | Method.h no longer includes BasicBlock.h | Chris Lattner | 2002-02-12 | 2 | -0/+2 | |
| | | | | | | | Method::inst_* is now in llvm/Support/InstIterator.h GraphTraits specializations for BasicBlock and Methods are now in llvm/Support/CFG.h llvm-svn: 1746 | |||||
* | Convert operand iterator over to work like an STL iterator | Chris Lattner | 2002-02-05 | 2 | -94/+46 | |
| | | | | llvm-svn: 1720 | |||||
* | Minor change: Methods that return ValueSet's that are guaranteed to be valid | Chris Lattner | 2002-02-05 | 3 | -37/+24 | |
| | | | | | | return references instead of pointers. llvm-svn: 1719 | |||||
* | * Code Cleanups | Chris Lattner | 2002-02-05 | 2 | -22/+18 | |
| | | | | | | * Removal dependencies on Type.h & remove uses of getTypeID() llvm-svn: 1718 | |||||
* | * Code Cleanups of IGNode.h | Chris Lattner | 2002-02-05 | 2 | -53/+24 | |
| | | | | | | * Removal of getTypeID() methods, and dependence on llvm/Type.h, from IGNode & LiveRange llvm-svn: 1717 | |||||
* | Must include SetOperations to do set_* | Chris Lattner | 2002-02-05 | 1 | -0/+1 | |
| | | | | llvm-svn: 1716 | |||||
* | * Eliminate the LiveVarSet class, making applyTranferFuncForMInst a static | Chris Lattner | 2002-02-05 | 3 | -53/+41 | |
| | | | | | | | | | | 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. * Eliminate some irrelevant const's llvm-svn: 1712 | |||||
* | * Eliminate the LiveVarSet class, making applyTranferFuncForMInst a static | Chris Lattner | 2002-02-05 | 2 | -11/+9 | |
| | | | | | | | | | 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 | |||||
* | * Code Cleanups | Chris Lattner | 2002-02-05 | 3 | -152/+102 | |
| | | | | | | * Introduce RAV to allow stream I/O instead of using printValue llvm-svn: 1710 | |||||
* | * Add a #include not indirectly included any more | Chris Lattner | 2002-02-05 | 1 | -0/+1 | |
| | | | | llvm-svn: 1707 | |||||
* | * RegisterAllocation _uses_ LiveVar analysis, instead of creating it's own copy | Chris Lattner | 2002-02-04 | 1 | -4/+2 | |
| | | | | llvm-svn: 1701 | |||||
* | Switch register allocator over to using LoopInfo directly instead of ↵ | Chris Lattner | 2002-02-04 | 2 | -7/+7 | |
| | | | | | | indirectly through LoopDepthCalculator llvm-svn: 1696 | |||||
* | Make LoopDeptCalculator be an internal artifact of how RegAlloc is implemented, | Chris Lattner | 2002-02-04 | 1 | -4/+13 | |
| | | | | | | | do not expose it. Additionally, have it be auto generated by the pass framework for us. llvm-svn: 1695 | |||||
* | 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 | |||||
* | * Add #includes removed from headers | Chris Lattner | 2002-02-04 | 3 | -11/+11 | |
| | | | | | | | * ValueSet interface converted from add/remove to insert/erase * Minor cleanups llvm-svn: 1689 | |||||
* | Convert RegisterAllocator interface to opaque pass type, so that users do not | Chris Lattner | 2002-02-04 | 1 | -12/+26 | |
| | | | | | | need to know _anything_ about RegAlloc to use it. Well in the end maybe. llvm-svn: 1681 | |||||
* | Add #includes neccesary since they were removed from .h files | Chris Lattner | 2002-02-04 | 2 | -1/+6 | |
| | | | | llvm-svn: 1675 | |||||
* | * Minor cleanups | Chris Lattner | 2002-02-04 | 6 | -81/+51 | |
| | | | | | | | | * 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 | |||||
* | Split RegisterAllocation stuff OUT of Sparc.cpp into a well defined pass | Chris Lattner | 2002-02-04 | 1 | -2/+17 | |
| | | | | | | that has a very minimal interface (like it should have). llvm-svn: 1667 | |||||
* | Lots of code cleanups, no functional changes | Chris Lattner | 2002-02-03 | 1 | -103/+74 | |
| | | | | llvm-svn: 1650 | |||||
* | 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 | |||||
* | Oops lost a parenthesis somehow :( | Chris Lattner | 2002-01-21 | 1 | -1/+1 | |
| | | | | llvm-svn: 1504 | |||||
* | Changes to build successfully with GCC 3.02 | Chris Lattner | 2002-01-20 | 11 | -289/+204 | |
| | | | | llvm-svn: 1503 | |||||
* | Fixed a bug in spill cost estimation | Ruchira Sasanka | 2002-01-08 | 1 | -4/+6 | |
| | | | | llvm-svn: 1500 | |||||
* | PhyRegAlloc.cpp: Added temp area resetting before every call | Ruchira Sasanka | 2002-01-07 | 2 | -2/+3 | |
| | | | | llvm-svn: 1499 | |||||
* | Added destructors and comments. | Ruchira Sasanka | 2002-01-07 | 5 | -132/+323 | |
| | | | | | | Added correct spill candidate selection logic. llvm-svn: 1493 | |||||
* | Added comments, destructors where necessary. | Ruchira Sasanka | 2002-01-07 | 5 | -106/+178 | |
| | | | | llvm-svn: 1491 | |||||
* | Renamed inst_const_iterator -> const_inst_iterator | Chris Lattner | 2001-12-04 | 2 | -8/+8 | |
| | | | | | | | Renamed op_const_iterator -> const_op_iterator Renamed PointerType::getValueType() -> PointerType::getElementType() llvm-svn: 1408 | |||||
* | Create a new #include "Support/..." directory structure to move things | Chris Lattner | 2001-11-27 | 1 | -1/+1 | |
| | | | | | | | | from "llvm/Support/..." that are not llvm dependant. Move files and fix #includes llvm-svn: 1400 | |||||
* | Commented some popTempArg.. since it leads to a bug | Ruchira Sasanka | 2001-11-15 | 1 | -3/+11 | |
| | | | | llvm-svn: 1326 | |||||
* | Fixed a bug in setReLRegsUsedByMI | Ruchira Sasanka | 2001-11-15 | 1 | -54/+75 | |
| | | | | llvm-svn: 1323 | |||||
* | Changed some names of methods, added const etc. | Ruchira Sasanka | 2001-11-15 | 2 | -7/+8 | |
| | | | | llvm-svn: 1322 | |||||
* | fixed setUsedRegAtMI | Ruchira Sasanka | 2001-11-15 | 1 | -7/+34 | |
| | | | | llvm-svn: 1317 | |||||
* | Added support method for setting interference for pseudo instructions | Ruchira Sasanka | 2001-11-14 | 1 | -25/+1 | |
| | | | | llvm-svn: 1303 | |||||
* | Added interference for args in pseudo instructions | Ruchira Sasanka | 2001-11-14 | 1 | -8/+48 | |
| | | | | llvm-svn: 1300 | |||||
* | commented out lines printing code after scheduling | Ruchira Sasanka | 2001-11-13 | 1 | -2/+2 | |
| | | | | llvm-svn: 1295 | |||||
* | Fixed a bug concering LR spilling. Earlier, added spilled code was not inserted | Ruchira Sasanka | 2001-11-13 | 1 | -27/+43 | |
| | | | | | | into the instruction stream correctly. llvm-svn: 1294 | |||||
* | Do the same for allocating spills to get their alignment right too. | Vikram S. Adve | 2001-11-12 | 1 | -1/+2 | |
| | | | | llvm-svn: 1285 | |||||
* | When allocating space on stack for writing a register, | Vikram S. Adve | 2001-11-12 | 1 | -1/+3 | |
| | | | | | | | use the size of the register, not the size of the Value type, to get the right alignment. llvm-svn: 1284 | |||||
* | Changed code to ignore Phi Nodes in PhyRegAlloc | Ruchira Sasanka | 2001-11-10 | 2 | -1/+8 | |
| | | | | llvm-svn: 1253 | |||||
* | Coalesing bug fix - now checks for the same regType instead of the same | Ruchira Sasanka | 2001-11-10 | 1 | -3/+6 | |
| | | | | | | regClass since FP class has two reg Types. llvm-svn: 1236 | |||||
* | No major change | Ruchira Sasanka | 2001-11-09 | 1 | -3/+3 | |
| | | | | llvm-svn: 1235 | |||||
* | Add method decl | Chris Lattner | 2001-11-08 | 1 | -0/+4 | |
| | | | | llvm-svn: 1217 | |||||
* | corrected insertCode4Spilled ... bug. | Ruchira Sasanka | 2001-11-08 | 1 | -8/+17 | |
| | | | | llvm-svn: 1212 |