aboutsummaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
...
* Do not link in the Sparc JIT when building on X86. Eventually the sparc ↵Chris Lattner2003-06-171-6/+6
| | | | | | | | | | | will not link in the X86 JIT either, but this makes testing easier. For some reason, the sparc JIT was breaking the X86 JIT when it was linked in. :( git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6745 91177308-0d34-0410-b5e6-96231b3b80d8
* Whoops, didn't mean to check that in :(Chris Lattner2003-06-171-3/+19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6743 91177308-0d34-0410-b5e6-96231b3b80d8
* Use more structured command line option processingChris Lattner2003-06-171-19/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6742 91177308-0d34-0410-b5e6-96231b3b80d8
* Actually, change it to use explicit new/delete, which is more likely to beChris Lattner2003-06-161-6/+7
| | | | | | | optimized INTO an alloca git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6727 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove usage of allocaChris Lattner2003-06-161-6/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6726 91177308-0d34-0410-b5e6-96231b3b80d8
* Isolate machine-dependent use of <alloca.h> in "Support/Alloca.h",Brian Gaeke2003-06-161-1/+1
| | | | | | | | so that we can easily change its use to be conditional on the result of an autoconf test later. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6723 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix major bug in my last checkin. :(Chris Lattner2003-06-132-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6688 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove obsolete comments about llvm-arChris Lattner2003-06-122-22/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6686 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove duplicate passChris Lattner2003-06-051-4/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6631 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove stupid thinko that was preventing bugpoint from workingChris Lattner2003-06-021-11/+16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6533 91177308-0d34-0410-b5e6-96231b3b80d8
* Give better information about how the passes crashChris Lattner2003-06-021-2/+17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6532 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for: -o -Chris Lattner2003-05-316-42/+60
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6485 91177308-0d34-0410-b5e6-96231b3b80d8
* Add SRoA pass to gccasChris Lattner2003-05-301-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6442 91177308-0d34-0410-b5e6-96231b3b80d8
* Move indvars pass after mem2reg pass where it is more likely to be usefulChris Lattner2003-05-301-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6441 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix formatting in fileChris Lattner2003-05-291-12/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6398 91177308-0d34-0410-b5e6-96231b3b80d8
* Link in Sparc libs for the JIT, even on X86 to be able to support debuggingMisha Brukman2003-05-271-3/+19
| | | | | | | of Sparc JIT (printing out instrs) on X86. Con: this increases linking time. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6361 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove ugly hack (that I put in originally) for building in trace stuffChris Lattner2003-05-272-115/+15
| | | | | | | automatically in LLC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6358 91177308-0d34-0410-b5e6-96231b3b80d8
* Add compatibility optionChris Lattner2003-05-271-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6354 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove ".bc" from the end of InputFile if it is there, inBrian Gaeke2003-05-231-0/+7
| | | | | | | tools/lli/lli.cpp:main(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6317 91177308-0d34-0410-b5e6-96231b3b80d8
* gccld.cpp:Brian Gaeke2003-05-231-57/+82
| | | | | | | | | | | | | | | | | | | | Fix typo in header. Add IsArchive static method. Roll LoadLibraryFromDirectory() into LoadLibrary(), and factor LoadLibraryExactName() out of the result. Instead of treating the current directory specially, just insert it into LibPaths in the beginning of main(). Make LoadLibrary() take a "search" flag that says whether to search for the correct library, or just trust that LibName is right. Make LinkLibrary() take a "search" flag, and pass it to LoadLibrary(). Change the for-loop over InputFilenames to detect ar archives and link them in as libraries without searching. Change the for-loop over Libraries to explicitly turn on the "search" flag to LinkLibrary() that makes LoadLibrary() search for the correct library (i.e., when processing -lNAME options.) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6316 91177308-0d34-0410-b5e6-96231b3b80d8
* Clarify BugDriver.cpp:BugDriver::ParseInputFile()'s return values in itsBrian Gaeke2003-05-231-1/+3
| | | | | | | explanatory comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6308 91177308-0d34-0410-b5e6-96231b3b80d8
* Kill using declarationsChris Lattner2003-05-229-126/+114
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6292 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow disabling final cleanupsChris Lattner2003-05-211-1/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6271 91177308-0d34-0410-b5e6-96231b3b80d8
* Increase odds that this won't bork thingsChris Lattner2003-05-211-0/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6267 91177308-0d34-0410-b5e6-96231b3b80d8
* Get rid of really old makefile cruftChris Lattner2003-05-141-9/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6218 91177308-0d34-0410-b5e6-96231b3b80d8
* Search LLVM_LIB_SEARCH_PATH for objects to allow it to find crtend.oChris Lattner2003-05-131-6/+18
| | | | | | | Implement minor library linking optimization. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6181 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a disable-verify optionChris Lattner2003-05-121-1/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6155 91177308-0d34-0410-b5e6-96231b3b80d8
* Move static stuff to an anonymous namespaceChris Lattner2003-05-121-15/+14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6154 91177308-0d34-0410-b5e6-96231b3b80d8
* Print filename correctlyChris Lattner2003-05-121-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6119 91177308-0d34-0410-b5e6-96231b3b80d8
* The JIT is the default mode for LLI nowChris Lattner2003-05-121-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6118 91177308-0d34-0410-b5e6-96231b3b80d8
* Make a comment more accurateChris Lattner2003-05-031-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5991 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for debugging miscompilations with the use of the JIT or CBE!Chris Lattner2003-05-031-4/+162
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5990 91177308-0d34-0410-b5e6-96231b3b80d8
* Bugpoint is always verbose, eliminate optionChris Lattner2003-05-031-5/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5989 91177308-0d34-0410-b5e6-96231b3b80d8
* The Grammar Police is out on patrol.Misha Brukman2003-05-031-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5985 91177308-0d34-0410-b5e6-96231b3b80d8
* Add an instcombine pass before levelraiseChris Lattner2003-05-021-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5980 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a new option to disable stripping of bytecode filesChris Lattner2003-04-281-1/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5969 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove two fields from TargetData which are target specific.Chris Lattner2003-04-261-2/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5963 91177308-0d34-0410-b5e6-96231b3b80d8
* Add options to disable simplification with passes, in case one of them crashesChris Lattner2003-04-251-3/+16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5950 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure to copy double alignment as wellChris Lattner2003-04-251-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5936 91177308-0d34-0410-b5e6-96231b3b80d8
* Kill using declarationsChris Lattner2003-04-251-32/+31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5934 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure to add a targetdata instance to the passmanager, and make it match theChris Lattner2003-04-251-0/+5
| | | | | | | one in use by the TargetMachine git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5931 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename Kept -> SuffixChris Lattner2003-04-251-4/+4
| | | | | | | FIX problem where we were incorrectly putting the prefix of the list into the "suffix" list. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5926 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename Kept -> SuffixChris Lattner2003-04-251-11/+11
| | | | | | | Fix problem where we accidentally returned KeepPrefix instead of KeepSuffix! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5925 91177308-0d34-0410-b5e6-96231b3b80d8
* Big programs have tons of global variable initializers, and most passes ↵Chris Lattner2003-04-251-0/+30
| | | | | | | | | don't care about them. Try to delete them if it doesn't affect the passes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5918 91177308-0d34-0410-b5e6-96231b3b80d8
* When cleaning up the final bytecode file, make sure to run DTE as wellChris Lattner2003-04-251-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5917 91177308-0d34-0410-b5e6-96231b3b80d8
* Speed up convergence significantly and also reduce the size of testcases by ↵Chris Lattner2003-04-242-3/+123
| | | | | | making large portions of a function's CFG dead at a time. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5915 91177308-0d34-0410-b5e6-96231b3b80d8
* The big fix is this change:Chris Lattner2003-04-241-13/+5
| | | | | | | | | | - if (I->isExternal() && !Functions.count(I)) + if (!I->isExternal() && !Functions.count(I)) We were not actually deleting any functions from the module! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5914 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove dead functionsChris Lattner2003-04-242-41/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5913 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure that deleted functions have external linkageChris Lattner2003-04-241-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5912 91177308-0d34-0410-b5e6-96231b3b80d8
* Use the list reducer to improve convergence speed and to support crashes thatChris Lattner2003-04-242-115/+129
| | | | | | | only occur when multiple passes interact or when multiple functions exist in a module git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5911 91177308-0d34-0410-b5e6-96231b3b80d8