summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* Update for changes in Path class interface for exception removal.Reid Spencer2006-08-221-16/+6
| | | | llvm-svn: 29834
* Make the sys::Path::GetTemporaryDirectory method not throw exceptions andReid Spencer2006-08-221-23/+30
| | | | | | adjust users of it to compensate. llvm-svn: 29831
* Improve the LiveInterval class to keep track of which machine instructionChris Lattner2006-08-222-17/+40
| | | | | | | defines each value# tracked by the interval. This will be used to improve coallescing. llvm-svn: 29830
* Fix another occurrence of inverted logic on the result of MappedFile::mapReid Spencer2006-08-221-1/+1
| | | | llvm-svn: 29828
* Inverse the error check logic for the MappedFile::map() call. It returnsReid Spencer2006-08-221-1/+1
| | | | | | a null pointer when there is an error. llvm-svn: 29827
* Don't throw needlessly. Failure of gettimeofday is *very* unlinkely soReid Spencer2006-08-221-2/+7
| | | | | | just return MinTime if that should ever happen. llvm-svn: 29826
* For PR797:Reid Spencer2006-08-221-8/+16
| | | | | | | | Adjust the use of MappedFile to its new non-throwing interface. We just propagate the exceptions if an error occurs. This will get cleaned up later, incrementally. llvm-svn: 29820
* For PR797:Reid Spencer2006-08-222-118/+119
| | | | | | | | Make the Bytecode Reader use setjmp/longjump instead of exceptions to handle errors. The alternative was even uglier than setjmp/longjump as it would impact the interface and workings of nearly every function in the reader. llvm-svn: 29819
* For PR797:Reid Spencer2006-08-222-6/+19
| | | | | | | Adjust to new interface for MappedFile. Note that the new "throw" statements will be removed later. llvm-svn: 29818
* For PR797:Reid Spencer2006-08-222-7/+17
| | | | | | | | | | Adjust users of MappedFile to its new non-throwing interface. Note that in most cases the lazy step of just throwing after a call to MappedFile was installed. This was done in the name of incremental changes. Getting rid of the new throw statements will take adjustment of interfaces and propagation of errors to higher levels. Those changes will come in subsequent patches. llvm-svn: 29817
* For PR797:Reid Spencer2006-08-221-10/+15
| | | | | | Make MappedFile not throw any exceptions. llvm-svn: 29816
* For PR797:Reid Spencer2006-08-221-8/+13
| | | | | | | Fix a bug in my last patch that botched file redirection by using explicit scoping of if statements. llvm-svn: 29815
* add a README.txtRafael Espindola2006-08-221-0/+9
| | | | llvm-svn: 29814
* Make an error message a little more intelligible.Reid Spencer2006-08-221-1/+1
| | | | llvm-svn: 29808
* Print physreg names symbolically in dumpsChris Lattner2006-08-211-2/+3
| | | | llvm-svn: 29805
* Print debug info as:Chris Lattner2006-08-211-2/+5
| | | | | | | | | | | | | | | | *** Register mapping *** reg 1024 -> %reg1028 reg 1026 -> EAX reg 1027 -> %reg1028 instead of: *** Register mapping *** reg 1024 -> reg 1028 reg 1026 -> reg 15 reg 1027 -> reg 1028 llvm-svn: 29803
* initial support for selectRafael Espindola2006-08-213-1/+42
| | | | llvm-svn: 29802
* Adding C++ member support.Jim Laskey2006-08-212-62/+152
| | | | llvm-svn: 29799
* Adding new Dwarf constants.Jim Laskey2006-08-211-0/+1
| | | | llvm-svn: 29798
* Fix PR861Chris Lattner2006-08-211-0/+1
| | | | llvm-svn: 29796
* Fix PR885Chris Lattner2006-08-212-7/+6
| | | | llvm-svn: 29794
* add the and instructionRafael Espindola2006-08-211-0/+4
| | | | llvm-svn: 29793
* Added a check so that if we have two machine instructions in this formBill Wendling2006-08-211-10/+30
| | | | | | | | | MOV R0, R1 MOV R1, R0 the second machine instruction is removed. Added a regression test. llvm-svn: 29792
* For PR797:Reid Spencer2006-08-211-8/+10
| | | | | | | | Adjust usage of the ExecuteAndWait function to use the last argument which is the ErrMsg string. This is necessitated because this function no longer throws exceptions on error. llvm-svn: 29791
* 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-213-3/+5
| | | | | | | | 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
* call computeRegisterPropertiesRafael Espindola2006-08-201-0/+6
| | | | llvm-svn: 29780
* 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
* For PR797:Reid Spencer2006-08-181-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Fix a grammaro in a comment.Reid Spencer2006-08-181-1/+1
| | | | llvm-svn: 29765
* For PR797:Reid Spencer2006-08-189-3256/+4729
| | | | | | | | | | | | | 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
* Constify some methods. Patch provided by Anton Vayvod, thanks!Chris Lattner2006-08-179-35/+35
| | | | llvm-svn: 29756
* 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-174-10/+30
| | | | 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
* switch the SUnit pred/succ sets from being std::sets to being smallvectors.Chris Lattner2006-08-173-78/+82
| | | | | | | | 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
* 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
* Use the appropriate typedefChris Lattner2006-08-161-2/+1
| | | | llvm-svn: 29730
* 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-164-53/+36
| | | | 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
* add a noteChris Lattner2006-08-161-0/+13
| | | | llvm-svn: 29722
* initial changes to support JIT'ing from multiple module providers, implicitlyChris Lattner2006-08-164-60/+164
| | | | | | linking the program on the fly. llvm-svn: 29721
* Fix PowerPC/2006-08-15-SelectionCrash.ll and simplify selection code.Chris Lattner2006-08-151-93/+63
| | | | llvm-svn: 29715
OpenPOWER on IntegriCloud