summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* SelectNodeTo() may return a SDOperand that is different from the input.Evan Cheng2006-08-165-57/+37
| | | | llvm-svn: 29726
* RET_FLAG has an optional input flag, but it does not produce a flag result.Evan Cheng2006-08-161-8/+2
| | | | llvm-svn: 29725
* Fix a thinko noticed by Chandler Carruth.Reid Spencer2006-08-161-2/+3
| | | | llvm-svn: 29724
* add a way to have multiple modules in a JIT :)Chris Lattner2006-08-161-1/+7
| | | | llvm-svn: 29723
* add a noteChris Lattner2006-08-161-0/+13
| | | | llvm-svn: 29722
* initial changes to support JIT'ing from multiple module providers, implicitlyChris Lattner2006-08-165-66/+175
| | | | | | linking the program on the fly. llvm-svn: 29721
* Bugfixes for smallvector when the element size is small and N is small.Chris Lattner2006-08-161-4/+17
| | | | llvm-svn: 29720
* Add a section on how to build an RPM package as an optional releaseReid Spencer2006-08-161-7/+23
| | | | | | activity. llvm-svn: 29719
* Add llvm.spec to the list of files to be configured.Reid Spencer2006-08-162-1/+7
| | | | | | Remove the search for etags. Nothing in LLVM uses it any more. llvm-svn: 29718
* Add .PHONY targets for building source and binary RPM packages. You canReid Spencer2006-08-161-0/+7
| | | | | | now just "make rpm" or "make srpm" and it will build them. llvm-svn: 29717
* Transform the LLVM RPM spec file to be a configured file. This allows usReid Spencer2006-08-161-16/+18
| | | | | | | | to automatically pick up the configured version number and other details. Also, update the contents of this script to allow building both a source and binary version of the RPM package. llvm-svn: 29716
* Fix PowerPC/2006-08-15-SelectionCrash.ll and simplify selection code.Chris Lattner2006-08-151-93/+63
| | | | llvm-svn: 29715
* New testcaseChris Lattner2006-08-151-0/+38
| | | | llvm-svn: 29714
* The generated runloop shouldn't require Select to update 'Result'. In factChris Lattner2006-08-151-3/+6
| | | | | | we'd like to remove result entirely. llvm-svn: 29713
* allow Select to return the node being selected if RAU isn't needed.Chris Lattner2006-08-151-1/+1
| | | | llvm-svn: 29712
OpenPOWER on IntegriCloud