Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | switch bugpoint and liblto to PassManagerBuilder. | Chris Lattner | 2011-05-22 | 1 | -12/+10 | |
| | | | | llvm-svn: 131821 | |||||
* | Have Program::Wait return -2 for crashed and timeouts instead of embedding | Andrew Trick | 2011-05-21 | 2 | -10/+5 | |
| | | | | | | info in the error message. Per Dan's request. llvm-svn: 131780 | |||||
* | Typo and missing checkin from r131186. | Andrew Trick | 2011-05-11 | 1 | -1/+1 | |
| | | | | llvm-svn: 131187 | |||||
* | Bugpoint support for miscompilations that result in a crash. | Andrew Trick | 2011-05-11 | 3 | -5/+20 | |
| | | | | | | | | | This change allows bugpoint to pinpoint the "opt" pass and bitcode segment responsible for a crash caused by miscompilation. At least it works well for me now, without having to create any custom execution wrappers. llvm-svn: 131186 | |||||
* | ADT/Triple: Move a variety of clients to using isOSDarwin() and isOSWindows() | Daniel Dunbar | 2011-04-19 | 1 | -3/+2 | |
| | | | | | | predicates. llvm-svn: 129816 | |||||
* | Fix whitespace. | Michael J. Spencer | 2011-03-31 | 2 | -23/+23 | |
| | | | | llvm-svn: 128631 | |||||
* | Switch FileRemover from PathV1 to V2. | Michael J. Spencer | 2011-03-31 | 4 | -9/+10 | |
| | | | | llvm-svn: 128630 | |||||
* | Remove PHINode::reserveOperandSpace(). Instead, add a parameter to | Jay Foad | 2011-03-30 | 1 | -2/+1 | |
| | | | | | | PHINode::Create() giving the (known or expected) number of operands. llvm-svn: 128537 | |||||
* | (Almost) always call reserveOperandSpace() on newly created PHINodes. | Jay Foad | 2011-03-30 | 1 | -0/+1 | |
| | | | | llvm-svn: 128535 | |||||
* | fit in 80 cols. | Chris Lattner | 2011-02-24 | 1 | -1/+2 | |
| | | | | llvm-svn: 126399 | |||||
* | Added bugpoint options: -compile-custom and -compile-command=... | Andrew Trick | 2011-02-08 | 3 | -30/+133 | |
| | | | | | | | | | I've been using this mode to narrow down llc unit tests. Example custom compile script: llc "$@" not pygrep.py 'mul\s+r([0-9]), r\1,' < bugpoint-test-program.s llvm-svn: 125096 | |||||
* | whitespace | Andrew Trick | 2011-02-08 | 2 | -12/+12 | |
| | | | | llvm-svn: 125095 | |||||
* | Disable debug mode. | Devang Patel | 2011-01-14 | 1 | -2/+2 | |
| | | | | llvm-svn: 123443 | |||||
* | Little help to debug the bugpoint itself. | Devang Patel | 2011-01-13 | 1 | -0/+12 | |
| | | | | | | Patch by Bob Wilson. llvm-svn: 123390 | |||||
* | Merge System into Support. | Michael J. Spencer | 2010-11-29 | 6 | -10/+10 | |
| | | | | llvm-svn: 120298 | |||||
* | Fix some places where error messages were being swallowed. | Dan Gohman | 2010-11-09 | 1 | -6/+7 | |
| | | | | llvm-svn: 118464 | |||||
* | Rename FindExecutable to PrependMainExecutablePath. | Mikhail Glushenkov | 2010-11-03 | 2 | -6/+7 | |
| | | | | | | Makes it more clear that it is just a path manipulation function. llvm-svn: 118174 | |||||
* | 80-col violations, trailing whitespace. | Mikhail Glushenkov | 2010-11-03 | 2 | -26/+27 | |
| | | | | llvm-svn: 118173 | |||||
* | Check for (unlikely) errors from FindExecutable. | Dan Gohman | 2010-10-29 | 1 | -1/+8 | |
| | | | | llvm-svn: 117658 | |||||
* | Fix these error messages to not mention PATH in cases where | Dan Gohman | 2010-10-29 | 1 | -6/+6 | |
| | | | | | | | PATH isn't actually searched, and to not mention the executable directory when it isn't actually searched. llvm-svn: 117657 | |||||
* | Delete this obsolete comment. | Dan Gohman | 2010-10-29 | 1 | -4/+0 | |
| | | | | llvm-svn: 117655 | |||||
* | Get rid of static constructors for pass registration. Instead, every pass ↵ | Owen Anderson | 2010-10-19 | 1 | -0/+13 | |
| | | | | | | | | | | | | | | | | | exposes an initializeMyPassFunction(), which must be called in the pass's constructor. This function uses static dependency declarations to recursively initialize the pass's dependencies. Clients that only create passes through the createFooPass() APIs will require no changes. Clients that want to use the CommandLine options for passes will need to manually call the appropriate initialization functions in PassInitialization.h before parsing commandline arguments. I have tested this with all standard configurations of clang and llvm-gcc on Darwin. It is possible that there are problems with the static dependencies that will only be visible with non-standard options. If you encounter any crash in pass registration/creation, please send the testcase to me directly. llvm-svn: 116820 | |||||
* | Be more consistent in using ValueToValueMapTy. | Rafael Espindola | 2010-10-13 | 4 | -14/+15 | |
| | | | | llvm-svn: 116387 | |||||
* | Move tool_output_file into its own file. | Dan Gohman | 2010-10-07 | 2 | -2/+2 | |
| | | | | llvm-svn: 115973 | |||||
* | Revert "CMake: Get rid of LLVMLibDeps.cmake and export the libraries normally." | Michael J. Spencer | 2010-09-13 | 1 | -10/+3 | |
| | | | | | | | | | | This reverts commit r113632 Conflicts: cmake/modules/AddLLVM.cmake llvm-svn: 113819 | |||||
* | CMake: Get rid of LLVMLibDeps.cmake and export the libraries normally. | Michael J. Spencer | 2010-09-10 | 1 | -3/+10 | |
| | | | | llvm-svn: 113632 | |||||
* | Make tool_output_file's raw_ostream instance a member variable instead | Dan Gohman | 2010-09-01 | 2 | -13/+13 | |
| | | | | | | | | | | of a base class. This makes it possible to unregister the file from FilesToRemove when the file is done. Also, this eliminates the need for formatted_tool_output_file. llvm-svn: 112706 | |||||
* | Straighten out any triple strings passed on the command line before | Duncan Sands | 2010-08-28 | 1 | -2/+2 | |
| | | | | | | they hit the rest of the system. llvm-svn: 112344 | |||||
* | Apply "Win32's Hybrid path separator in argv[0] should be accepted to bugpoint", | Chris Lattner | 2010-08-24 | 1 | -10/+3 | |
| | | | | | | patch by NAKAMURA Takumi! llvm-svn: 111929 | |||||
* | Convert tools to use tool_output_file, and introduce error | Dan Gohman | 2010-08-20 | 2 | -9/+29 | |
| | | | | | | checking to places which previously lacked it. llvm-svn: 111651 | |||||
* | Use RunPassesOn as in the rest of bugpoint. | Rafael Espindola | 2010-08-10 | 3 | -26/+34 | |
| | | | | llvm-svn: 110682 | |||||
* | Add a opt-args option that can be used to pass arguments to every opt | Rafael Espindola | 2010-08-08 | 1 | -0/+6 | |
| | | | | | | | | invocation. Fixes PR7793: bugpoint -debug test.ll --opt-args -unroll-count=4 llvm-svn: 110555 | |||||
* | Most of bugpoint now only needs to know the pass names. | Rafael Espindola | 2010-08-08 | 8 | -46/+44 | |
| | | | | llvm-svn: 110534 | |||||
* | Try to fix cmake build. | Rafael Espindola | 2010-08-08 | 1 | -1/+0 | |
| | | | | llvm-svn: 110528 | |||||
* | Run opt instead of bugpoint itself. | Rafael Espindola | 2010-08-07 | 4 | -64/+26 | |
| | | | | llvm-svn: 110524 | |||||
* | Move the bugpoint test passes to a plugin in preparation for having bugpoint | Rafael Espindola | 2010-08-07 | 1 | -75/+0 | |
| | | | | | | use opt. llvm-svn: 110520 | |||||
* | Reapply r110396, with fixes to appease the Linux buildbot gods. | Owen Anderson | 2010-08-06 | 3 | -4/+6 | |
| | | | | llvm-svn: 110460 | |||||
* | Revert r110396 to fix buildbots. | Owen Anderson | 2010-08-06 | 3 | -6/+4 | |
| | | | | llvm-svn: 110410 | |||||
* | Don't use PassInfo* as a type identifier for passes. Instead, use the ↵ | Owen Anderson | 2010-08-05 | 3 | -4/+6 | |
| | | | | | | | | address of the static ID member as the sole unique type identifier. Clean up APIs related to this change. llvm-svn: 110396 | |||||
* | Revert bugpoint change due to buildbot breakage. | Bob Wilson | 2010-08-05 | 4 | -26/+64 | |
| | | | | | | | | | | --- Reverse-merging r110333 into '.': U tools/bugpoint/BugDriver.h U tools/bugpoint/OptimizerDriver.cpp U tools/bugpoint/bugpoint.cpp U tools/bugpoint/BugDriver.cpp llvm-svn: 110341 | |||||
* | Run opt instead of bugpoint itself. | Rafael Espindola | 2010-08-05 | 4 | -64/+26 | |
| | | | | | | Fixes PR753. llvm-svn: 110333 | |||||
* | Add const to compileProgram and to the various test functions in CrashDebugger. | Rafael Espindola | 2010-08-05 | 3 | -14/+16 | |
| | | | | llvm-svn: 110306 | |||||
* | Add a Module argument to the remaining runPasses methods and mark getContext | Rafael Espindola | 2010-08-05 | 3 | -11/+8 | |
| | | | | | | const. llvm-svn: 110300 | |||||
* | Make EmitProgressBitcode const and add a Module argument to runPasses. Use | Rafael Espindola | 2010-08-05 | 5 | -18/+19 | |
| | | | | | | that argument to simplify runPassesOn. llvm-svn: 110291 | |||||
* | Add const to some methods and change TestMergedProgram to return the merged | Rafael Espindola | 2010-07-31 | 3 | -23/+32 | |
| | | | | | | module and take a const BugDriver. llvm-svn: 109951 | |||||
* | The BlockExtractorPass() constructor was not reading the BlockFile and that was | Rafael Espindola | 2010-07-31 | 1 | -2/+1 | |
| | | | | | | | | | | | | | | exactly what bugpoint expected it to do. There was also only one user of BlockExtractorPass(const std::vector<BasicBlock*> &B), so just remove it and make BlockExtractorPass read BlockFile. This fixes bugpoint's block extraction. Nick, please review. llvm-svn: 109936 | |||||
* | Add a Program argument to diffProgram to avoid a use of swapProgramIn. | Rafael Espindola | 2010-07-30 | 5 | -22/+32 | |
| | | | | llvm-svn: 109859 | |||||
* | Do not pass a copy of the value map, pass a reference to it. | Duncan Sands | 2010-07-30 | 1 | -1/+1 | |
| | | | | llvm-svn: 109852 | |||||
* | Make the test while reducing blocks functional. This avoids accessing freed | Rafael Espindola | 2010-07-29 | 1 | -4/+22 | |
| | | | | | | memory when one of the original BB is destroyed. llvm-svn: 109747 | |||||
* | Use the right gcc tool args for IsARMArchitecture. | Jakob Stoklund Olesen | 2010-07-29 | 1 | -3/+3 | |
| | | | | llvm-svn: 109714 |