summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAge
* Pull Callgraph out of the cfg namespaceChris Lattner2002-03-06
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1821 91177308-0d34-0410-b5e6-96231b3b80d8
* Take CallGraph out of the CFG namespace. It has nothing to do with CFGsChris Lattner2002-03-06
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1820 91177308-0d34-0410-b5e6-96231b3b80d8
* Change over to use new style pass mechanism, now passes only expose smallChris Lattner2002-02-26
| | | | | | | creation functions in their public header file, unless they can help it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1816 91177308-0d34-0410-b5e6-96231b3b80d8
* Expose verifier for method and module, and accept constant structuresChris Lattner2002-02-26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1814 91177308-0d34-0410-b5e6-96231b3b80d8
* Move ProfilePaths class into ProfilePaths library, only expose a creation ↵Chris Lattner2002-02-26
| | | | | | function git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1812 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial check in of header file for profile-paths passAnand Shukla2002-02-26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1801 91177308-0d34-0410-b5e6-96231b3b80d8
* Make it compile with GCC 3.0.4Chris Lattner2002-02-24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1786 91177308-0d34-0410-b5e6-96231b3b80d8
* Genericize the ReversePostOrderIterator.Chris Lattner2002-02-24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1785 91177308-0d34-0410-b5e6-96231b3b80d8
* Modernize verifier interfaceChris Lattner2002-02-20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1780 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix isArrayAllocation() to be correctChris Lattner2002-02-19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1779 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor cleanups I missedChris Lattner2002-02-19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1778 91177308-0d34-0410-b5e6-96231b3b80d8
* These constructors are for internal use only. These should have beenChris Lattner2002-02-19
| | | | | | | protected a long time ago :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1777 91177308-0d34-0410-b5e6-96231b3b80d8
* * Pull BasicBlock::pred_* and BasicBlock::succ_* out of BasicBlock.h and intoChris Lattner2002-02-12
| | | | | | | llvm/Support/CFG.h git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1749 91177308-0d34-0410-b5e6-96231b3b80d8
* * Pull BasicBlock::pred_* and BasicBlock::succ_* out of BasicBlock.h and intoChris Lattner2002-02-12
| | | | | | | | llvm/Support/CFG.h * Make pred & succ iterators for intervals global functions git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1748 91177308-0d34-0410-b5e6-96231b3b80d8
* Pull BasicBlock::pred_* and BasicBlock::succ_* out of BasicBlock.h and intoChris Lattner2002-02-12
| | | | | | | llvm/Support/CFG.h git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1747 91177308-0d34-0410-b5e6-96231b3b80d8
* Method.h no longer includes BasicBlock.hChris Lattner2002-02-12
| | | | | | | Method::inst_* is now in llvm/Support/InstIterator.h git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1745 91177308-0d34-0410-b5e6-96231b3b80d8
* * Move BasicBlock and Method graph stuff to new "llvm/Support/CFG.h" fileChris Lattner2002-02-12
| | | | | | | | * Move Method::inst_* to new "llvm/Support/InstIterator.h" file * inst_iterator no longer permits resync'ing git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1744 91177308-0d34-0410-b5e6-96231b3b80d8
* * Move BasicBlock and Method graph stuff to new "llvm/Support/CFG.h" fileChris Lattner2002-02-12
| | | | | | | | * Move Method::inst_* to new "llvm/Support/InstIterator.h" file * Method.h no longer #includes BasicBlock.h git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1743 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial checkin of new memory -> register promotion passChris Lattner2002-02-12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1739 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert BBLiveVar to be a BasicBlock annotation, this removes the BB2BBLVMap ↵Chris Lattner2002-02-05
| | | | | | from MethodLiveVarInfo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1721 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert operand iterator over to work like an STL iteratorChris Lattner2002-02-05
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1720 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor change: Methods that return ValueSet's that are guaranteed to be validChris Lattner2002-02-05
| | | | | | | return references instead of pointers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1719 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove generic routines to Support/SetOperations.hChris Lattner2002-02-05
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1715 91177308-0d34-0410-b5e6-96231b3b80d8
* New Support file for operations on set like objectsChris Lattner2002-02-05
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1714 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove empty filesChris Lattner2002-02-05
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1713 91177308-0d34-0410-b5e6-96231b3b80d8
* * Eliminate the LiveVarSet class, making applyTranferFuncForMInst a staticChris Lattner2002-02-05
| | | | | | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1711 91177308-0d34-0410-b5e6-96231b3b80d8
* * Code CleanupsChris Lattner2002-02-05
| | | | | | | * Introduce RAV to allow stream I/O instead of using printValue git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1710 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove empty fileChris Lattner2002-02-05
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1708 91177308-0d34-0410-b5e6-96231b3b80d8
* * Big cleanups.Chris Lattner2002-02-05
| | | | | | | | * Make BBLiveVar.h effectively an internal header file * Prepare LiveVarMap.h for deletion git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1705 91177308-0d34-0410-b5e6-96231b3b80d8
* Clean up MethodLiveVarInfoChris Lattner2002-02-04
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1703 91177308-0d34-0410-b5e6-96231b3b80d8
* Turn live variable analysis into a real MethodPass.Chris Lattner2002-02-04
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1699 91177308-0d34-0410-b5e6-96231b3b80d8
* Instruction scheduling is a real pass now.Chris Lattner2002-02-04
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1698 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove Obsolete LoopDepthCalculator. All users should use LoopInfo directly.Chris Lattner2002-02-04
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1697 91177308-0d34-0410-b5e6-96231b3b80d8
* Remvoe big hack that was used by the register allocatorChris Lattner2002-02-04
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1692 91177308-0d34-0410-b5e6-96231b3b80d8
* eliminate the add and remove methods, clients must use insert and erase ↵Chris Lattner2002-02-04
| | | | | | directly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1686 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove tons of include pollutionChris Lattner2002-02-04
| | | | | | | | Remove frivolous const's Make use of the -> operator git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1685 91177308-0d34-0410-b5e6-96231b3b80d8
* Use generic pointer hashes instead of custom ones.Chris Lattner2002-02-04
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1684 91177308-0d34-0410-b5e6-96231b3b80d8
* PostOrderIterator really does depend on Method and BasicBlock. Obviously thisChris Lattner2002-02-04
| | | | | | | is a huge fixme. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1682 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert RegisterAllocator interface to opaque pass type, so that users do notChris Lattner2002-02-04
| | | | | | | need to know _anything_ about RegAlloc to use it. Well in the end maybe. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1681 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate ModuleAnalyzer. It's old code that is not going to be used in the ↵Chris Lattner2002-02-04
| | | | | | near future git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1679 91177308-0d34-0410-b5e6-96231b3b80d8
* * Minor cleanupsChris Lattner2002-02-04
| | | | | | | | | | | | * 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/ git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1673 91177308-0d34-0410-b5e6-96231b3b80d8
* * Minor cleanupsChris Lattner2002-02-04
| | | | | | | | | * 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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1672 91177308-0d34-0410-b5e6-96231b3b80d8
* * Move command line parsing debug stuff to InstrScheduling internal header fileChris Lattner2002-02-04
| | | | | | | SchedPriorities.h git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1669 91177308-0d34-0410-b5e6-96231b3b80d8
* Split RegisterAllocation stuff OUT of Sparc.cpp into a well defined passChris Lattner2002-02-04
| | | | | | | that has a very minimal interface (like it should have). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1667 91177308-0d34-0410-b5e6-96231b3b80d8
* Revamp compilation to be pass based instead of being monolithic so thatChris Lattner2002-02-03
| | | | | | | backend's can customize compilation as much as they want git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1661 91177308-0d34-0410-b5e6-96231b3b80d8
* Code pulled out of MAchineInstr.(h|cpp)Chris Lattner2002-02-03
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1660 91177308-0d34-0410-b5e6-96231b3b80d8
* Add methods to TargetMachine to:Chris Lattner2002-02-03
| | | | | | | | * Output assembly code a method at a time instead of building it all up then emitting it as a whole module * Release memory contained in various annotations. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1641 91177308-0d34-0410-b5e6-96231b3b80d8
* * Trim #includesChris Lattner2002-02-03
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1640 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove #includeChris Lattner2002-02-03
| | | | | | | move typedefs here git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1639 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove extranous #includeChris Lattner2002-02-03
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1638 91177308-0d34-0410-b5e6-96231b3b80d8