summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
Commit message (Collapse)AuthorAgeFilesLines
* * Pull BasicBlock::pred_* and BasicBlock::succ_* out of BasicBlock.h and intoChris Lattner2002-02-123-15/+13
| | | | | | | | | llvm/Support/CFG.h * Make pred & succ iterators for intervals global functions * Add #includes that are now neccesary because BasicBlock.h doesn't include InstrTypes.h anymore llvm-svn: 1750
* Method.h no longer includes BasicBlock.hChris Lattner2002-02-125-9/+16
| | | | | | | 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-053-101/+53
| | | | llvm-svn: 1720
* Minor change: Methods that return ValueSet's that are guaranteed to be validChris Lattner2002-02-054-44/+29
| | | | | | 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-054-21/+16
| | | | | | | | | 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-052-0/+2
| | | | llvm-svn: 1707
* * RegisterAllocation _uses_ LiveVar analysis, instead of creating it's own copyChris Lattner2002-02-041-4/+2
| | | | llvm-svn: 1701
* * The itf exposed by InstrScheduling is now a single function to create the ↵Chris Lattner2002-02-043-50/+62
| | | | | | | | | | | | right pass * InstructionScheduling is now a real pass * InstrSched _uses_ LiveVar analysis, instead of creating it's own copy many times through a loop. In this was LiveVarAnalysis is actually even SHARED by Register allocation. * SchedPriorities is now passed the live var information in llvm-svn: 1700
* 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
* Remove dependence on BBLiveVar from InstrSchedulingChris Lattner2002-02-042-6/+4
| | | | | | Minor cleanups llvm-svn: 1688
* 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
* Move instrIsFeasible from InstrScheduling.hChris Lattner2002-02-041-0/+15
| | | | llvm-svn: 1674
* * 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
* * Move command line parsing debug stuff to InstrScheduling internal header fileChris Lattner2002-02-041-1/+10
| | | | | | SchedPriorities.h llvm-svn: 1669
* 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
* Code pulled out of MAchineInstr.(h|cpp)Chris Lattner2002-02-032-0/+357
| | | | llvm-svn: 1660
* Lots of code cleanups, no functional changesChris Lattner2002-02-031-103/+74
| | | | llvm-svn: 1650
* * Prune #includesChris Lattner2002-02-031-259/+1
| | | | | | * Remove MachineCodeFor(Method|VMInstr) code to their own .cpp files llvm-svn: 1649
* * Switch over to cleaner TmpInstruction modelChris Lattner2002-02-031-5/+7
| | | | llvm-svn: 1648
* * Straighten out #includesChris Lattner2002-02-031-38/+12
| | | | | | * Switch to MAchineCodeForInstruction model instead of MachineCodeForVMInstr llvm-svn: 1647
* * Swich to annotation model for MachineCodeForInstructionChris Lattner2002-02-031-8/+10
| | | | llvm-svn: 1646
* Remove extraneous #includesChris Lattner2002-02-031-2/+0
| | | | llvm-svn: 1645
* * Straighten out #includesChris Lattner2002-02-031-10/+7
| | | | | | * Switch from MachineCodeForVMInstr to MachineCodeForInstruction model llvm-svn: 1644
* * Get machine instrs from Instructin's by using MachineCodeForInstruction::getChris Lattner2002-02-031-10/+10
| | | | | | * Convert a few (*X). to X-> llvm-svn: 1643
* 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
* Make it build with 2.95.3Chris Lattner2002-01-231-1/+1
| | | | llvm-svn: 1554
* Oops lost a parenthesis somehow :(Chris Lattner2002-01-211-1/+1
| | | | llvm-svn: 1504
* Changes to build successfully with GCC 3.02Chris Lattner2002-01-2020-545/+412
| | | | 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
* Eliminate all uses of memInst->getIndicesBROKEN().Vikram S. Adve2001-12-151-3/+3
| | | | llvm-svn: 1485
* Renamed inst_const_iterator -> const_inst_iteratorChris Lattner2001-12-045-13/+12
| | | | | | | Renamed op_const_iterator -> const_op_iterator Renamed PointerType::getValueType() -> PointerType::getElementType() llvm-svn: 1408
* Rename ConstPoolVal -> ConstantChris Lattner2001-12-032-23/+19
| | | | | | | Rename ConstPool* -> Constant* Rename ConstPoolVals.h -> ConstantVals.h llvm-svn: 1407
* Split the PHINode class out from the iOther.h file into the iPHINode.h fileChris Lattner2001-12-032-2/+2
| | | | llvm-svn: 1405
* Create a new #include "Support/..." directory structure to move thingsChris Lattner2001-11-277-32/+20
| | | | | | | | from "llvm/Support/..." that are not llvm dependant. Move files and fix #includes llvm-svn: 1400
* Stuff after a #endif is not valid CPP input and breaks some compilersChris Lattner2001-11-261-3/+3
| | | | llvm-svn: 1375
* The old getIndices has been deprecated, because it no longer works. It nowChris Lattner2001-11-261-2/+2
| | | | | | | is named getIndicesBROKEN() and shall be removed when the codebase is updated to not call it llvm-svn: 1338
* Commented some popTempArg.. since it leads to a bugRuchira Sasanka2001-11-151-3/+11
| | | | llvm-svn: 1326
OpenPOWER on IntegriCloud