aboutsummaryrefslogtreecommitdiffstats
path: root/tools/opt/opt.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Kill using declarationsChris Lattner2003-05-221-15/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6292 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure to create a target data that matches the Module's target properties.Chris Lattner2003-04-241-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5904 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove support for "target data" pass ctorsChris Lattner2003-04-241-5/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5900 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't support codegen passes in optChris Lattner2003-04-161-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5797 91177308-0d34-0410-b5e6-96231b3b80d8
* Give verbose error messages if bytecode file cannot be parsedChris Lattner2003-04-161-2/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5789 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename -no-* to -disable-*Chris Lattner2003-02-261-2/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5642 91177308-0d34-0410-b5e6-96231b3b80d8
* Add new -no-verify optionChris Lattner2003-02-121-1/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5542 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a new -no-output option, useful for -aa-eval tests.Chris Lattner2003-02-121-1/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5541 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename Sparc.h TargetMachineImpls.hChris Lattner2002-10-291-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4409 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for optimization passes that use a TargetMachine object.Vikram S. Adve2002-09-161-5/+16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3752 91177308-0d34-0410-b5e6-96231b3b80d8
* Change command line option message on -q to make it more accurateChris Lattner2002-07-311-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3177 91177308-0d34-0410-b5e6-96231b3b80d8
* Print the tool name when an error comes from so that I can tell whichChris Lattner2002-07-301-5/+6
| | | | | | | tool of a pipeline is having issues. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3168 91177308-0d34-0410-b5e6-96231b3b80d8
* Factor PassNamePArser out into llvm/Support/PassNameParser.hChris Lattner2002-07-261-63/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3109 91177308-0d34-0410-b5e6-96231b3b80d8
* *** empty log message ***Chris Lattner2002-07-251-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3087 91177308-0d34-0410-b5e6-96231b3b80d8
* Use the pass registration mechanism to populate command line options forChris Lattner2002-07-231-142/+77
| | | | | | | opt, not huge explicit gross tables. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3021 91177308-0d34-0410-b5e6-96231b3b80d8
* *** empty log message ***Chris Lattner2002-07-221-8/+22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2985 91177308-0d34-0410-b5e6-96231b3b80d8
* added emitfuncs pass, and disabled reassociate pass (needs fixing)Anand Shukla2002-07-121-2/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2885 91177308-0d34-0410-b5e6-96231b3b80d8
* *** empty log message ***Chris Lattner2002-06-301-1/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2813 91177308-0d34-0410-b5e6-96231b3b80d8
* Changes for 64bit gccAnand Shukla2002-06-251-1/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2797 91177308-0d34-0410-b5e6-96231b3b80d8
* MEGAPATCH checkin.Chris Lattner2002-06-251-1/+1
| | | | | | | For details, See: docs/2002-06-25-MegaPatchInfo.txt git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2779 91177308-0d34-0410-b5e6-96231b3b80d8
* Expose cfg simplification passChris Lattner2002-05-211-11/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2699 91177308-0d34-0410-b5e6-96231b3b80d8
* expose LICM passChris Lattner2002-05-101-1/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2614 91177308-0d34-0410-b5e6-96231b3b80d8
* Expose the lowerallocs passChris Lattner2002-05-101-4/+15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2602 91177308-0d34-0410-b5e6-96231b3b80d8
* Expose the pi node insertion pass.Chris Lattner2002-05-101-2/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2594 91177308-0d34-0410-b5e6-96231b3b80d8
* Expose expression reassociationChris Lattner2002-05-081-1/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2557 91177308-0d34-0410-b5e6-96231b3b80d8
* Spell aggressive correctlyChris Lattner2002-05-071-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2551 91177308-0d34-0410-b5e6-96231b3b80d8
* Merge all include/llvm/Transforms/Scalar/* into a single Scalar.hChris Lattner2002-05-071-8/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2538 91177308-0d34-0410-b5e6-96231b3b80d8
* Move UnifyFunctionExitNodes to Utils library: final resting place this timeChris Lattner2002-05-071-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2531 91177308-0d34-0410-b5e6-96231b3b80d8
* Updates to move some header files out of include/llvm/Transforms intoChris Lattner2002-05-071-4/+4
| | | | | | | the Scalar and Utils subdirectories git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2523 91177308-0d34-0410-b5e6-96231b3b80d8
* Expose the internalize pass.Chris Lattner2002-04-281-1/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2365 91177308-0d34-0410-b5e6-96231b3b80d8
* Expose new GCSE passChris Lattner2002-04-281-1/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2339 91177308-0d34-0410-b5e6-96231b3b80d8
* s/Method/FunctionChris Lattner2002-04-271-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2336 91177308-0d34-0410-b5e6-96231b3b80d8
* * Rename MethodPass class to FunctionPassChris Lattner2002-04-271-20/+20
| | | | | | | | | | | | | | | | - Rename runOnMethod to runOnFunction * Transform getAnalysisUsageInfo into getAnalysisUsage - Method is now const - It now takes one AnalysisUsage object to fill in instead of 3 vectors to fill in - Pass's now specify which other passes they _preserve_ not which ones they modify (be conservative!) - A pass can specify that it preserves all analyses (because it never modifies the underlying program) * s/Method/Function/g in other random places as well git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2333 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure that there is no case where a signal can occur leaving a partiallyChris Lattner2002-04-181-0/+5
| | | | | | | | | 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
* * Add the printm pass to allow dumping the entire module after a transformation.Chris Lattner2002-04-131-9/+15
| | | | | | | * s/Method/Function/ git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2234 91177308-0d34-0410-b5e6-96231b3b80d8
* Expose funcresolve pass through optChris Lattner2002-04-121-1/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2231 91177308-0d34-0410-b5e6-96231b3b80d8
* s/PrintMethodPass/PrintFunctionPassChris Lattner2002-04-081-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2182 91177308-0d34-0410-b5e6-96231b3b80d8
* Add hook for pool allocation passChris Lattner2002-03-281-2/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2013 91177308-0d34-0410-b5e6-96231b3b80d8
* Checking for CameronChris Lattner2002-03-281-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2011 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename pass to DecomposeMultiDimRefs.Vikram S. Adve2002-03-241-1/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1960 91177308-0d34-0410-b5e6-96231b3b80d8
* Expose dead instruction elimination passChris Lattner2002-03-141-1/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1877 91177308-0d34-0410-b5e6-96231b3b80d8
* Change over to use new style pass mechanism, now passes only expose smallChris Lattner2002-02-261-44/+22
| | | | | | | 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
* Move ProfilePaths class into ProfilePaths library, only expose a creation ↵Chris Lattner2002-02-261-1/+3
| | | | | | function git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1812 91177308-0d34-0410-b5e6-96231b3b80d8
* Includes -paths option to trace paths in the programAnand Shukla2002-02-261-2/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1811 91177308-0d34-0410-b5e6-96231b3b80d8
* * Expose the verifier pass as one that can be ranChris Lattner2002-02-201-1/+11
| | | | | | | * Force the verifier to run before bytecode is written git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1783 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
* 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
* 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
* In an amazing fit of stupidity, I flipped the conditional and didn't testChris Lattner2002-01-221-1/+1
| | | | | | | it right. Sheesh :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1550 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