| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add Loop contains utility methods for testing whether a loop | Dan Gohman | 2009-12-18 | 1 | -2/+2 |
| | | | | | | | | | contains another loop, or an instruction. The loop form is substantially more efficient on large loops than the typical code it replaces. llvm-svn: 91654 | ||||
| * | improve comment. | Chris Lattner | 2009-11-01 | 1 | -1/+1 |
| | | | | | llvm-svn: 85725 | ||||
| * | update the comment above llvm::SplitCriticalEdge, and make | Chris Lattner | 2009-10-31 | 1 | -6/+21 |
| | | | | | | | it abort on IndirectBrInst as describe in the comment. llvm-svn: 85688 | ||||
| * | Remove includes of Support/Compiler.h that are no longer needed after the | Nick Lewycky | 2009-10-25 | 1 | -1/+0 |
| | | | | | | | VISIBILITY_HIDDEN removal. llvm-svn: 85043 | ||||
| * | Remove VISIBILITY_HIDDEN from class/struct found inside anonymous namespaces. | Nick Lewycky | 2009-10-25 | 1 | -1/+1 |
| | | | | | | | | Chris claims we should never have visibility_hidden inside any .cpp file but that's still not true even after this commit. llvm-svn: 85042 | ||||
| * | Fix SplitCriticalEdge to properly update LCSSA form when splitting a | Dan Gohman | 2009-09-09 | 1 | -24/+51 |
| | | | | | | | | | | | loop exit edge -- new PHIs may be needed not only for the additional splits that are made to preserve LoopSimplify form, but also for the original split. Factor out the code that inserts new PHIs so that it can be used for both. Remove LoopRotation.cpp's code for manually updating LCSSA form, as it is now redundant. This fixes PR4934. llvm-svn: 81363 | ||||
| * | Preserve ProfileInfo. | Andreas Neustifter | 2009-09-09 | 1 | -0/+7 |
| | | | | | llvm-svn: 81360 | ||||
| * | Re-apply r80926, with fixes: keep the domtree informed of new blocks | Dan Gohman | 2009-09-08 | 1 | -8/+67 |
| | | | | | | | | | | | | | | | | that get created during loop unswitching, and fix SplitBlockPredecessors' LCSSA updating code to create new PHIs instead of trying to just move existing ones. Also, optimize Loop::verifyLoop, since it gets called a lot. Use searches on a sorted list of blocks instead of calling the "contains" function, as is done in other places in the Loop class, since "contains" does a linear search. Also, don't call verifyLoop from LoopSimplify or LCSSA, as the PassManager is already calling verifyLoop as part of LoopInfo's verifyAnalysis. llvm-svn: 81221 | ||||
| * | Revert r80926. It causes loop unswitch assertion and slow down some JIT ↵ | Evan Cheng | 2009-09-06 | 1 | -57/+8 |
| | | | | | | | tests significantly. llvm-svn: 81101 | ||||
| * | Add a verifyAnalysis to LoopInfo, LoopSimplify, and LCSSA form that verify | Dan Gohman | 2009-09-03 | 1 | -8/+57 |
| | | | | | | | | | | that these passes are properly preserved. Fix several transformation passes that claimed to preserve LoopSimplify form but weren't. llvm-svn: 80926 | ||||
| * | Push LLVMContexts through the IntegerType APIs. | Owen Anderson | 2009-08-13 | 1 | -2/+2 |
| | | | | | llvm-svn: 78948 | ||||
| * | 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 | ||||

