summaryrefslogtreecommitdiffstats
path: root/llvm/tools/bugpoint/OptimizerDriver.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Fixed misspelling.Misha Brukman2003-07-211-1/+1
| | | | llvm-svn: 7223
* Give better information about how the passes crashChris Lattner2003-06-021-2/+17
| | | | llvm-svn: 6532
* Make sure to create a target data that matches the Module's target properties.Chris Lattner2003-04-241-0/+3
| | | | llvm-svn: 5904
* Remove support for "target data" pass ctorsChris Lattner2003-04-241-5/+0
| | | | llvm-svn: 5900
* Implement support for bugpoint to identify which FUNCTION an optimizationChris Lattner2003-04-241-4/+8
| | | | | | is miscompiling. llvm-svn: 5893
* Allow creating of passes like levelraise which use a targetdata ctorChris Lattner2003-01-221-0/+5
| | | | llvm-svn: 5403
* Implement the start of the miscompilation detection stuffChris Lattner2002-12-231-26/+9
| | | | llvm-svn: 5119
* Initial checkin of bugpointChris Lattner2002-11-201-0/+150
llvm-svn: 4789
OpenPOWER on IntegriCloud