summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* The interface to instruction scheduling is now just a call to get the pass.Chris Lattner2002-02-041-12/+1
| | | | llvm-svn: 1702
* * 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
* Turn live variable analysis into a real MethodPass.Chris Lattner2002-02-043-65/+66
| | | | llvm-svn: 1699
* Instruction scheduling is a real pass now.Chris Lattner2002-02-041-4/+4
| | | | llvm-svn: 1698
* Remove Obsolete LoopDepthCalculator. All users should use LoopInfo directly.Chris Lattner2002-02-042-73/+0
| | | | llvm-svn: 1697
* 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
* REmove huge hack used by register allocatorChris Lattner2002-02-041-12/+0
| | | | llvm-svn: 1694
* 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
* Remvoe big hack that was used by the register allocatorChris Lattner2002-02-041-1/+0
| | | | llvm-svn: 1692
* Trim down makefile, again.Chris Lattner2002-02-041-1/+1
| | | | llvm-svn: 1691
* * ValueSet interface converted from add/remove to insert/eraseChris Lattner2002-02-041-2/+2
| | | | llvm-svn: 1690
* * 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
* * Add #includes that were yanked out of header filesChris Lattner2002-02-044-16/+17
| | | | | | | * Convert over to valueset interface that uses insert & erase insead of add and remove * the -> operator really isn't that hard to use! llvm-svn: 1687
* eliminate the add and remove methods, clients must use insert and erase ↵Chris Lattner2002-02-042-38/+6
| | | | | | directly. llvm-svn: 1686
* Remove tons of include pollutionChris Lattner2002-02-042-78/+28
| | | | | | | Remove frivolous const's Make use of the -> operator llvm-svn: 1685
* Use generic pointer hashes instead of custom ones.Chris Lattner2002-02-041-28/+6
| | | | llvm-svn: 1684
* Cut down include pollution and number of frivolous consts.Chris Lattner2002-02-041-14/+8
| | | | llvm-svn: 1683
* PostOrderIterator really does depend on Method and BasicBlock. Obviously thisChris Lattner2002-02-041-0/+3
| | | | | | is a huge fixme. llvm-svn: 1682
* Convert RegisterAllocator interface to opaque pass type, so that users do notChris Lattner2002-02-043-19/+29
| | | | | | need to know _anything_ about RegAlloc to use it. Well in the end maybe. llvm-svn: 1681
* EmitAssembly doesn't need an UltraSparc, it can do with any TargetMachineChris Lattner2002-02-041-4/+4
| | | | llvm-svn: 1680
* Eliminate ModuleAnalyzer. It's old code that is not going to be used in the ↵Chris Lattner2002-02-042-185/+0
| | | | | | near future llvm-svn: 1679
* Cut down number of times libraries are included to link a little bit fasterChris Lattner2002-02-041-1/+1
| | | | llvm-svn: 1678
* * Minor cleanupsChris Lattner2002-02-045-535/+347
| | | | | | | | | | * Reduce number of #includes * Remove blatently misleading qualifiers (how do you have an inlined pure virtual function?) * Remove unnecesary & ignored qualifiers (const int argument vs int argument) * SparcInternals.h now no longer #includes RegClass.h or SparcRegClassInfo.h * Pull inlined functions out of .h file if they are virtual and interfere with dependencies llvm-svn: 1677
* Add code that used to be inline in MachineSchedInfo.hChris Lattner2002-02-041-1/+66
| | | | llvm-svn: 1676
* 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-043-249/+96
| | | | | | | | | | | * Reduce number of #includes * Delete blank lines at end of files * Remove blatently misleading qualifiers (how do you have an inlined pure virtual function?) * Remove unnecesary & ignored qualifiers (const int argument vs int argument) * Remove LARGE chunks of "inline" code out to .cpp file * s/unsigned int/unsigned/ llvm-svn: 1673
* * Minor cleanupsChris Lattner2002-02-0410-126/+65
| | | | | | | | * 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
* Minor cleanupsChris Lattner2002-02-041-12/+0
| | | | llvm-svn: 1671
* SparcRegInfo does NOT need anything about instruction scheduling.Chris Lattner2002-02-041-1/+0
| | | | llvm-svn: 1670
* * Move command line parsing debug stuff to InstrScheduling internal header fileChris Lattner2002-02-042-15/+11
| | | | | | SchedPriorities.h llvm-svn: 1669
* Pull all of the scheduling related stuff out of Sparc.cpp into it's own fileChris Lattner2002-02-042-734/+744
| | | | llvm-svn: 1668
* Split RegisterAllocation stuff OUT of Sparc.cpp into a well defined passChris Lattner2002-02-043-29/+43
| | | | | | that has a very minimal interface (like it should have). llvm-svn: 1667
* Move a ton of tables out of SparcInternals.h and move them to Sparc.cpp.Chris Lattner2002-02-042-687/+686
| | | | | | | Eventually they will probably get moved again, but at least now they aren't having to be compiled by 7 different .cpp files... llvm-svn: 1666
* * Remove -noasm option. If we're not compiling, what's the point?Chris Lattner2002-02-031-109/+27
| | | | | | * convert over to pass based target backend. Much cleaner now llvm-svn: 1665
* Convert sparc backend over to use pass based compilation structure.Chris Lattner2002-02-031-29/+9
| | | | | | Try to decouple stuff as much as possible. llvm-svn: 1664
* Convert sparc backend over to use pass based compilation structure.Chris Lattner2002-02-031-96/+119
| | | | | | | Convert some stages into passes in preparation for more splitting up. Try to decouple stuff as much as possible. llvm-svn: 1663
* Convert assembly emission over to a two pass approach.Chris Lattner2002-02-031-172/+217
| | | | llvm-svn: 1662
* Revamp compilation to be pass based instead of being monolithic so thatChris Lattner2002-02-031-27/+5
| | | | | | backend's can customize compilation as much as they want llvm-svn: 1661
* Code pulled out of MAchineInstr.(h|cpp)Chris Lattner2002-02-035-0/+629
| | | | llvm-svn: 1660
* Switch over to a model where we compile each method, emit assembly, then freeChris Lattner2002-02-031-7/+35
| | | | | | machineinstr memory before starting on the next method. llvm-svn: 1659
* Switch from MachineCodeForVMInstr model that is built into the VMCore ↵Chris Lattner2002-02-031-28/+1
| | | | | | | | library to an annotation based MAchineCodeForInstruction model Instruction.cpp now has 0 lines of code generation related code in it. llvm-svn: 1658
* Add a file level commentChris Lattner2002-02-031-8/+8
| | | | | | Remove #includes llvm-svn: 1657
* Implement new method by method assembly output & memory releasingChris Lattner2002-02-031-1/+13
| | | | llvm-svn: 1656
* * Switch to new TmpInstruction modelChris Lattner2002-02-031-27/+28
| | | | | | * Switch to new MachineCodeForInstruction model llvm-svn: 1655
* * Switch to new TmpInstruction modelChris Lattner2002-02-031-9/+5
| | | | llvm-svn: 1654
* * Swithc to new MachineCodeForInstruction modelChris Lattner2002-02-031-5/+22
| | | | | | * Implement memory freeing for instruction temporaries llvm-svn: 1653
OpenPOWER on IntegriCloud