Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Run opt instead of bugpoint itself. | Rafael Espindola | 2010-08-07 | 4 | -64/+26 | |
| | | | | llvm-svn: 110524 | |||||
* | Another missing file :-( | Rafael Espindola | 2010-08-07 | 1 | -0/+0 | |
| | | | | llvm-svn: 110522 | |||||
* | Add missing file. | Rafael Espindola | 2010-08-07 | 1 | -0/+23 | |
| | | | | llvm-svn: 110521 | |||||
* | Move the bugpoint test passes to a plugin in preparation for having bugpoint | Rafael Espindola | 2010-08-07 | 2 | -1/+1 | |
| | | | | | | use opt. llvm-svn: 110520 | |||||
* | llc: Clarify -mc-relax-all description. | Michael J. Spencer | 2010-08-06 | 1 | -1/+3 | |
| | | | | llvm-svn: 110477 | |||||
* | Reapply r110396, with fixes to appease the Linux buildbot gods. | Owen Anderson | 2010-08-06 | 8 | -26/+31 | |
| | | | | llvm-svn: 110460 | |||||
* | Revert r110396 to fix buildbots. | Owen Anderson | 2010-08-06 | 8 | -31/+26 | |
| | | | | llvm-svn: 110410 | |||||
* | Don't use PassInfo* as a type identifier for passes. Instead, use the ↵ | Owen Anderson | 2010-08-05 | 8 | -26/+31 | |
| | | | | | | | | 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 | |||||
* | build: Don't pass -avoid-version or -no-undefined on Darwin, they don't do | Daniel Dunbar | 2010-07-31 | 3 | -5/+2 | |
| | | | | | | anything. llvm-svn: 109957 | |||||
* | llc: Add -mc-relax-all. | Michael J. Spencer | 2010-07-31 | 1 | -0/+11 | |
| | | | | llvm-svn: 109954 | |||||
* | 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 | |||||
* | Transcribe IRC to svn. Also don't print basic block names twice if they match. | John McCall | 2010-07-29 | 1 | -9/+19 | |
| | | | | llvm-svn: 109787 | |||||
* | Make the header self-contained and follow #include guidelines. | John McCall | 2010-07-29 | 3 | -43/+52 | |
| | | | | llvm-svn: 109774 | |||||
* | Switch to using the LLVM CommandLine library so that our help | John McCall | 2010-07-29 | 1 | -39/+31 | |
| | | | | | | | message is properly contaminated with nonsense about timing passes that doesn't apply at all to this utility. :) llvm-svn: 109769 | |||||
* | Plug the remaining MC leaks by giving MCObjectStreamer/MCAsmStreamer ↵ | Benjamin Kramer | 2010-07-29 | 1 | -7/+6 | |
| | | | | | | ownership of the TargetAsmBackend and the MCCodeEmitter. llvm-svn: 109767 | |||||
* | 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 | |||||
* | Centralize the logic to permanently unify two instructions and make sure | John McCall | 2010-07-29 | 1 | -20/+30 | |
| | | | | | | | it establishes a context and does a complaining diff. Also make sure we unify the prelude and postlude of a diff after a block-diff call. llvm-svn: 109744 | |||||
* | Diagnose non-structural differences in the case where blocks were | John McCall | 2010-07-29 | 1 | -5/+16 | |
| | | | | | | structurally identical. llvm-svn: 109743 | |||||
* | When unifying instructions during a block diff, actually complain about | John McCall | 2010-07-29 | 1 | -1/+1 | |
| | | | | | | | | any differences we see. This should only happen if there are "non-structural" differences between the instructions, i.e. differences which wouldn't cause diff to return true. llvm-svn: 109742 | |||||
* | Somehow I was getting reasonable results for the test cases I was interested | John McCall | 2010-07-29 | 1 | -14/+38 | |
| | | | | | | | | | | | in despite not ever incrementing any path costs, so that the only nonzero costs arose from the all-left path in the first column. Anyway. Perform the diff starting from the beginning of the block to avoid capturing (say) loads of allocas. Vastly improves diff results on code that hasn't been mem2reg'ed. llvm-svn: 109741 | |||||
* | Cache the result of errs() and implement formatted logging. | John McCall | 2010-07-29 | 2 | -37/+58 | |
| | | | | llvm-svn: 109740 | |||||
* | Add the llvm-diff tool, which performs a relatively naive structural | John McCall | 2010-07-29 | 5 | -0/+1095 | |
| | | | | | | | | | | | | diff of a function. There's a lot of cruft in the current version, and it's pretty far from perfect, but it's usable. Currently only capable of comparing functions. Currently ignores metadata. Currently ignores most attributes of functions and instructions. Patches welcome. llvm-svn: 109739 | |||||
* | Use the right gcc tool args for IsARMArchitecture. | Jakob Stoklund Olesen | 2010-07-29 | 1 | -3/+3 | |
| | | | | llvm-svn: 109714 | |||||
* | simplify by using CallSite constructors; virtually eliminates CallSite::get ↵ | Gabor Greif | 2010-07-28 | 1 | -2/+2 | |
| | | | | | | from the tree llvm-svn: 109687 | |||||
* | Instead of abusing swapProgramIn, just add a Module argument to | Rafael Espindola | 2010-07-28 | 5 | -36/+28 | |
| | | | | | | EmitProgressBitcode. llvm-svn: 109602 | |||||
* | Clone and restore the module being reduced in | Rafael Espindola | 2010-07-26 | 1 | -6/+27 | |
| | | | | | | | | | | | ReduceMiscompilingFunctions::TestFuncs. This makes the test functional (i.e., no side effects). Before we would end up using dead functions if a pass decided to remove them (inline for example) and we would also keep broken functions and conclude that that a single function was enough to reproduce the bug. llvm-svn: 109387 | |||||
* | Revert unintended white space change. | Rafael Espindola | 2010-07-24 | 1 | -1/+1 | |
| | | | | llvm-svn: 109364 | |||||
* | Fix a trivial use after free. | Rafael Espindola | 2010-07-24 | 1 | -2/+6 | |
| | | | | llvm-svn: 109363 | |||||
* | Get rid of exceptions in llvmc. | Mikhail Glushenkov | 2010-07-23 | 1 | -1/+0 | |
| | | | | | | llvmc can be now compiled with llvm-gcc on Windows. llvm-svn: 109215 | |||||
* | there is now no reason to link in TARGETS_TO_BUILD since we list | Chris Lattner | 2010-07-20 | 1 | -1/+1 | |
| | | | | | | | | | arm explicitly. X86 and ARM are the only two targets that support disassembly, so our explicit list is enough. These other targets weren't getting pulled in anyway though, since there were no references to their symbols. llvm-svn: 108934 | |||||
* | fix edis to only try to link in the x86 parts if the x86 backend is | Chris Lattner | 2010-07-20 | 1 | -1/+11 | |
| | | | | | | enabled. Add direct ARM support. llvm-svn: 108933 | |||||
* | Fix edis makefile | Douglas Gregor | 2010-07-20 | 1 | -0/+1 | |
| | | | | llvm-svn: 108931 | |||||
* | fix DISABLE_EDIS | Chris Lattner | 2010-07-20 | 1 | -2/+2 | |
| | | | | llvm-svn: 108925 | |||||
* | this logic is handled by tools/makefile. | Chris Lattner | 2010-07-20 | 1 | -9/+2 | |
| | | | | llvm-svn: 108919 | |||||
* | edis needs to link in mcdisassembler. | Chris Lattner | 2010-07-20 | 1 | -1/+1 | |
| | | | | llvm-svn: 108876 | |||||
* | update cmake. | Chris Lattner | 2010-07-20 | 1 | -13/+0 | |
| | | | | llvm-svn: 108875 | |||||
* | edinfo doesn't need to be built here. | Chris Lattner | 2010-07-20 | 2 | -9/+0 | |
| | | | | llvm-svn: 108873 | |||||
* | start straightening out libedis's dependencies and make it fit | Chris Lattner | 2010-07-20 | 13 | -1930/+146 | |
| | | | | | | | | | | | | | | | | better in the llvm world. Among other things, this changes: 1. The guts of libedis are now moved into lib/MC/MCDisassembler 2. llvm-mc now depends on lib/MC/MCDisassembler, not tools/edis, so edis and mc don't have to be built in series. 3. lib/MC/MCDisassembler no longer depends on the C api, the C API depends on it. 4. Various code cleanup changes. There is still a lot to be done to make edis fit with the llvm design, but this is an incremental step in the right direction. llvm-svn: 108869 | |||||
* | Speculatively revert r108813, in an attempt to get the self-host buildbots ↵ | Owen Anderson | 2010-07-20 | 8 | -37/+34 | |
| | | | | | | | | working again. I don't see why this patch would cause them to fail the way they are, but none of the other intervening patches seem likely either. llvm-svn: 108818 | |||||
* | Reapply r108794, a fix for the failing test from last time. | Owen Anderson | 2010-07-20 | 8 | -34/+37 | |
| | | | | llvm-svn: 108813 | |||||
* | Revert r108794, "Separate PassInfo into two classes: a constructor-free | Daniel Dunbar | 2010-07-20 | 8 | -37/+34 | |
| | | | | | | | superclass (StaticPassInfo) and a constructor-ful subclass (PassInfo).", it is breaking teh everything. llvm-svn: 108805 | |||||
* | Separate PassInfo into two classes: a constructor-free superclass ↵ | Owen Anderson | 2010-07-20 | 8 | -34/+37 | |
| | | | | | | (StaticPassInfo) and a constructor-ful subclass (PassInfo). llvm-svn: 108794 |