Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Most of bugpoint now only needs to know the pass names. | Rafael Espindola | 2010-08-08 | 1 | -16/+9 | |
| | | | | llvm-svn: 110534 | |||||
* | Reapply r110396, with fixes to appease the Linux buildbot gods. | Owen Anderson | 2010-08-06 | 1 | -1/+2 | |
| | | | | llvm-svn: 110460 | |||||
* | Revert r110396 to fix buildbots. | Owen Anderson | 2010-08-06 | 1 | -2/+1 | |
| | | | | llvm-svn: 110410 | |||||
* | Don't use PassInfo* as a type identifier for passes. Instead, use the ↵ | Owen Anderson | 2010-08-05 | 1 | -1/+2 | |
| | | | | | | | | address of the static ID member as the sole unique type identifier. Clean up APIs related to this change. llvm-svn: 110396 | |||||
* | 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 | |||||
* | 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 | |||||
* | Instead of abusing swapProgramIn, just add a Module argument to | Rafael Espindola | 2010-07-28 | 1 | -12/+4 | |
| | | | | | | EmitProgressBitcode. llvm-svn: 109602 | |||||
* | Speculatively revert r108813, in an attempt to get the self-host buildbots ↵ | Owen Anderson | 2010-07-20 | 1 | -5/+5 | |
| | | | | | | | | 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 | 1 | -5/+5 | |
| | | | | llvm-svn: 108813 | |||||
* | Revert r108794, "Separate PassInfo into two classes: a constructor-free | Daniel Dunbar | 2010-07-20 | 1 | -5/+5 | |
| | | | | | | | 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 | 1 | -5/+5 | |
| | | | | | | (StaticPassInfo) and a constructor-ful subclass (PassInfo). llvm-svn: 108794 | |||||
* | Use ValueMap instead of DenseMap. | Devang Patel | 2010-06-24 | 1 | -9/+9 | |
| | | | | | | The ValueMapper used by various cloning utility maps MDNodes also. llvm-svn: 106706 | |||||
* | Run dead type elimination after dead argument elimination. | Dan Gohman | 2010-06-07 | 1 | -1/+2 | |
| | | | | llvm-svn: 105552 | |||||
* | Use ->isVoidTy(). | Dan Gohman | 2010-06-07 | 1 | -1/+1 | |
| | | | | llvm-svn: 105550 | |||||
* | No need to special-case structs here; structs are first-class now. | Dan Gohman | 2010-06-04 | 1 | -3/+1 | |
| | | | | llvm-svn: 105442 | |||||
* | Eliminate some unnessary Path::exists() calls. | Dan Gohman | 2010-05-27 | 1 | -2/+1 | |
| | | | | llvm-svn: 104888 | |||||
* | There are two ways of checking for a given type, for example isa<PointerType>(T) | Duncan Sands | 2010-02-16 | 1 | -1/+1 | |
| | | | | | | | and T->isPointerTy(). Convert most instances of the first form to the second form. Requested by Chris. llvm-svn: 96344 | |||||
* | Replace strcpy with memcpy when we have the length around anyway. | Benjamin Kramer | 2010-01-28 | 1 | -6/+2 | |
| | | | | llvm-svn: 94746 | |||||
* | Remove the default value for ConstantStruct::get's isPacked parameter and | Nick Lewycky | 2009-09-19 | 1 | -2/+2 | |
| | | | | | | update the code which was broken by this. llvm-svn: 82327 | |||||
* | Add -output-prefix option to bugpoint (to change the default output name). | Daniel Dunbar | 2009-09-07 | 1 | -1/+2 | |
| | | | | llvm-svn: 81154 | |||||
* | Make LLVM command-line tools overwrite their output files without -f. | Dan Gohman | 2009-08-25 | 1 | -2/+1 | |
| | | | | | | | | | | | | | | | | This is conventional command-line tool behavior. -f now just means "enable binary output on terminals". Add a -f option to llvm-extract and llvm-link, for consistency. Remove F_Force from raw_fd_ostream and enable overwriting and truncating by default. Introduce an F_Excl flag to permit users to enable a failure when the file already exists. This flag is currently unused. Update Makefiles and documentation accordingly. llvm-svn: 79990 | |||||
* | Prune #includes from llvm/Linker.h and llvm/System/Path.h, | Chris Lattner | 2009-08-23 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | | | | forcing them down into various .cpp files. This change also: 1. Renames TimeValue::toString() and Path::toString() to ::str() for similarity with the STL. 2. Removes all stream insertion support for sys::Path, forcing clients to call .str(). 3. Removes a use of Config/alloca.h from bugpoint, using smallvector instead. 4. Weans llvm-db off <iostream> sys::Path really needs to be gutted, but I don't have the desire to do it at this point. llvm-svn: 79869 | |||||
* | Change raw_fd_ostream to take flags as an optional bitmask | Chris Lattner | 2009-08-23 | 1 | -3/+2 | |
| | | | | | | | | | | | | | | | | instead of as two bools. Use this to add a F_Append flag which has the obvious behavior. Other unrelated changes conflated into this patch: 1. REmove EH stuff from llvm-dis and llvm-as, the try blocks are dead. 2. Simplify the filename inference code in llvm-as/llvm-dis, because raw_fd_ostream does the right thing with '-'. 3. Switch machine verifier to use raw_ostream instead of ostream (Which is the thing that needed append in the first place). llvm-svn: 79807 | |||||
* | Push LLVMContexts through the IntegerType APIs. | Owen Anderson | 2009-08-13 | 1 | -2/+3 | |
| | | | | llvm-svn: 78948 | |||||
* | Privatize the StructType table, which unfortunately involves routing ↵ | Owen Anderson | 2009-08-05 | 1 | -1/+2 | |
| | | | | | | contexts through a number of APIs. llvm-svn: 78258 | |||||
* | Move a few more APIs back to 2.5 forms. The only remaining ones left to ↵ | Owen Anderson | 2009-07-31 | 1 | -1/+1 | |
| | | | | | | | | change back are metadata related, which I'm waiting on to avoid conflicting with Devang. llvm-svn: 77721 | |||||
* | Move more code back to 2.5 APIs. | Owen Anderson | 2009-07-30 | 1 | -1/+1 | |
| | | | | llvm-svn: 77635 | |||||
* | Move types back to the 2.5 API. | Owen Anderson | 2009-07-29 | 1 | -2/+1 | |
| | | | | llvm-svn: 77516 | |||||
* | Change ConstantArray to 2.5 API. | Owen Anderson | 2009-07-28 | 1 | -1/+1 | |
| | | | | llvm-svn: 77347 | |||||
* | Move ConstantStruct back to 2.5 API. | Owen Anderson | 2009-07-27 | 1 | -1/+1 | |
| | | | | llvm-svn: 77266 | |||||
* | Remove Value::setName(const char*, unsigned). | Daniel Dunbar | 2009-07-26 | 1 | -2/+2 | |
| | | | | llvm-svn: 77100 | |||||
* | Revert the ConstantInt constructors back to their 2.5 forms where possible, ↵ | Owen Anderson | 2009-07-24 | 1 | -1/+1 | |
| | | | | | | thanks to contexts-on-types. More to come. llvm-svn: 77011 | |||||
* | Switch to getNameStr(). | Daniel Dunbar | 2009-07-24 | 1 | -1/+1 | |
| | | | | llvm-svn: 76962 | |||||
* | Get rid of the Pass+Context magic. | Owen Anderson | 2009-07-22 | 1 | -1/+1 | |
| | | | | llvm-svn: 76702 | |||||
* | Convert more tools code from cerr and cout to errs() and outs(). | Dan Gohman | 2009-07-16 | 1 | -10/+11 | |
| | | | | llvm-svn: 76070 | |||||
* | Use errs() instead of std::cerr. | Dan Gohman | 2009-07-15 | 1 | -7/+7 | |
| | | | | llvm-svn: 75791 | |||||
* | Move EVER MORE stuff over to LLVMContext. | Owen Anderson | 2009-07-14 | 1 | -4/+5 | |
| | | | | llvm-svn: 75703 | |||||
* | #include "llvm/Assembly/Writer.h" to get the declaration for WriteAsOperand. | Dan Gohman | 2009-07-13 | 1 | -0/+1 | |
| | | | | llvm-svn: 75542 | |||||
* | Fix the build. | Owen Anderson | 2009-07-13 | 1 | -0/+1 | |
| | | | | llvm-svn: 75536 | |||||
* | Begin the painful process of tearing apart the rat'ss nest that is ↵ | Owen Anderson | 2009-07-13 | 1 | -1/+1 | |
| | | | | | | | | | Constants.cpp and ConstantFold.cpp. This involves temporarily hard wiring some parts to use the global context. This isn't ideal, but it's the only way I could figure out to make this process vaguely incremental. llvm-svn: 75445 | |||||
* | Switch GlobalVariable ctors to a sane API, where *either* a context or a ↵ | Owen Anderson | 2009-07-08 | 1 | -4/+4 | |
| | | | | | | module is required. llvm-svn: 75025 | |||||
* | Push LLVMContext through GlobalVariables and IRBuilder. | Owen Anderson | 2009-07-08 | 1 | -2/+4 | |
| | | | | llvm-svn: 74985 | |||||
* | Use CloneModule's ValueMap in more places, instead of looking | Dan Gohman | 2009-04-22 | 1 | -14/+18 | |
| | | | | | | up functions by name. llvm-svn: 69805 | |||||
* | Add the private linkage. | Rafael Espindola | 2009-01-15 | 1 | -1/+1 | |
| | | | | llvm-svn: 62279 | |||||
* | Global variables beginning with \01 have special meaning on Darwin, so we ↵ | Owen Anderson | 2008-07-08 | 1 | -1/+4 | |
| | | | | | | | | | need to remove the name prefix when we change them from internal to external. This allows bugpointing of codegen miscompilations to work more reliably on Darwin. llvm-svn: 53236 | |||||
* | several multiple-retval fixes for bugpoint. | Chris Lattner | 2008-04-28 | 1 | -1/+3 | |
| | | | | llvm-svn: 50331 | |||||
* | Fix PR1797 | Chris Lattner | 2008-01-08 | 1 | -0/+3 | |
| | | | | llvm-svn: 45736 | |||||
* | remove attributions from tools. | Chris Lattner | 2007-12-29 | 1 | -2/+2 | |
| | | | | llvm-svn: 45421 | |||||
* | Allow the block extractor take to take a list of basic blocks to not extract | Nick Lewycky | 2007-11-14 | 1 | -3/+47 | |
| | | | | | | | | | 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 | |||||
* | Deleting redundant copy of block extractor pass. See also PR1775. | Gordon Henriksen | 2007-11-05 | 1 | -51/+2 | |
| | | | | llvm-svn: 43694 |