summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/RegAlloc
Commit message (Collapse)AuthorAgeFilesLines
...
* Bug fix: address used by indirect call instruction should alsoVikram S. Adve2002-03-311-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. Adve2002-03-241-0/+1
| | | | llvm-svn: 1976
* Rename Method to FunctionChris Lattner2002-03-231-5/+5
| | | | llvm-svn: 1957
* Big bug fix: getUsableUniRegAtMI needed to return values in argumentsVikram S. Adve2002-03-181-3/+3
| | | | | | but did not pass the arguments by reference! llvm-svn: 1906
* Big bug fix: getUsableUniRegAtMI needed to return values in argumentsVikram S. Adve2002-03-181-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.hChris Lattner2002-02-122-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 iteratorChris Lattner2002-02-052-94/+46
| | | | llvm-svn: 1720
* Minor change: Methods that return ValueSet's that are guaranteed to be validChris Lattner2002-02-053-37/+24
| | | | | | return references instead of pointers. llvm-svn: 1719
* * Code CleanupsChris Lattner2002-02-052-22/+18
| | | | | | * Removal dependencies on Type.h & remove uses of getTypeID() llvm-svn: 1718
* * Code Cleanups of IGNode.hChris Lattner2002-02-052-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 Lattner2002-02-051-0/+1
| | | | llvm-svn: 1716
* * Eliminate the LiveVarSet class, making applyTranferFuncForMInst a staticChris Lattner2002-02-053-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 staticChris Lattner2002-02-052-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 CleanupsChris Lattner2002-02-053-152/+102
| | | | | | * Introduce RAV to allow stream I/O instead of using printValue llvm-svn: 1710
* * Add a #include not indirectly included any moreChris Lattner2002-02-051-0/+1
| | | | llvm-svn: 1707
* * RegisterAllocation _uses_ LiveVar analysis, instead of creating it's own copyChris Lattner2002-02-041-4/+2
| | | | llvm-svn: 1701
* Switch register allocator over to using LoopInfo directly instead of ↵Chris Lattner2002-02-042-7/+7
| | | | | | indirectly through LoopDepthCalculator llvm-svn: 1696
* Make LoopDeptCalculator be an internal artifact of how RegAlloc is implemented,Chris Lattner2002-02-041-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 Lattner2002-02-041-14/+13
| | | | | | register allocation is implemented. llvm-svn: 1693
* * Add #includes removed from headersChris Lattner2002-02-043-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 notChris Lattner2002-02-041-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 filesChris Lattner2002-02-042-1/+6
| | | | llvm-svn: 1675
* * Minor cleanupsChris Lattner2002-02-046-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 passChris Lattner2002-02-041-2/+17
| | | | | | that has a very minimal interface (like it should have). llvm-svn: 1667
* Lots of code cleanups, no functional changesChris Lattner2002-02-031-103/+74
| | | | llvm-svn: 1650
* Add a class forward declChris Lattner2002-02-031-3/+2
| | | | llvm-svn: 1637
* LoopDepth calculation is now in CFG namespaceChris Lattner2002-01-311-1/+1
| | | | llvm-svn: 1601
* Oops lost a parenthesis somehow :(Chris Lattner2002-01-211-1/+1
| | | | llvm-svn: 1504
* Changes to build successfully with GCC 3.02Chris Lattner2002-01-2011-289/+204
| | | | llvm-svn: 1503
* Fixed a bug in spill cost estimationRuchira Sasanka2002-01-081-4/+6
| | | | llvm-svn: 1500
* PhyRegAlloc.cpp: Added temp area resetting before every callRuchira Sasanka2002-01-072-2/+3
| | | | llvm-svn: 1499
* Added destructors and comments.Ruchira Sasanka2002-01-075-132/+323
| | | | | | Added correct spill candidate selection logic. llvm-svn: 1493
* Added comments, destructors where necessary.Ruchira Sasanka2002-01-075-106/+178
| | | | llvm-svn: 1491
* Renamed inst_const_iterator -> const_inst_iteratorChris Lattner2001-12-042-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 thingsChris Lattner2001-11-271-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 bugRuchira Sasanka2001-11-151-3/+11
| | | | llvm-svn: 1326
* Fixed a bug in setReLRegsUsedByMIRuchira Sasanka2001-11-151-54/+75
| | | | llvm-svn: 1323
* Changed some names of methods, added const etc.Ruchira Sasanka2001-11-152-7/+8
| | | | llvm-svn: 1322
* fixed setUsedRegAtMIRuchira Sasanka2001-11-151-7/+34
| | | | llvm-svn: 1317
* Added support method for setting interference for pseudo instructionsRuchira Sasanka2001-11-141-25/+1
| | | | llvm-svn: 1303
* Added interference for args in pseudo instructionsRuchira Sasanka2001-11-141-8/+48
| | | | llvm-svn: 1300
* commented out lines printing code after schedulingRuchira Sasanka2001-11-131-2/+2
| | | | llvm-svn: 1295
* Fixed a bug concering LR spilling. Earlier, added spilled code was not insertedRuchira Sasanka2001-11-131-27/+43
| | | | | | into the instruction stream correctly. llvm-svn: 1294
* Do the same for allocating spills to get their alignment right too.Vikram S. Adve2001-11-121-1/+2
| | | | llvm-svn: 1285
* When allocating space on stack for writing a register,Vikram S. Adve2001-11-121-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 PhyRegAllocRuchira Sasanka2001-11-102-1/+8
| | | | llvm-svn: 1253
* Coalesing bug fix - now checks for the same regType instead of the sameRuchira Sasanka2001-11-101-3/+6
| | | | | | regClass since FP class has two reg Types. llvm-svn: 1236
* No major changeRuchira Sasanka2001-11-091-3/+3
| | | | llvm-svn: 1235
* Add method declChris Lattner2001-11-081-0/+4
| | | | llvm-svn: 1217
* corrected insertCode4Spilled ... bug.Ruchira Sasanka2001-11-081-8/+17
| | | | llvm-svn: 1212
OpenPOWER on IntegriCloud