aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Make sure the verify pass gets run after the user's loaded passes as wellReid Spencer2006-08-201-3/+2
| | | | | | | when the verify-each option is given. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29783 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename the -verify option to be -verify-each so that it doesn't conflictReid Spencer2006-08-201-4/+4
| | | | | | | | with the -verify pass option. It is also more accurate in that this option causes a verify option to be run after every pass. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29782 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert llvm-ld to use the PluginLoader like opt instead of having itsReid Spencer2006-08-201-19/+31
| | | | | | | | | | | one-off (and broken) RunOptimizations function. Also, run some cleanup passes after the user's loaded passes run. This make sure to clean up any cruft left around by thos passes. This patch was inspired by a patch submitted by Bram Adams. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29781 91177308-0d34-0410-b5e6-96231b3b80d8
* call computeRegisterPropertiesRafael Espindola2006-08-201-0/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29780 91177308-0d34-0410-b5e6-96231b3b80d8
* vpkuwus didn't work, due to this typoChris Lattner2006-08-181-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29776 91177308-0d34-0410-b5e6-96231b3b80d8
* These changes reflect the changes in the database for how tests are storedPatrick Jenkins2006-08-181-51/+26
| | | | | | | and bring the handing of dejagnu tests into compliance with this new scheme. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29772 91177308-0d34-0410-b5e6-96231b3b80d8
* regenerateChris Lattner2006-08-184-3844/+2881
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29771 91177308-0d34-0410-b5e6-96231b3b80d8
* trivial optimizationChris Lattner2006-08-181-1/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29770 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a comment about the mechanisms used to rid AsmParser of exceptions.Reid Spencer2006-08-184-214/+244
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29769 91177308-0d34-0410-b5e6-96231b3b80d8
* To avoid errors where a non-exception .o is on the stack between a throwReid Spencer2006-08-181-5/+5
| | | | | | | | | | | and a handler, which would produce errors like: terminate called after throwing an instance of 'std::string' we must comment out setting -fno-exceptions until PR797 is completely fixed. Once libraries like lib/System and lib/Support are exception free, we can turn it back on. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29768 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR797:Reid Spencer2006-08-182-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Actually turn on -fno-exceptions in libraries that do not have the REQUIRES_EH option in their Makefile. The following library file size savings were made (DEBUG): libLLVMDataStructure.a 525K libLLVMCore.a 380K libLLVMCodeGen.a 350K libLLVMTransformUtils.a 305K libLLVMScalarOpts.a 270K libLLVMAnalysis.a 247K libLLVMSelectionDAG.a 233K libLLVMipo.a 175K LLVMX86.o 123K LLVMPPC.o 81K libLLVMipa.a 17K TOTAL 2,706K Note that the savings is actually a little larger than this because I didn't count any of the libraries that had small changes. 2. Remove REQUIRES_EH from the AsmParser library as it is now exception free. This resulted in a nearly 78K drop in the size of the debug library for AsmParser. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29767 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR797:Reid Spencer2006-08-183-4/+7
| | | | | | | Update to reflect ParseException becoming ParseError (from Parser.h) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29766 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a grammaro in a comment.Reid Spencer2006-08-181-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29765 91177308-0d34-0410-b5e6-96231b3b80d8
* Drop the -s2048 option, it is specified incorrectly and the correctReid Spencer2006-08-181-2/+2
| | | | | | | specification can't be handled by llvmc (= confuses it) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29764 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR797:Reid Spencer2006-08-1814-3308/+4781
| | | | | | | | | | | | | | Rid the Assembly Parser of exceptions. This is a really gross hack but it will do until the Assembly Parser is re-written as a recursive descent. The basic premise is that wherever the old "ThrowException" function was called (new name: GenerateError) we set a flag (TriggerError). Every production checks that flag and calls YYERROR if it is set. Additionally, each call to ThrowException in the grammar is replaced with GEN_ERROR which calls GenerateError and then YYERROR immediately. This prevents the remaining production from continuing after an error condition. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29763 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR872:Reid Spencer2006-08-1841-514/+189
| | | | | | | | | | | | | | | | | | | | | Shrinkify LLVM's footprint by removing the analyze tool and moving its functionality into the opt tool. THis eliminates one of the largest tools from LLVM and doesn't make opt much bigger because it already included most of the analysis passes. To get the old analyze functionality pass the -analyze option to opt. Note that the integeration here is dead simple. The "main" of analyze was just copied to opt and invoked if the -analyze option was given. There may be opportunities for further integration such as removing the distinction between transform passes and analysis passes. To use the analysis functionality, if you previously did this: analyze $FNAME -domset -disable-verify you would now do this: opt -analyze $FNAME -domset -disable-verify Pretty simple. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29762 91177308-0d34-0410-b5e6-96231b3b80d8
* Temporarily xfail this test, evan will look at it in a week or so.Chris Lattner2006-08-181-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29760 91177308-0d34-0410-b5e6-96231b3b80d8
* Changing the format dejagnu tests are submitted. We used to only submit ↵Patrick Jenkins2006-08-171-19/+23
| | | | | | multisource information for pass fail. Now we submit all pass/fail test information. This should fix the issue where some results were not being reported. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29757 91177308-0d34-0410-b5e6-96231b3b80d8
* Constify some methods. Patch provided by Anton Vayvod, thanks!Chris Lattner2006-08-1711-37/+42
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29756 91177308-0d34-0410-b5e6-96231b3b80d8
* fit in 80 colsChris Lattner2006-08-171-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29754 91177308-0d34-0410-b5e6-96231b3b80d8
* minor cleanupsChris Lattner2006-08-171-20/+16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29753 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert this patch, the front-end has been fixed to make it unneccesary.Chris Lattner2006-08-171-15/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29752 91177308-0d34-0410-b5e6-96231b3b80d8
* 'g' is handled by the front-end.Chris Lattner2006-08-171-4/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29751 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix handling of 'g'. Closes 883Andrew Lenharth2006-08-171-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29750 91177308-0d34-0410-b5e6-96231b3b80d8
* add a "load effective address"Rafael Espindola2006-08-175-10/+48
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29748 91177308-0d34-0410-b5e6-96231b3b80d8
* Add the 'c' constraint as needed by the linux kernelAndrew Lenharth2006-08-171-2/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29747 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for S and D constraints, as needed to compile the linux kernel.Andrew Lenharth2006-08-171-0/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29746 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix validation problemChris Lattner2006-08-171-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29745 91177308-0d34-0410-b5e6-96231b3b80d8
* remove IRC transcript. Anything still misunderstood after the faq is readChris Lattner2006-08-171-326/+0
| | | | | | | can be added to the faq. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29744 91177308-0d34-0410-b5e6-96231b3b80d8
* switch the SUnit pred/succ sets from being std::sets to being smallvectors.Chris Lattner2006-08-174-81/+112
| | | | | | | | | This reduces selectiondag time on kc++ from 5.43s to 4.98s (9%). More significantly, this speeds up the default ppc scheduler from ~1571ms to 1063ms, a 33% speedup. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29743 91177308-0d34-0410-b5e6-96231b3b80d8
* Another cyclic dag test case.Evan Cheng2006-08-171-0/+23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29742 91177308-0d34-0410-b5e6-96231b3b80d8
* Doh. Incorrectly inverted condition. Also add a isOnlyUse check to match ↵Evan Cheng2006-08-161-1/+2
| | | | | | tablegen. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29741 91177308-0d34-0410-b5e6-96231b3b80d8
* minor changes.Chris Lattner2006-08-162-22/+24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29740 91177308-0d34-0410-b5e6-96231b3b80d8
* add an accessorChris Lattner2006-08-161-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29739 91177308-0d34-0410-b5e6-96231b3b80d8
* My last commit added some experimental features I have been working on. This ↵Patrick Jenkins2006-08-161-18/+19
| | | | | | commit rolls those back. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29738 91177308-0d34-0410-b5e6-96231b3b80d8
* Changed the call to countloc.sh so that the correct topdirectory of the llvm ↵Patrick Jenkins2006-08-161-20/+19
| | | | | | build is set. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29736 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert vector to smallvector: 4% speedup.Chris Lattner2006-08-161-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29735 91177308-0d34-0410-b5e6-96231b3b80d8
* silence a warning.Chris Lattner2006-08-161-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29734 91177308-0d34-0410-b5e6-96231b3b80d8
* Added my home web page.Bill Wendling2006-08-161-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29732 91177308-0d34-0410-b5e6-96231b3b80d8
* Change the use_list to be a smallvector instead of a vector. This reducesChris Lattner2006-08-162-3/+4
| | | | | | | | isel time from 6.79s to 5.53s (22%) on kc++ with a release build on ppc. Go smallvector! :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29731 91177308-0d34-0410-b5e6-96231b3b80d8
* Use the appropriate typedefChris Lattner2006-08-161-2/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29730 91177308-0d34-0410-b5e6-96231b3b80d8
* Patches to correct several bugs in llvmc.Reid Spencer2006-08-164-7/+58
| | | | | | | Patches contributed by Bram Adams. Thanks Bram. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29729 91177308-0d34-0410-b5e6-96231b3b80d8
* Declare the callee saved regsRafael Espindola2006-08-166-14/+60
| | | | | | | | Remove the hard coded store and load of the link register Implement ARMFrameInfo git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29727 91177308-0d34-0410-b5e6-96231b3b80d8
* SelectNodeTo() may return a SDOperand that is different from the input.Evan Cheng2006-08-165-57/+37
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29726 91177308-0d34-0410-b5e6-96231b3b80d8
* RET_FLAG has an optional input flag, but it does not produce a flag result.Evan Cheng2006-08-161-8/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29725 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a thinko noticed by Chandler Carruth.Reid Spencer2006-08-161-2/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29724 91177308-0d34-0410-b5e6-96231b3b80d8
* add a way to have multiple modules in a JIT :)Chris Lattner2006-08-161-1/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29723 91177308-0d34-0410-b5e6-96231b3b80d8
* add a noteChris Lattner2006-08-161-0/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29722 91177308-0d34-0410-b5e6-96231b3b80d8
* initial changes to support JIT'ing from multiple module providers, implicitlyChris Lattner2006-08-165-66/+175
| | | | | | | linking the program on the fly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29721 91177308-0d34-0410-b5e6-96231b3b80d8
* Bugfixes for smallvector when the element size is small and N is small.Chris Lattner2006-08-161-4/+17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29720 91177308-0d34-0410-b5e6-96231b3b80d8