| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Remove all exception code from Program.inc and implement its new interface
with an ErrMsg string argument.
llvm-svn: 29790
|
| |
|
|
|
|
| |
Change interface for error recovery without exceptions.
llvm-svn: 29789
|
| |
|
|
| |
llvm-svn: 29788
|
| |
|
|
|
|
|
| |
Consolidate the LinkAllAnalyses.h and LinkAllPasses.h headers into one
so there is no dupliation.
llvm-svn: 29787
|
| |
|
|
| |
llvm-svn: 29786
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 29784
|
| |
|
|
|
|
| |
when the verify-each option is given.
llvm-svn: 29783
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 29780
|
| |
|
|
| |
llvm-svn: 29776
|
| |
|
|
|
|
| |
and bring the handing of dejagnu tests into compliance with this new scheme.
llvm-svn: 29772
|
| |
|
|
| |
llvm-svn: 29771
|
| |
|
|
| |
llvm-svn: 29770
|
| |
|
|
| |
llvm-svn: 29769
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
Update to reflect ParseException becoming ParseError (from Parser.h)
llvm-svn: 29766
|
| |
|
|
| |
llvm-svn: 29765
|
| |
|
|
|
|
| |
specification can't be handled by llvmc (= confuses it)
llvm-svn: 29764
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 29760
|
| |
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 29756
|
| |
|
|
| |
llvm-svn: 29754
|
| |
|
|
| |
llvm-svn: 29753
|
| |
|
|
| |
llvm-svn: 29752
|
| |
|
|
| |
llvm-svn: 29751
|
| |
|
|
| |
llvm-svn: 29750
|
| |
|
|
| |
llvm-svn: 29748
|
| |
|
|
| |
llvm-svn: 29747
|
| |
|
|
| |
llvm-svn: 29746
|
| |
|
|
| |
llvm-svn: 29745
|
| |
|
|
|
|
| |
can be added to the faq.
llvm-svn: 29744
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 29742
|
| |
|
|
|
|
| |
tablegen.
llvm-svn: 29741
|
| |
|
|
| |
llvm-svn: 29740
|
| |
|
|
| |
llvm-svn: 29739
|
| |
|
|
|
|
| |
commit rolls those back.
llvm-svn: 29738
|
| |
|
|
|
|
| |
build is set.
llvm-svn: 29736
|
| |
|
|
| |
llvm-svn: 29735
|
| |
|
|
| |
llvm-svn: 29734
|
| |
|
|
| |
llvm-svn: 29732
|
| |
|
|
|
|
|
| |
isel time from 6.79s to 5.53s (22%) on kc++ with a release build on ppc.
Go smallvector! :)
llvm-svn: 29731
|
| |
|
|
| |
llvm-svn: 29730
|
| |
|
|
|
|
| |
Patches contributed by Bram Adams. Thanks Bram.
llvm-svn: 29729
|
| |
|
|
|
|
|
| |
Remove the hard coded store and load of the link register
Implement ARMFrameInfo
llvm-svn: 29727
|