aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms
AgeCommit message (Expand)Author
2010-06-22Do not rely on DenseMap slot which can be easily invalidated when DenseMap gr...Devang Patel
2010-06-22Revert my change to clone named metadata. Buildbots are complaining.Bob Wilson
2010-06-22Include named metadata when cloning a module.Bob Wilson
2010-06-21Use A.append(...) instead of A.insert(A.end(), ...) when A is aDan Gohman
2010-06-19Add a TODO comment.Dan Gohman
2010-06-19Include the use kind along with the expression in the key of theDan Gohman
2010-06-19Don't include things in anonymous namespaces that don't need it.Dan Gohman
2010-06-18Disable indvars on loops when LoopSimplify form is not available.Dan Gohman
2010-06-16remove trailing whitespaceJim Grosbach
2010-06-16Make sure that simplify libcalls does not replace a call with one callingRafael Espindola
2010-06-16simplify-libcalls: fold strncmp(x, y, 1) -> memcmp(x, y, 1)Benjamin Kramer
2010-06-15simplify-libcalls: fold strstr(a, b) == a -> strncmp(a, b, strlen(b)) == 0Benjamin Kramer
2010-06-14jump threading can't split a critical edge from an indirectbr. ThisChris Lattner
2010-06-13SimplifyCFG: don't turn volatile stores to null/undef into unreachable. Fixes...Benjamin Kramer
2010-06-09Pulled CodeMetrics out of InlineCost.h and made it a bit more general, so it ...Kenneth Uildriks
2010-06-07Make bugpoint dead-argument-hacking actually work, and actually test it.Dan Gohman
2010-06-05Partial specialization was not checking the callsite to make sure it was usin...Kenneth Uildriks
2010-06-04Don't track users of undef values; they aren't interesting forDan Gohman
2010-06-04Copy location info for current function argument from dbg.declare if respecti...Devang Patel
2010-06-01Remove unused codeJim Grosbach
2010-06-01fix think-oJim Grosbach
2010-06-01Simplify things a bit more. Fix prototype to use SmallVectorImpl andJim Grosbach
2010-06-01mirror of r105280 changes for LowerInvoke, which uses the same basic logic hereJim Grosbach
2010-06-01Use SmallVector instead of std::vector.Jim Grosbach
2010-05-31Fix PR7272: when inlining through a callsite with byval arguments,Duncan Sands
2010-05-31Avoid swap when a copy suffices.Benjamin Kramer
2010-05-31The memcpy intrinsic only takes i8* for %src and %dst, so cast them to thatNick Lewycky
2010-05-28Move FindAvailableLoadedValue isSafeToLoadUnconditionally out ofDan Gohman
2010-05-28Teach instcombine to promote alloca array sizes.Dan Gohman
2010-05-28Fix instcombine's handling of alloca to accept non-i32 types.Dan Gohman
2010-05-28Fix typo.Devang Patel
2010-05-28Fix typo.Devang Patel
2010-05-27Do not drop location info for inlined function args.Devang Patel
2010-05-27Teach instCombine to remove malloc+free if malloc's only uses are comparisonsDuncan Sands
2010-05-26Kill unneeded SExt.Benjamin Kramer
2010-05-25Properly promote operands when optimizing a single-character memcmp.Benjamin Kramer
2010-05-25Fix a missing newline in debug output.Dan Gohman
2010-05-20DominatorTree.getNode can return null for unreachable blocks.Dan Gohman
2010-05-20Minor code cleanups.Dan Gohman
2010-05-20Make Solve check its own post-condition, to reduce clutter in theDan Gohman
2010-05-20Add comments.Dan Gohman
2010-05-20More code cleanups. Use iterators instead of indices when indicesDan Gohman
2010-05-20Fix OptimizeShadowIV to set Changed. Change OptimizeLoopTermCond to setDan Gohman
2010-05-20Add some comments.Dan Gohman
2010-05-20Simplify this code. Don't do a DomTreeNode lookup for each visited block.Dan Gohman
2010-05-20Minor code cleanups.Dan Gohman
2010-05-20When canonicalizing icmp operand order to put the loop invariantDan Gohman
2010-05-20Set Changed to true when canonicalizing ICmp operand order; even thoughDan Gohman
2010-05-20Strip llvm.dbg.lv also.Devang Patel
2010-05-20Rename a variable to avoid shadowing.Dan Gohman