aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gccas
Commit message (Collapse)AuthorAgeFilesLines
...
* * Remove the -stopraise option, which is no longer needed now that we haveChris Lattner2002-09-221-10/+1
| | | | | | | | | | the -debug-pass=Arguments option * Run instcombining BEFORE mem2reg so that getelementptr X, long 0's are cleaned up. This is also important because scalar replacement of aggr. will want instcombine to run before it goes as well. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3879 91177308-0d34-0410-b5e6-96231b3b80d8
* gcc3.1.1 seems much more selective about what it loads from archives, andVikram S. Adve2002-09-181-2/+2
| | | | | | | | does not link in many passes that are loaded by gcc2.95.3. So use object files instead of archives in many more cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3803 91177308-0d34-0410-b5e6-96231b3b80d8
* * No longer need to run die after instcombineChris Lattner2002-09-061-3/+5
| | | | | | | | | * Run new correlated expressions pass * Simplify the CFG (removing dead blocks, merging blocks, eliminating branches on constant booleans, etc) after correlated exprs pass. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3598 91177308-0d34-0410-b5e6-96231b3b80d8
* - Reformat commentsChris Lattner2002-08-301-18/+19
| | | | | | | | - 'gccas' puts verifier in logical place in pass procession to avoid recomputing dominator information unneccesarily. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3553 91177308-0d34-0410-b5e6-96231b3b80d8
* - GCCAS now uses load value #ing for GCSEChris Lattner2002-08-301-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3536 91177308-0d34-0410-b5e6-96231b3b80d8
* Do not leak memory for passes when using -stopAfterNPasses or -stopraiseChris Lattner2002-08-171-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3371 91177308-0d34-0410-b5e6-96231b3b80d8
* Run GlobalDCE before deadtypeelim so that we do not retain types for globalChris Lattner2002-08-171-0/+1
| | | | | | | variables that are obviously dead. The most common case is %FILE git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3370 91177308-0d34-0410-b5e6-96231b3b80d8
* Print the tool name when an error comes from so that I can tell whichChris Lattner2002-07-301-3/+3
| | | | | | | tool of a pipeline is having issues. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3168 91177308-0d34-0410-b5e6-96231b3b80d8
* *** empty log message ***Chris Lattner2002-07-251-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3087 91177308-0d34-0410-b5e6-96231b3b80d8
* *** empty log message ***Chris Lattner2002-07-232-7/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3040 91177308-0d34-0410-b5e6-96231b3b80d8
* Raise pass requires an explicit TargetData member now.Chris Lattner2002-07-231-1/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3020 91177308-0d34-0410-b5e6-96231b3b80d8
* *** empty log message ***Chris Lattner2002-07-231-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3002 91177308-0d34-0410-b5e6-96231b3b80d8
* *** empty log message ***Chris Lattner2002-07-221-8/+19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2985 91177308-0d34-0410-b5e6-96231b3b80d8
* Disabling reassociate pass until it is fixed.Vikram S. Adve2002-07-091-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2849 91177308-0d34-0410-b5e6-96231b3b80d8
* Yes, we REALLY DO want to run the reassociate pass.Chris Lattner2002-06-301-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2809 91177308-0d34-0410-b5e6-96231b3b80d8
* Changes for 64bit gccAnand Shukla2002-06-251-3/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2799 91177308-0d34-0410-b5e6-96231b3b80d8
* Simplify the code that adds passes so compilation can stop after any stepChris Lattner2002-06-251-29/+66
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2775 91177308-0d34-0410-b5e6-96231b3b80d8
* No need to run dce with adce right behind!Chris Lattner2002-05-231-1/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2738 91177308-0d34-0410-b5e6-96231b3b80d8
* Add the ADCE pass to gccas finally!Chris Lattner2002-05-221-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2719 91177308-0d34-0410-b5e6-96231b3b80d8
* Simplify CFG after code generation is doneChris Lattner2002-05-211-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2698 91177308-0d34-0410-b5e6-96231b3b80d8
* Run another local value numbering phase after redundancy eliminationChris Lattner2002-05-141-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2625 91177308-0d34-0410-b5e6-96231b3b80d8
* Add LICM pass to compilerChris Lattner2002-05-101-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2613 91177308-0d34-0410-b5e6-96231b3b80d8
* Run expression reassociation as part of gccasChris Lattner2002-05-081-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2556 91177308-0d34-0410-b5e6-96231b3b80d8
* Merge all include/llvm/Transforms/Scalar/* into a single Scalar.hChris Lattner2002-05-071-6/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2538 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix makefiles after shuffling passes around the librariesChris Lattner2002-05-071-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2532 91177308-0d34-0410-b5e6-96231b3b80d8
* Straighten out makefiles after moving code to new Transform Utils libraryChris Lattner2002-05-071-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2520 91177308-0d34-0410-b5e6-96231b3b80d8
* GCSE is faster than SCCP, and it makes SCCP's job easier, so run it first.Chris Lattner2002-05-061-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2503 91177308-0d34-0410-b5e6-96231b3b80d8
* Instruction Combination can create a ton of trivially dead instructions. RemoveChris Lattner2002-05-061-0/+1
| | | | | | | them with an DIE pass before more expensive optimizations are run. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2491 91177308-0d34-0410-b5e6-96231b3b80d8
* Run DCE AFTER SCCP and GCSE!Chris Lattner2002-05-061-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2476 91177308-0d34-0410-b5e6-96231b3b80d8
* Move constant merging pass earlierChris Lattner2002-04-291-1/+3
| | | | | | | Include the SCCP pass in gccas git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2410 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate duplicate or unneccesary #include'sChris Lattner2002-04-291-1/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2397 91177308-0d34-0410-b5e6-96231b3b80d8
* Run GCSE as part of gccas.Chris Lattner2002-04-281-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2340 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure that there is no case where a signal can occur leaving a partiallyChris Lattner2002-04-181-0/+4
| | | | | | | | | written output file. This is important because crashing testcases often write part of a file out, and the testing harness decides the file is up-to-date next time the test is run. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2303 91177308-0d34-0410-b5e6-96231b3b80d8
* The cleangcc pass is brokeninto two pieces, execute both of them.Chris Lattner2002-04-101-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2225 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove asmwriter library from link line, because the useful contents of itChris Lattner2002-04-071-1/+1
| | | | | | | have been incorporated into the vmcore library. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2153 91177308-0d34-0410-b5e6-96231b3b80d8
* Move the PromoteMemoryToRegister pass to be run _after_ the raise pointerChris Lattner2002-04-011-1/+1
| | | | | | | references pass, so it is given the chance to do some good! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2089 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename constructor function for mem2reg pass.Cameron Buschardt2002-03-271-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2008 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a debugging option to gccas to cause it to not do level raise or anythingChris Lattner2002-03-211-4/+8
| | | | | | | after it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1934 91177308-0d34-0410-b5e6-96231b3b80d8
* Pull interprocedural analyses out of Analysis library into their own libChris Lattner2002-03-061-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1827 91177308-0d34-0410-b5e6-96231b3b80d8
* Change to use new pass accessor functionsChris Lattner2002-02-261-9/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1817 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
* 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
* 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
* Rename LowerAllocations.h to ChangeAllocations.h since it now contains theChris Lattner2002-01-221-1/+1
| | | | | | | RaiseAllocations pass as well. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1525 91177308-0d34-0410-b5e6-96231b3b80d8
* Pull RaiseAllocations stuff out of the CleanGCC pass into it's own pass inChris Lattner2002-01-221-0/+2
| | | | | | | 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-211-3/+3
| | | | | | | directories. Eliminate the opt namespace. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1520 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate opt libraryChris Lattner2002-01-211-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1516 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement a more powerful, simpler, pass system. This pass system can figureChris Lattner2002-01-211-9/+9
| | | | | | | | | | 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-201-4/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1503 91177308-0d34-0410-b5e6-96231b3b80d8