- Aug 21, 2006
-
-
Reid Spencer authored
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
-
Reid Spencer authored
Remove all exception code from Program.inc and implement its new interface with an ErrMsg string argument. llvm-svn: 29790
-
Reid Spencer authored
Change interface for error recovery without exceptions. llvm-svn: 29789
-
Reid Spencer authored
llvm-svn: 29788
-
Reid Spencer authored
Consolidate the LinkAllAnalyses.h and LinkAllPasses.h headers into one so there is no dupliation. llvm-svn: 29787
-
Nate Begeman authored
llvm-svn: 29786
-
Reid Spencer authored
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
-
Reid Spencer authored
llvm-svn: 29784
-
- Aug 20, 2006
-
-
Reid Spencer authored
when the verify-each option is given. llvm-svn: 29783
-
Reid Spencer authored
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
-
Reid Spencer authored
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
-
Rafael Espindola authored
llvm-svn: 29780
-
- Aug 18, 2006
-
-
Chris Lattner authored
llvm-svn: 29776
-
Patrick Jenkins authored
and bring the handing of dejagnu tests into compliance with this new scheme. llvm-svn: 29772
-
Chris Lattner authored
llvm-svn: 29771
-
Chris Lattner authored
llvm-svn: 29770
-
Reid Spencer authored
llvm-svn: 29769
-
Reid Spencer authored
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
-
Reid Spencer authored
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
-
Reid Spencer authored
Update to reflect ParseException becoming ParseError (from Parser.h) llvm-svn: 29766
-
Reid Spencer authored
llvm-svn: 29765
-
Reid Spencer authored
specification can't be handled by llvmc (= confuses it) llvm-svn: 29764
-
Reid Spencer authored
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
-
Reid Spencer authored
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
-
Chris Lattner authored
llvm-svn: 29760
-
Patrick Jenkins authored
Changing the format dejagnu tests are submitted. We used to only submit 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
-
Chris Lattner authored
llvm-svn: 29756
-
- Aug 17, 2006
-
-
Chris Lattner authored
llvm-svn: 29754
-
Chris Lattner authored
llvm-svn: 29753
-
Chris Lattner authored
llvm-svn: 29752
-
Chris Lattner authored
llvm-svn: 29751
-
Andrew Lenharth authored
llvm-svn: 29750
-
Rafael Espindola authored
llvm-svn: 29748
-
Andrew Lenharth authored
llvm-svn: 29747
-
Andrew Lenharth authored
llvm-svn: 29746
-
Chris Lattner authored
llvm-svn: 29745
-
Chris Lattner authored
can be added to the faq. llvm-svn: 29744
-
Chris Lattner authored
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
-
Evan Cheng authored
llvm-svn: 29742
-
Evan Cheng authored
llvm-svn: 29741
-