aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/Scalar
Commit message (Expand)AuthorAgeFilesLines
* Use A.append(...) instead of A.insert(A.end(), ...) when A is aDan Gohman2010-06-211-7/+6
* Add a TODO comment.Dan Gohman2010-06-191-0/+2
* Include the use kind along with the expression in the key of theDan Gohman2010-06-191-2/+28
* Don't include things in anonymous namespaces that don't need it.Dan Gohman2010-06-191-0/+4
* Disable indvars on loops when LoopSimplify form is not available.Dan Gohman2010-06-181-0/+11
* Make sure that simplify libcalls does not replace a call with one callingRafael Espindola2010-06-161-0/+5
* simplify-libcalls: fold strncmp(x, y, 1) -> memcmp(x, y, 1)Benjamin Kramer2010-06-161-0/+3
* simplify-libcalls: fold strstr(a, b) == a -> strncmp(a, b, strlen(b)) == 0Benjamin Kramer2010-06-151-0/+31
* jump threading can't split a critical edge from an indirectbr. ThisChris Lattner2010-06-141-1/+6
* SimplifyCFG: don't turn volatile stores to null/undef into unreachable. Fixes...Benjamin Kramer2010-06-131-0/+3
* Pulled CodeMetrics out of InlineCost.h and made it a bit more general, so it ...Kenneth Uildriks2010-06-091-1/+1
* Don't track users of undef values; they aren't interesting forDan Gohman2010-06-041-1/+5
* Move FindAvailableLoadedValue isSafeToLoadUnconditionally out ofDan Gohman2010-05-283-0/+3
* Kill unneeded SExt.Benjamin Kramer2010-05-261-1/+1
* Properly promote operands when optimizing a single-character memcmp.Benjamin Kramer2010-05-251-3/+6
* DominatorTree.getNode can return null for unreachable blocks.Dan Gohman2010-05-201-1/+1
* Minor code cleanups.Dan Gohman2010-05-201-8/+7
* Make Solve check its own post-condition, to reduce clutter in theDan Gohman2010-05-201-1/+2
* Add comments.Dan Gohman2010-05-201-0/+16
* More code cleanups. Use iterators instead of indices when indicesDan Gohman2010-05-201-22/+24
* Fix OptimizeShadowIV to set Changed. Change OptimizeLoopTermCond to setDan Gohman2010-05-201-8/+7
* Add some comments.Dan Gohman2010-05-201-0/+6
* Simplify this code. Don't do a DomTreeNode lookup for each visited block.Dan Gohman2010-05-201-14/+5
* Minor code cleanups.Dan Gohman2010-05-201-20/+11
* When canonicalizing icmp operand order to put the loop invariantDan Gohman2010-05-201-0/+1
* Set Changed to true when canonicalizing ICmp operand order; even thoughDan Gohman2010-05-201-0/+1
* Rename a variable to avoid shadowing.Dan Gohman2010-05-201-2/+3
* Minor code simplification.Dan Gohman2010-05-201-4/+4
* Move the code for deleting BaseRegs and LSRUses into helper functions,Dan Gohman2010-05-201-5/+22
* Teach LSR how to cope better with unrolled loops on targets whereDan Gohman2010-05-191-3/+191
* Add a comment.Dan Gohman2010-05-181-0/+1
* Fix the predicate which checks for non-sensical formulae which haveDan Gohman2010-05-181-4/+5
* Factor out the code for recomputing an LSRUse's Regs set after someDan Gohman2010-05-181-17/+40
* Factor out code for estimating search space complexity into a helperDan Gohman2010-05-181-22/+26
* Add some more debug output.Dan Gohman2010-05-181-0/+1
* Factor out the code for deleting a formula from an LSRUse intoDan Gohman2010-05-181-4/+9
* Make some debug output more informative.Dan Gohman2010-05-181-2/+3
* Print an error message in Formula::print if the HasBaseReg flagDan Gohman2010-05-181-0/+7
* Rename RegUseTracker's RegUses member to RegUsesMap to avoidDan Gohman2010-05-181-7/+7
* Fixes for Microsoft Visual Studio 2010, from Steven Watanabe!Douglas Gregor2010-05-111-1/+1
* make simplifycfg insert an llvm.trap before the 'unreachable' it introducesChris Lattner2010-05-081-3/+11
* Fix PR7052, patch by Jakub Staszak!Chris Lattner2010-05-081-3/+3
* When pruning candidate formulae out of an LSRUse, update theDan Gohman2010-05-071-3/+11
* Update CMake build.Ted Kremenek2010-05-071-0/+1
* Add an LLVM IR version of code sinking. This uses the same simple algorithmDan Gohman2010-05-071-0/+267
* Use the right version of "append" to combine two SmallVectors.Bob Wilson2010-05-051-1/+1
* Defer adding critical edges to the "toSplit" list until after checking forBob Wilson2010-05-041-4/+5
* Use getConstant instead of getIntegerSCEV. The two are basically theDan Gohman2010-05-032-18/+17
* Check for side effects before splitting loop.Devang Patel2010-05-031-0/+19
* fix PR6940: sitofp(undef) folds to 0.0, not undef.Chris Lattner2010-04-261-0/+2