Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable. | Torok Edwin | 2009-07-14 | 1 | -1/+1 |
| | | | | | | | | | This adds location info for all llvm_unreachable calls (which is a macro now) in !NDEBUG builds. In NDEBUG builds location info and the message is off (it only prints "UREACHABLE executed"). llvm-svn: 75640 | ||||
* | assert(0) -> LLVM_UNREACHABLE. | Torok Edwin | 2009-07-11 | 1 | -2/+3 |
| | | | | | | | | | Make llvm_unreachable take an optional string, thus moving the cerr<< out of line. LLVM_UNREACHABLE is now a simple wrapper that makes the message go away for NDEBUG builds. llvm-svn: 75379 | ||||
* | Rename getAnalysisToUpdate to getAnalysisIfAvailable. | Duncan Sands | 2009-01-28 | 1 | -3/+3 |
| | | | | llvm-svn: 63198 | ||||
* | Tidy up several unbeseeming casts from pointer to intptr_t. | Dan Gohman | 2008-09-04 | 1 | -1/+1 |
| | | | | llvm-svn: 55779 | ||||
* | LoopIndexSplit can sometimes result in cases where a block in its own ↵ | Owen Anderson | 2008-06-03 | 1 | -3/+6 |
| | | | | | | | | domfrontier. Don't crash when we encounter one of these. llvm-svn: 51915 | ||||
* | Change class' public PassInfo variables to by initialized with the | Dan Gohman | 2008-05-13 | 1 | -1/+1 |
| | | | | | | | | | | | address of the PassInfo directly instead of calling getPassInfo. This eliminates a bunch of dynamic initializations of static data. Also, fold RegisterPassBase into PassInfo, make a bunch of its data members const, and rearrange some code to initialize data members in constructors instead of using setter member functions. llvm-svn: 51022 | ||||
* | Clean up the use of static and anonymous namespaces. This turned up | Dan Gohman | 2008-05-13 | 1 | -4/+4 |
| | | | | | | | several things that were neither in an anonymous namespace nor static but not intended to be global. llvm-svn: 51017 | ||||
* | fit in 80 cols | Chris Lattner | 2008-04-21 | 1 | -6/+6 |
| | | | | llvm-svn: 50014 | ||||
* | Remove unused variable | Scott Michel | 2008-04-17 | 1 | -1/+0 |
| | | | | llvm-svn: 49838 | ||||
* | Workaround for PR2207, in which pred_iterator assert gets triggered due to a | Scott Michel | 2008-04-16 | 1 | -2/+9 |
| | | | | | | wee problem in Xcode 2.[45]/gcc 4.0.1. llvm-svn: 49831 | ||||
* | API changes for class Use size reduction, wave 1. | Gabor Greif | 2008-04-06 | 1 | -3/+3 |
| | | | | | | | | Specifically, introduction of XXX::Create methods for Users that have a potentially variable number of Uses. llvm-svn: 49277 | ||||
* | Remove attribution from file headers, per discussion on llvmdev. | Chris Lattner | 2007-12-29 | 1 | -2/+2 |
| | | | | llvm-svn: 45418 | ||||
* | Make LoopInfoBase more generic, in preparation for having MachineLoopInfo. ↵ | Owen Anderson | 2007-11-27 | 1 | -4/+4 |
| | | | | | | This involves a small interface change. llvm-svn: 44348 | ||||
* | If NewBB dominates DestBB then DestBB is not part of NewBB's dominance frontier. | Devang Patel | 2007-08-13 | 1 | -1/+5 |
| | | | | llvm-svn: 41051 | ||||
* | Do not preserve ETForest. | Devang Patel | 2007-06-08 | 1 | -26/+5 |
| | | | | llvm-svn: 37506 | ||||
* | Maintain ETNode as part of DomTreeNode. | Devang Patel | 2007-06-07 | 1 | -1/+1 |
| | | | | | | This adds redundancy for now. llvm-svn: 37492 | ||||
* | s/DominatorTree::createNewNode/DominatorTree::addNewBlock/g | Devang Patel | 2007-06-04 | 1 | -1/+1 |
| | | | | llvm-svn: 37415 | ||||
* | s/llvm::DominatorTreeBase::DomTreeNode/llvm::DomTreeNode/g | Devang Patel | 2007-06-04 | 1 | -4/+4 |
| | | | | llvm-svn: 37407 | ||||
* | s/DominatorTreeBase::Node/DominatorTreeBase:DomTreeNode/g | Devang Patel | 2007-06-03 | 1 | -4/+4 |
| | | | | llvm-svn: 37403 | ||||
* | Fix typo in comment. | Nick Lewycky | 2007-05-06 | 1 | -1/+1 |
| | | | | llvm-svn: 36873 | ||||
* | Drop 'const' | Devang Patel | 2007-05-03 | 1 | -2/+2 |
| | | | | llvm-svn: 36662 | ||||
* | Use 'static const char' instead of 'static const int'. | Devang Patel | 2007-05-02 | 1 | -2/+2 |
| | | | | | | | Due to darwin gcc bug, one version of darwin linker coalesces static const int, which defauts PassID based pass identification. llvm-svn: 36652 | ||||
* | Do not use typeinfo to identify pass in pass manager. | Devang Patel | 2007-05-01 | 1 | -0/+4 |
| | | | | llvm-svn: 36632 | ||||
* | remove use of BasicBlock::getNext | Chris Lattner | 2007-04-17 | 1 | -1/+2 |
| | | | | llvm-svn: 36205 | ||||
* | Remove ImmediateDominator analysis. The same information can be obtained ↵ | Owen Anderson | 2007-04-15 | 1 | -24/+0 |
| | | | | | | | | | | from DomTree. A lot of code for constructing ImmediateDominator is now folded into DomTree construction. This is part of the ongoing work for PR217. llvm-svn: 36063 | ||||
* | BreakCriticalEdges does still preserve DominatorTree. | Owen Anderson | 2007-04-07 | 1 | -0/+1 |
| | | | | llvm-svn: 35729 | ||||
* | Expunge DomSet from BreakCriticalEdges. This is part of the continuing | Owen Anderson | 2007-04-07 | 1 | -52/+18 |
| | | | | | | work for PR 1171. llvm-svn: 35728 | ||||
* | Fix Analysis/Dominators/2006-10-02-BreakCritEdges.ll | Chris Lattner | 2007-01-15 | 1 | -1/+2 |
| | | | | llvm-svn: 33210 | ||||
* | Fix PR1110 and Analysis/Dominators/2007-01-14-BreakCritEdges.ll by being | Chris Lattner | 2007-01-14 | 1 | -35/+40 |
| | | | | | | more careful about unreachable code when updating dominator info. llvm-svn: 33204 | ||||
* | switch more statistics over to STATISTIC, eliminating static ctors. Also, | Chris Lattner | 2006-12-19 | 1 | -2/+3 |
| | | | | | | delete some dead ones. llvm-svn: 32694 | ||||
* | Detemplatize the Statistic class. The only type it is instantiated with | Chris Lattner | 2006-12-06 | 1 | -1/+1 |
| | | | | | | is 'unsigned'. llvm-svn: 32279 | ||||
* | add option to isCriticalEdge | Chris Lattner | 2006-10-28 | 1 | -3/+12 |
| | | | | llvm-svn: 31258 | ||||
* | Expose a smarter way to break critical edges. | Chris Lattner | 2006-10-28 | 1 | -5/+24 |
| | | | | llvm-svn: 31256 | ||||
* | This case isn't implemented yet. It seems unlikely to be needed, but if it | Chris Lattner | 2006-10-04 | 1 | -4/+2 |
| | | | | | | ever is, we want to get an assert instead of silent bad codegen. llvm-svn: 30716 | ||||
* | Fix PR932 and Analysis/Dominators/2006-10-02-BreakCritEdges.ll: | Chris Lattner | 2006-10-03 | 1 | -15/+112 |
| | | | | | | | The critical edge block dominates the dest block if the destblock dominates all edges other than the one incoming from the critical edge. llvm-svn: 30696 | ||||
* | eliminate RegisterOpt. It does the same thing as RegisterPass. | Chris Lattner | 2006-08-27 | 1 | -1/+1 |
| | | | | llvm-svn: 29925 | ||||
* | s|llvm/Support/Visibility.h|llvm/Support/Compiler.h| | Chris Lattner | 2006-08-27 | 1 | -1/+1 |
| | | | | llvm-svn: 29911 | ||||
* | Use hidden visibility to make symbols in an anonymous namespace get | Chris Lattner | 2006-06-28 | 1 | -1/+2 |
| | | | | | | dropped. This shrinks libllvmgcc.dylib another 67K llvm-svn: 28975 | ||||
* | Preserve and update ETForest. Patch by Daniel Berlin | Chris Lattner | 2006-01-11 | 1 | -0/+5 |
| | | | | llvm-svn: 25203 | ||||
* | Teach SplitCriticalEdge to update LoopInfo if it is alive. This fixes | Chris Lattner | 2005-08-13 | 1 | -0/+31 |
| | | | | | | | a problem in LoopStrengthReduction, where it would split critical edges then confused itself with outdated loop information. llvm-svn: 22776 | ||||
* | Change break critical edges to not remove, then insert, PHI node entries. | Chris Lattner | 2005-08-12 | 1 | -2/+2 |
| | | | | | | | Instead, just update the BB in-place. This is both faster, and it prevents split-critical-edges from shuffling the PHI argument list unneccesarily. llvm-svn: 22765 | ||||
* | Remove trailing whitespace | Misha Brukman | 2005-04-21 | 1 | -6/+6 |
| | | | | llvm-svn: 21427 | ||||
* | Fix the missing symbols problem Bill was hitting. Patch contributed by | Chris Lattner | 2005-03-17 | 1 | -0/+1 |
| | | | | | | Bill Wendling!! llvm-svn: 20649 | ||||
* | Convert code to compile with vc7.1. | Reid Spencer | 2004-09-15 | 1 | -2/+2 |
| | | | | | | Patch contributed by Paolo Invernizzi. Thanks Paolo! llvm-svn: 16368 | ||||
* | Changes For Bug 352 | Reid Spencer | 2004-09-01 | 1 | -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 | ||||
* | Expose this as a functionpass | Chris Lattner | 2004-07-31 | 1 | -1/+3 |
| | | | | llvm-svn: 15369 | ||||
* | Fix #includes of i*.h => Instructions.h as per PR403. | Misha Brukman | 2004-07-29 | 1 | -1/+0 |
| | | | | llvm-svn: 15337 | ||||
* | Fix #includes of i*.h => Instructions.h as per PR403. | Misha Brukman | 2004-07-29 | 1 | -1/+1 |
| | | | | llvm-svn: 15334 | ||||
* | Fix bug: test/Regression/Transforms/LowerInvoke/2004-02-29-PHICrash.llx | Chris Lattner | 2004-02-29 | 1 | -2/+5 |
| | | | | | | ... which tickled the lowerinvoke pass because it used the BCE routines. llvm-svn: 12012 | ||||
* | Finegrainify namespacification | Chris Lattner | 2004-01-09 | 1 | -8/+5 |
| | | | | llvm-svn: 10727 |