aboutsummaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* Method.h no longer includes BasicBlock.hChris Lattner2002-02-124-4/+6
| | | | | | | | Method::inst_* is now in llvm/Support/InstIterator.h GraphTraits specializations for BasicBlock and Methods are now in llvm/Support/CFG.h git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1746 91177308-0d34-0410-b5e6-96231b3b80d8
* Enable register promotion passChris Lattner2002-02-121-1/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1740 91177308-0d34-0410-b5e6-96231b3b80d8
* Trim down makefile, again.Chris Lattner2002-02-041-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1691 91177308-0d34-0410-b5e6-96231b3b80d8
* Cut down number of times libraries are included to link a little bit fasterChris Lattner2002-02-041-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1678 91177308-0d34-0410-b5e6-96231b3b80d8
* * 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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1665 91177308-0d34-0410-b5e6-96231b3b80d8
* 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1659 91177308-0d34-0410-b5e6-96231b3b80d8
* Catch the parse exception if bad input is provided. Much better than an abortChris Lattner2002-02-011-3/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1631 91177308-0d34-0410-b5e6-96231b3b80d8
* Add mergereturn passChris Lattner2002-02-011-5/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1629 91177308-0d34-0410-b5e6-96231b3b80d8
* Add dependencyChris Lattner2002-01-311-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1620 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix dependency problemChris Lattner2002-01-311-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1619 91177308-0d34-0410-b5e6-96231b3b80d8
* Resolve depsChris Lattner2002-01-311-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1615 91177308-0d34-0410-b5e6-96231b3b80d8
* Resolve dependenciesChris Lattner2002-01-311-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1614 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert to use new Pass framework...Chris Lattner2002-01-311-45/+83
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1610 91177308-0d34-0410-b5e6-96231b3b80d8
* PassManager is now in its own header fileChris Lattner2002-01-311-2/+2
| | | | | | | MethodPass's now cannot be run on external methods git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1609 91177308-0d34-0410-b5e6-96231b3b80d8
* PassManager is now in it's own header fileChris Lattner2002-01-311-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1608 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert analyze over to use new pass framework for its analysesChris Lattner2002-01-311-148/+192
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1607 91177308-0d34-0410-b5e6-96231b3b80d8
* Accept, but ignore -lfoo options.Chris Lattner2002-01-252-0/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1585 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial Checkin of gccldChris Lattner2002-01-242-0/+137
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1578 91177308-0d34-0410-b5e6-96231b3b80d8
* In an amazing fit of stupidity, I flipped the conditional and didn't testChris Lattner2002-01-2210-18/+18
| | | | | | | it right. Sheesh :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1550 91177308-0d34-0410-b5e6-96231b3b80d8
* Only run DeadInst elimination early, because it is quick and painless andChris Lattner2002-01-221-1/+1
| | | | | | | pipelines well git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1549 91177308-0d34-0410-b5e6-96231b3b80d8
* Misc cleanups. Allocate ofstream statically, and use a pass to write out ↵Chris Lattner2002-01-221-11/+7
| | | | | | the bytecode git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1529 91177308-0d34-0410-b5e6-96231b3b80d8
* Try again, now it works rightChris Lattner2002-01-221-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1526 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename LowerAllocations.h to ChangeAllocations.h since it now contains theChris Lattner2002-01-223-3/+3
| | | | | | | RaiseAllocations pass as well. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1525 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix ordering dependency problemChris Lattner2002-01-221-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1524 91177308-0d34-0410-b5e6-96231b3b80d8
* Pull RaiseAllocations stuff out of the CleanGCC pass into it's own pass inChris Lattner2002-01-222-1/+6
| | | | | | | the ChangeAllocations.h header file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1522 91177308-0d34-0410-b5e6-96231b3b80d8
* Move stuff out of the Optimizations directories into the appropriate TransformsChris Lattner2002-01-212-12/+18
| | | | | | | directories. Eliminate the opt namespace. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1520 91177308-0d34-0410-b5e6-96231b3b80d8
* Chuck fixed the GCC problems so this hack is now unneccesaryChris Lattner2002-01-212-2/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1519 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate opt libraryChris Lattner2002-01-215-6/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1516 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename SwapStructureContents -> IPO/SimpleStructMutationChris Lattner2002-01-211-1/+1
| | | | | | | Move MutateStructTypes.(cpp|h) -> IPO/MutateStructTypes.(cpp|h) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1510 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement a more powerful, simpler, pass system. This pass system can figureChris Lattner2002-01-213-44/+36
| | | | | | | | | | out how to run a collection of passes optimially given their behaviors and charactaristics. Convert code to use it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1507 91177308-0d34-0410-b5e6-96231b3b80d8
* Changes to build successfully with GCC 3.02Chris Lattner2002-01-2012-134/+242
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1503 91177308-0d34-0410-b5e6-96231b3b80d8
* Add instruction combining passChris Lattner2001-12-141-31/+34
| | | | | | | Rename -mergecons to -constmerge git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1478 91177308-0d34-0410-b5e6-96231b3b80d8
* Add more passes to run after raisingChris Lattner2001-12-141-2/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1476 91177308-0d34-0410-b5e6-96231b3b80d8
* Build runtime library with local GCCASChris Lattner2001-12-131-4/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1447 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement strlen strdup strcmpChris Lattner2001-12-131-0/+35
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1446 91177308-0d34-0410-b5e6-96231b3b80d8
* Tell the user if a file is corrupt or not... not that the file cannot beChris Lattner2001-12-082-2/+44
| | | | | | | found. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1433 91177308-0d34-0410-b5e6-96231b3b80d8
* Run DCE before cleanupGCCoutput which will cause some dead types (like FILE) ↵Chris Lattner2001-12-071-4/+4
| | | | | | to be removed git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1429 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove unnecesary namespace impotChris Lattner2001-12-051-2/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1419 91177308-0d34-0410-b5e6-96231b3b80d8
* Simplify induction variables before 'raising' the representationChris Lattner2001-12-052-1/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1418 91177308-0d34-0410-b5e6-96231b3b80d8
* Use new induction variable simplification code with -indvars optionChris Lattner2001-12-042-2/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1410 91177308-0d34-0410-b5e6-96231b3b80d8
* Induction variables must be phi nodesChris Lattner2001-12-031-5/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1402 91177308-0d34-0410-b5e6-96231b3b80d8
* Create a new #include "Support/..." directory structure to move thingsChris Lattner2001-11-2713-37/+30
| | | | | | | | | from "llvm/Support/..." that are not llvm dependant. Move files and fix #includes git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1400 91177308-0d34-0410-b5e6-96231b3b80d8
* -raise includes constprop and dceChris Lattner2001-11-261-3/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1397 91177308-0d34-0410-b5e6-96231b3b80d8
* * Add hooks to globaldceChris Lattner2001-11-261-28/+37
| | | | | | | | * Fix ugly hacks by implementing IPOs correctly * Use an auto_ptr to manage the module lifecycle git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1395 91177308-0d34-0410-b5e6-96231b3b80d8
* Link to ipo libraryChris Lattner2001-11-261-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1394 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix problem where lli < foo.bc would have argc = 0Chris Lattner2001-11-261-0/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1393 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support to enable -lfoo to be processed correctlyChris Lattner2001-11-262-2/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1390 91177308-0d34-0410-b5e6-96231b3b80d8
* Add hooks to print natural loop information and induction variablesChris Lattner2001-11-261-1/+21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1389 91177308-0d34-0410-b5e6-96231b3b80d8
* Change swapstructs itfChris Lattner2001-11-261-8/+12
| | | | | | | Add nasty hack to be removed later git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1356 91177308-0d34-0410-b5e6-96231b3b80d8
* Run constprop before -raiseChris Lattner2001-11-261-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1354 91177308-0d34-0410-b5e6-96231b3b80d8