aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms
AgeCommit message (Expand)Author
2011-03-17Refactor into a separate utility function.Devang Patel
2011-03-16Fix a comment.Cameron Zwarich
2011-03-16Only convert allocas to scalars if it is profitable. The profitability metric ICameron Zwarich
2011-03-16Better use initializer lists.Cameron Zwarich
2011-03-16Add a clarifying comment.Cameron Zwarich
2011-03-15Clean up something noticed by Fritz.Cameron Zwarich
2011-03-15Do not add PHIs with no users when creating LCSSA form. Patch by Andrew Clinton.Cameron Zwarich
2011-03-15PR9450: Make switch optimization in SimplifyCFG not dependent on the orderingEli Friedman
2011-03-15If we don't know how long a string is we can't fold an _chk version to theEric Christopher
2011-03-14Added SCEV::NoWrapFlags to manage unsigned, signed, and self wrapAndrew Trick
2011-03-14whitespaceAndrew Trick
2011-03-14This case is solved by Scalar Replacement of Aggregates (DT) andJin-Gu Kang
2011-03-13Add comment as following:Jin-Gu Kang
2011-03-12This patch removes some of useless instructions generated by bitfield access.Jin-Gu Kang
2011-03-11Roll r127459 back in:Cameron Zwarich
2011-03-11Revert r127459, "Optimize trivial branches in CodeGenPrepare, which often getDaniel Dunbar
2011-03-11InstCombine: Fix a thinko where transform an icmp under the assumption that i...Benjamin Kramer
2011-03-11Optimize trivial branches in CodeGenPrepare, which often get created from theCameron Zwarich
2011-03-10RecursivelyDeleteTriviallyDeadInstructions only needs aDan Gohman
2011-03-10Fix reassociate to postpone certain instruction deletions untilDan Gohman
2011-03-10InstCombine: Turn umul_with_overflow into mul nuw if we can prove that it can...Benjamin Kramer
2011-03-09Preserve line number information while simplifying libcalls.Devang Patel
2011-03-09These llvm.dbg.* constants are not used anymore.Devang Patel
2011-03-09Fix a crasher introduced by r127317 that is seen on the bots when using anCameron Zwarich
2011-03-09Add support to scalar replacement for partial vector accesses of an alloca, e.g.Cameron Zwarich
2011-03-09Move vector type merging to a separate function in preparation for it gettingCameron Zwarich
2011-03-09PR9346: Prevent SimplifyDemandedBits from incorrectly introducingEli Friedman
2011-03-09PR9420; an instruction before an unreachable is guaranteed not to have anyEli Friedman
2011-03-08llvm.dbg.declare intrinsic does not use any llvm::Values. It's magic!Devang Patel
2011-03-08Reorder comments to put them the right way around.Nick Lewycky
2011-03-08While sinking an instruction, do not lose llvm.dbg.value intrinsic.Devang Patel
2011-03-07Preserve line no. info.Devang Patel
2011-03-07Add more analysis of the sign bit of an srem instruction. If the LHS is negativeNick Lewycky
2011-03-06Don't internalize available_externally functions. We already did the rightRafael Espindola
2011-03-06ConstantInt has some getters which return ConstantInt's or ConstantVector's ofNick Lewycky
2011-03-05InstCombine: We know the number of items initially added to the worklist map,...Benjamin Kramer
2011-03-05Fix PR9398 - 10% of llc compile time is spent in Value::getNumUses. This reducesCameron Zwarich
2011-03-05Thread comparisons over udiv/sdiv/ashr/lshr exact and lshr nuw/nsw wheneverNick Lewycky
2011-03-05Try once again to optimize "icmp (srem X, Y), Y" by turning the comparison intoNick Lewycky
2011-03-04DenseMap<uintptr_t,...> doesn't allow all values as keys.Jakob Stoklund Olesen
2011-03-03Fix typo in comment.Richard Osborne
2011-03-03Optimize fprintf -> iprintf if there are no floating point argumentsRichard Osborne
2011-03-03Optimize sprintf -> siprintf if there are no floating point argumentsRichard Osborne
2011-03-03Optimize printf -> iprintf if there are no floating point argumentsRichard Osborne
2011-03-02Remove some more unused code that I missed.Cameron Zwarich
2011-03-02Eliminate the unused CodeGenPrepare option to split critical edges.Cameron Zwarich
2011-03-01Stop computing the number of uses twice per value in CodeGenPrepare's sinking ofCameron Zwarich
2011-03-01Make InstCombiner::FoldAndOfICmps create a ConstantRange that's theAnders Carlsson
2011-03-01Add an obvious missing safety check to DAE::RemoveDeadArgumentsFromCallers.Eli Friedman
2011-02-28Unbreak CMake build.Ted Kremenek