summaryrefslogtreecommitdiffstats
path: root/llvm/tools/bugpoint/OptimizerDriver.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add -silence-passes option to bugpoint. This option suppresses output generatedMatthijs Kooijman2008-06-121-1/+8
| | | | | | when bugpoint is running passes in a child process. llvm-svn: 52234
* Detabify.Bill Wendling2008-02-261-1/+1
| | | | llvm-svn: 47596
* remove attributions from tools.Chris Lattner2007-12-291-2/+2
| | | | llvm-svn: 45421
* Allow the block extractor take to take a list of basic blocks to not extractNick Lewycky2007-11-141-4/+9
| | | | | | | | | from a file containing Function/BasicBlock pairings. This is not safe against anonymous or abnormally-named Funcs or BBs. Make bugpoint use this interface to pass the BBs list to the child bugpoint. llvm-svn: 44101
* Pretty straightforward replacement of "bytecode" by "bitcode"Gabor Greif2007-07-041-18/+18
| | | | | | performed on tools/ first, in order not to cause lethal damage llvm-svn: 37877
* Fix a buggy conversion from bytecode to bitcodeChris Lattner2007-05-061-1/+1
| | | | llvm-svn: 36883
* switch tools to bitcode from bytecodeChris Lattner2007-05-061-16/+4
| | | | llvm-svn: 36872
* add bitcode supportChris Lattner2007-05-061-1/+8
| | | | llvm-svn: 36849
* Add possibility to set memory limit for binaries run via libSystem. ThisAnton Korobeynikov2007-02-161-1/+2
| | | | | | is especially needed for bugpoint. This partly implements PR688 llvm-svn: 34349
* default to emiting an uncompressed .bc fileChris Lattner2007-01-211-1/+1
| | | | llvm-svn: 33420
* Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, areBill Wendling2006-12-071-26/+25
| | | | | | now cerr, cout, and NullStream resp. llvm-svn: 32298
* Replacing std::iostreams with llvm iostreams. Some of these changes involveBill Wendling2006-11-291-21/+25
| | | | | | | 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
* Fix --enable-valgrind. Add room for the new arguments, and don't keepNick Lewycky2006-09-141-3/+4
| | | | | | a pointer to a temporary. llvm-svn: 30312
* Add --enable-valgrind option to run optimizations through valgrind toNick Lewycky2006-09-141-3/+16
| | | | | | pick up on memory errors. llvm-svn: 30311
* analyze no longer exists, don't offer to run it :)Chris Lattner2006-08-271-12/+1
| | | | llvm-svn: 29919
* For PR797:Reid Spencer2006-08-231-3/+11
| | | | | | | Final removal of exceptions from lib/System and adjustment of users to accommodate. llvm-svn: 29846
* For PR797:Reid Spencer2006-08-211-5/+8
| | | | | | | | 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-211-0/+2
| | | | | | | | 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
* Don't pass target name into TargetData anymore, it is never used or needed.Chris Lattner2006-06-161-1/+1
| | | | llvm-svn: 28831
* Teach bugpoint to kill optimization passes that run over the timeout limit,Chris Lattner2006-06-131-1/+1
| | | | | | | which allows it to debug optimizer infinite loops. This patch is contributed by Nick Lewycky, thanks! llvm-svn: 28763
* Fix a bug found by inspection.Chris Lattner2006-05-141-1/+5
| | | | llvm-svn: 28297
* Pass plugins on to children when optimizing.Andrew Lenharth2006-01-261-1/+10
| | | | llvm-svn: 25650
* this doesn't work, remove itChris Lattner2006-01-231-2/+0
| | | | llvm-svn: 25518
* Get bugpoint building with VC++ again.Jeff Cohen2005-12-231-0/+1
| | | | llvm-svn: 24977
* For PR351:Reid Spencer2005-12-221-51/+59
| | | | | | | | | | | | Generally, remove use of fork/exec from bugpoint in favor of the portable sys::Program::ExecuteAndWait method. This change requires two new options to bugpoint to tell it that it is running in "child" mode. In this mode, it reads its input and runs the passes. The result code signals to the parent instance of bugpoint what happened (success, fail, crash). This change should make bugpoint usable on Win32 systems. llvm-svn: 24961
* Final Changes For PR495:Reid Spencer2005-07-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | This chagne just renames some sys::Path methods to ensure they are not misused. The Path documentation now divides methods into two dimensions: Path/Disk and accessor/mutator. Path accessors and mutators only operate on the Path object itself without making any disk accesses. Disk accessors and mutators will also access or modify the file system. Because of the potentially destructive nature of disk mutators, it was decided that all such methods should end in the work "Disk" to ensure the user recognizes that the change will occur on the file system. This patch makes that change. The method name changes are: makeReadable -> makeReadableOnDisk makeWriteable -> makeWriteableOnDisk makeExecutable -> makeExecutableOnDisk setStatusInfo -> setStatusInfoOnDisk createDirectory -> createDirectoryOnDisk createFile -> createFileOnDisk createTemporaryFile -> createTemporaryFileOnDisk destroy -> eraseFromDisk rename -> renamePathOnDisk These changes pass the Linux Deja Gnu tests. llvm-svn: 22354
* For PR495:Reid Spencer2005-07-071-2/+2
| | | | | | | | | | | | | | | | | | | | | Get rid of the difference between file paths and directory paths. The Path class now simply stores a path that can refer to either a file or a directory. This required various changes in the implementation and interface of the class with the corresponding impact to its users. Doxygen comments were also updated to reflect these changes. Interface changes are: appendDirectory -> appendComponent appendFile -> appendComponent elideDirectory -> eraseComponent elideFile -> eraseComponent elideSuffix -> eraseSuffix renameFile -> rename setDirectory -> set setFile -> set Changes pass Dejagnu and llvm-test/SingleSource tests. llvm-svn: 22349
* Eliminate tabs and trailing spacesJeff Cohen2005-04-221-2/+2
| | | | llvm-svn: 21441
* Remove trailing whitespaceMisha Brukman2005-04-221-3/+3
| | | | llvm-svn: 21428
* Get bugpoint compiling with VC++ again, not that it works anyway.Jeff Cohen2005-02-161-1/+3
| | | | llvm-svn: 20211
* oopsJeff Cohen2005-01-221-1/+1
| | | | llvm-svn: 19752
* Use binary mode for reading/writing bytecode filesJeff Cohen2005-01-221-3/+21
| | | | llvm-svn: 19751
* For PR351:Reid Spencer2004-12-161-2/+2
| | | | | | | | | | | * removeFile() -> sys::Path::destroyFile() * remove extraneous toString() calls * convert local variables representing path names from std::string to sys::Path * Use sys::Path objects with FileRemove instead of std::string * Use sys::Path methods for construction of path names llvm-svn: 19001
* For PR351:Reid Spencer2004-12-151-1/+4
| | | | | | * Convert use of getUniqueFilename to sys::Path::makeUnique(); llvm-svn: 18949
* Enable compression by default.Reid Spencer2004-11-071-1/+1
| | | | llvm-svn: 17566
* Changes For Bug 352Reid Spencer2004-09-011-1/+1
| | | | | | | | 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
* Don't leave dead bytecode.output files around if the optimizer/block ↵Chris Lattner2004-05-121-6/+5
| | | | | | extractor crashes. llvm-svn: 13477
* Fix a minor bug in runPassesOnChris Lattner2004-03-141-0/+1
| | | | llvm-svn: 12397
* Add a new "AutoDebugCrashes" optionChris Lattner2004-03-141-2/+12
| | | | llvm-svn: 12396
* Add new methodChris Lattner2004-03-141-0/+23
| | | | llvm-svn: 12394
* Don't crash if there are no passes in the PassesToRun listChris Lattner2004-02-181-1/+1
| | | | llvm-svn: 11612
* finegrainify namespacificationChris Lattner2004-01-141-3/+1
| | | | llvm-svn: 10839
* Put all LLVM code into the llvm namespace, as per bug 109.Brian Gaeke2003-11-111-0/+4
| | | | llvm-svn: 9903
* fix file headersChris Lattner2003-10-201-1/+0
| | | | llvm-svn: 9293
* Added copyright header to all C++ source files.John Criswell2003-10-201-0/+8
| | | | llvm-svn: 9291
* Don't include <stdlib.h>.Brian Gaeke2003-10-101-1/+0
| | | | llvm-svn: 9038
* Fix spelling.Misha Brukman2003-10-101-3/+3
| | | | llvm-svn: 9027
* File-related functions moved to FileUtilities.h .Misha Brukman2003-08-071-1/+1
| | | | llvm-svn: 7696
* Re-grouped and alphabetized headers for easier reading and cleaner style.Misha Brukman2003-08-071-4/+4
| | | | llvm-svn: 7689
* Moved SystemUtils.h to include/Support and SystemUtils.cpp to lib/Support.Misha Brukman2003-08-071-1/+1
| | | | llvm-svn: 7687
OpenPOWER on IntegriCloud