summaryrefslogtreecommitdiffstats
path: root/llvm/tools/opt
Commit message (Collapse)AuthorAgeFilesLines
...
* Replacing std::iostreams with llvm iostreams. Some of these changes involveBill Wendling2006-11-291-2/+5
| | | | | | | adding a temporary wrapper around the ostream to make it friendly to functions expecting an LLVM stream. This should be fixed in the future. llvm-svn: 31990
* Convert to using llvm streams instead of iostreams.Bill Wendling2006-11-281-15/+16
| | | | llvm-svn: 31989
* Need iostream to be included for the time being.Bill Wendling2006-11-171-0/+1
| | | | llvm-svn: 31820
* For PR786:Reid Spencer2006-11-021-3/+2
| | | | | | | | | | Turn on -Wunused and -Wno-unused-parameter. Clean up most of the resulting fall out by removing unused variables. Remaining warnings have to do with unused functions (I didn't want to delete code without review) and unused variables in generated code. Maintainers should clean up the remaining issues when they see them. All changes pass DejaGnu tests and Olden. llvm-svn: 31380
* Use LINK_COMPONENTS to specify *components* to link against instead ofChris Lattner2006-09-041-4/+2
| | | | | | using USED_LIBS to specify *libraries* to link against. llvm-svn: 30090
* Add a --disable-compression option like llvm-link/llvm-as etc haveChris Lattner2006-08-281-1/+3
| | | | llvm-svn: 29941
* For PR387:Reid Spencer2006-08-281-0/+1
| | | | | | | Close out this long standing bug by removing the remaining overloaded virtual functions in LLVM. The -Woverloaded-virtual option is now turned on. llvm-svn: 29934
* -analyze mode shouldn't output a .bc file.Chris Lattner2006-08-271-2/+1
| | | | llvm-svn: 29923
* Eliminate RegisterAnalysis. RegisterPass now does all that is necessary.Chris Lattner2006-08-273-6/+6
| | | | llvm-svn: 29921
* Merge the 'analyze' mode code with the 'opt' mode code. Eliminate theChris Lattner2006-08-272-76/+26
| | | | | | 'autodetect .ll files' functionality. llvm-svn: 29915
* For PR885:Reid Spencer2006-08-211-1/+1
| | | | | | | 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-211-2/+1
| | | | | | | | 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
* For PR797:Reid Spencer2006-08-181-9/+5
| | | | | | | | | | | | | 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-185-7/+414
| | | | | | | | | | | | | | | | | | | | 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
* Tools require EH for their top-level try blocks.Chris Lattner2006-07-071-0/+1
| | | | llvm-svn: 29035
* Don't pass target name into TargetData anymore, it is never used or needed.Chris Lattner2006-06-161-1/+1
| | | | llvm-svn: 28831
* For PR780:Reid Spencer2006-06-071-0/+1
| | | | | | | | | 1. Add #includes to LinkAllVMCore.h to get Mangler.o and InlineAsm.o 2. Make Mangler.h and InlineAsm.h use the macros to ensure linkage 3. Make each of the tools with --load options include LinkAllVMCore.h This should be the last set of changes for this bug and 800. llvm-svn: 28719
* Use archive libraries instead of object files for VMCore, BCReader,Reid Spencer2006-06-011-3/+3
| | | | | | | BCWriter, and bzip2 libraries. Adjust the various makefiles to accommodate these changes. This was done to speed up link times. llvm-svn: 28610
* Refactor a bunch of includes so that TargetMachine.h doesn't have to includeOwen Anderson2006-05-121-0/+1
| | | | | | | TargetData.h. This should make recompiles a bit faster with my current TargetData tinkering. llvm-svn: 28238
* reorder some librariesChris Lattner2006-02-221-1/+1
| | | | llvm-svn: 26309
* Move some constant folding code shared by Analysis and Transform passesJohn Criswell2005-10-271-1/+1
| | | | | | | | into the LLVMAnalysis library. This allows LLVMTranform and LLVMTransformUtils to be archives and linked with LLVMAnalysis.a, which provides any missing definitions. llvm-svn: 24036
* 1. Remove libraries no longer created from the list of libraries linked into theJohn Criswell2005-10-261-1/+1
| | | | | | | | | | SparcV9 JIT. 2. Make LLVMTransformUtils a relinked object file and always link it before LLVMAnalysis.a. These two libraries have circular dependencies on each other which creates problem when building the SparcV9 JIT. This change fixes the dependency on all platforms problems with a minimum of fuss. llvm-svn: 24023
* Remove a now-unneeded libraryChris Lattner2005-10-241-1/+1
| | | | llvm-svn: 23942
* Use archive versions of these libraries, using the LinkAllPasses header.Chris Lattner2005-10-241-3/+3
| | | | llvm-svn: 23916
* Two changes:Reid Spencer2005-04-221-2/+0
| | | | | | | | | | | | 1. Get rid of TOOLLINKOPTS as it is a hold over from llvm-test and only used to communicate additional libraries to the linker. The *standard* way to do that is with the LIBS variable which this change supports. 2. Allow the TARGETS_TO_BUILD variable to be set from the configuration substitution. This is the result of the --enable-target= parameter to the configure script. llvm-svn: 21449
* Remove trailing whitespaceMisha Brukman2005-04-221-3/+3
| | | | llvm-svn: 21428
* Use binary mode for reading/writing bytecode filesJeff Cohen2005-01-221-3/+6
| | | | llvm-svn: 19751
* Get the #ifdef right on LinkAllPasses.h.Jeff Cohen2005-01-061-1/+0
| | | | llvm-svn: 19310
* Fix minor mistakesJeff Cohen2005-01-061-0/+1
| | | | llvm-svn: 19309
* Add project opt to Visual Studio.Jeff Cohen2005-01-061-0/+1
| | | | llvm-svn: 19307
* Make opt honor the quiet option when printing the bytecode warning.Reid Spencer2005-01-051-1/+1
| | | | llvm-svn: 19294
* Move the code for printing out a warning about bytecode output to a consoleReid Spencer2005-01-011-7/+1
| | | | | | into lib/Support so it can be used with other tools. llvm-svn: 19238
* For PR351:Reid Spencer2004-12-301-86/+93
| | | | | | | | | | * Place a try/catch block around the entire tool to Make sure std::string exceptions are caught and printed before exiting the tool. * Make sure we catch unhandled exceptions at the top level so that we don't abort with a useless message but indicate than an unhandled exception was generated. llvm-svn: 19192
* Add LLVMbzip2 library, now required.Reid Spencer2004-11-251-1/+1
| | | | llvm-svn: 18255
* Fix usage of changed function prototypeReid Spencer2004-11-141-1/+1
| | | | llvm-svn: 17798
* Change Library Names Not To Conflict With Others When InstalledReid Spencer2004-10-271-4/+5
| | | | llvm-svn: 17286
* We're not doing automake any moreReid Spencer2004-10-221-656/+0
| | | | llvm-svn: 17168
* We won't use automakeReid Spencer2004-10-221-21/+0
| | | | llvm-svn: 17155
* Initial automake generated Makefile templateReid Spencer2004-10-181-0/+656
| | | | llvm-svn: 17136
* Fix hyphenation and quoting style for great justiceMisha Brukman2004-10-151-1/+1
| | | | llvm-svn: 17024
* Update to reflect changes in Makefile rules.Reid Spencer2004-10-131-1/+1
| | | | llvm-svn: 16950
* Initial version of automake Makefile.am file.Reid Spencer2004-10-101-0/+21
| | | | llvm-svn: 16894
* Changes For Bug 352Reid Spencer2004-09-011-2/+2
| | | | | | | | Move include/Config and include/Support into include/llvm/Config, include/llvm/ADT and include/llvm/Support. From here on out, all LLVM public header files must be under include/llvm/. llvm-svn: 16137
* Add the LLVMsystem.a library as it is now used for operating systemReid Spencer2004-08-291-1/+1
| | | | | | independence of the tool. llvm-svn: 16092
* The functions in Signal.h are now in the llvm::sys namespace - adjustReid Spencer2004-08-291-2/+2
| | | | llvm-svn: 16091
* Prune unused #includeChris Lattner2004-07-111-1/+0
| | | | llvm-svn: 14753
* Add -load optionChris Lattner2004-07-111-0/+1
| | | | llvm-svn: 14740
* Make sure to link all IPA's into opt, so that it has access to stuff likeChris Lattner2004-06-251-1/+1
| | | | | | anders-aa llvm-svn: 14395
* Neuter the -q option. Stop printing the "program modified" message, everChris Lattner2004-05-271-3/+2
| | | | llvm-svn: 13844
OpenPOWER on IntegriCloud