summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* For PR797:Reid Spencer2006-08-214-54/+126
| | | | | | | Remove all exception code from Program.inc and implement its new interface with an ErrMsg string argument. llvm-svn: 29790
* For PR797:Reid Spencer2006-08-211-8/+10
| | | | | | Change interface for error recovery without exceptions. llvm-svn: 29789
* Fix the documentation for this file.Reid Spencer2006-08-211-3/+3
| | | | llvm-svn: 29788
* For PR885:Reid Spencer2006-08-214-68/+31
| | | | | | | Consolidate the LinkAllAnalyses.h and LinkAllPasses.h headers into one so there is no dupliation. llvm-svn: 29787
* Fix a build failureNate Begeman2006-08-211-1/+1
| | | | llvm-svn: 29786
* For PR797:Reid Spencer2006-08-218-8/+12
| | | | | | | | Make sys::Program::ExecuteAndWait not throw exceptions and update any affected code. It now return -9999 to signal that the program couldn't be executed. Only one case (in bugpoint) actually examines the result code. llvm-svn: 29785
* Minor technical correction in documentation.Reid Spencer2006-08-211-1/+1
| | | | llvm-svn: 29784
* 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. llvm-svn: 29783
* 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. llvm-svn: 29782
* 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. llvm-svn: 29781
* call computeRegisterPropertiesRafael Espindola2006-08-201-0/+6
| | | | llvm-svn: 29780
* vpkuwus didn't work, due to this typoChris Lattner2006-08-181-1/+1
| | | | llvm-svn: 29776
* 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. llvm-svn: 29772
* regenerateChris Lattner2006-08-184-3844/+2881
| | | | llvm-svn: 29771
* trivial optimizationChris Lattner2006-08-181-1/+4
| | | | llvm-svn: 29770
* Add a comment about the mechanisms used to rid AsmParser of exceptions.Reid Spencer2006-08-184-214/+244
| | | | llvm-svn: 29769
* 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. llvm-svn: 29768
* 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. llvm-svn: 29767
* For PR797:Reid Spencer2006-08-183-4/+7
| | | | | | Update to reflect ParseException becoming ParseError (from Parser.h) llvm-svn: 29766
* Fix a grammaro in a comment.Reid Spencer2006-08-181-1/+1
| | | | llvm-svn: 29765
* 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) llvm-svn: 29764
* 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. llvm-svn: 29763
* For PR872:Reid Spencer2006-08-1841-251/+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. llvm-svn: 29762
* Temporarily xfail this test, evan will look at it in a week or so.Chris Lattner2006-08-181-0/+1
| | | | llvm-svn: 29760
* 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. llvm-svn: 29757
* Constify some methods. Patch provided by Anton Vayvod, thanks!Chris Lattner2006-08-1711-37/+42
| | | | llvm-svn: 29756
* fit in 80 colsChris Lattner2006-08-171-1/+2
| | | | llvm-svn: 29754
* minor cleanupsChris Lattner2006-08-171-20/+16
| | | | llvm-svn: 29753
* Revert this patch, the front-end has been fixed to make it unneccesary.Chris Lattner2006-08-171-15/+0
| | | | llvm-svn: 29752
* 'g' is handled by the front-end.Chris Lattner2006-08-171-4/+0
| | | | llvm-svn: 29751
* Fix handling of 'g'. Closes 883Andrew Lenharth2006-08-171-0/+4
| | | | llvm-svn: 29750
* add a "load effective address"Rafael Espindola2006-08-175-10/+48
| | | | llvm-svn: 29748
* Add the 'c' constraint as needed by the linux kernelAndrew Lenharth2006-08-171-2/+7
| | | | llvm-svn: 29747
* Add support for S and D constraints, as needed to compile the linux kernel.Andrew Lenharth2006-08-171-0/+10
| | | | llvm-svn: 29746
* Fix validation problemChris Lattner2006-08-171-2/+2
| | | | llvm-svn: 29745
* remove IRC transcript. Anything still misunderstood after the faq is readChris Lattner2006-08-171-326/+0
| | | | | | can be added to the faq. llvm-svn: 29744
* 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. llvm-svn: 29743
* Another cyclic dag test case.Evan Cheng2006-08-171-0/+23
| | | | llvm-svn: 29742
* Doh. Incorrectly inverted condition. Also add a isOnlyUse check to match ↵Evan Cheng2006-08-161-1/+2
| | | | | | tablegen. llvm-svn: 29741
* minor changes.Chris Lattner2006-08-162-22/+24
| | | | llvm-svn: 29740
* add an accessorChris Lattner2006-08-161-0/+2
| | | | llvm-svn: 29739
* My last commit added some experimental features I have been working on. This ↵Patrick Jenkins2006-08-161-18/+19
| | | | | | commit rolls those back. llvm-svn: 29738
* Changed the call to countloc.sh so that the correct topdirectory of the llvm ↵Patrick Jenkins2006-08-161-20/+19
| | | | | | build is set. llvm-svn: 29736
* Convert vector to smallvector: 4% speedup.Chris Lattner2006-08-161-1/+1
| | | | llvm-svn: 29735
* silence a warning.Chris Lattner2006-08-161-0/+1
| | | | llvm-svn: 29734
* Added my home web page.Bill Wendling2006-08-161-1/+1
| | | | llvm-svn: 29732
* 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! :) llvm-svn: 29731
* Use the appropriate typedefChris Lattner2006-08-161-2/+1
| | | | llvm-svn: 29730
* Patches to correct several bugs in llvmc.Reid Spencer2006-08-164-7/+58
| | | | | | Patches contributed by Bram Adams. Thanks Bram. llvm-svn: 29729
* Declare the callee saved regsRafael Espindola2006-08-166-14/+60
| | | | | | | Remove the hard coded store and load of the link register Implement ARMFrameInfo llvm-svn: 29727
OpenPOWER on IntegriCloud