aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms
AgeCommit message (Expand)Author
2011-05-02Scanning entire basic block may be too expensive in terms of compile time. In...Devang Patel
2011-05-02Remove unused variable.Duncan Sands
2011-05-02Move some rem transforms out of instcombine and into instsimplify.Duncan Sands
2011-05-01enhance memcpyopt to obey -fno-builtin and friends. This addresses aChris Lattner
2011-04-30InstCombine: Turn (zext A) udiv (zext B) into (zext (A udiv B)). Same for ure...Benjamin Kramer
2011-04-30Use SimplifyDemandedBits on div instructions.Benjamin Kramer
2011-04-29Assing line number info to new PHIs created by SSA updater.Devang Patel
2011-04-29Preserve line number information.Devang Patel
2011-04-29SimplifyCFG: Expose phi node folding cost threshold as command line parameterPeter Collingbourne
2011-04-29SimplifyCFG: Add CostRemaining parameter to DominatesMergePointPeter Collingbourne
2011-04-29SimplifyCFG: Add Trunc, ZExt and SExt to the list of cheap instructions for p...Peter Collingbourne
2011-04-29Balance parentheses.Benjamin Kramer
2011-04-29InstCombine: turn (C1 << A) << C2) into (C1 << C2) << A)Benjamin Kramer
2011-04-28Preserve line number information.Devang Patel
2011-04-28We require threse bits to be zero, too.Benjamin Kramer
2011-04-28Only read *predecessor once so as to fix a theoretical issue where it changesNick Lewycky
2011-04-28Remove DbgDeclare only if all uses are converted.Devang Patel
2011-04-28Fix a comment.Benjamin Kramer
2011-04-28improve comment.Chris Lattner
2011-04-28Do not lose line number info while eliminating tail call.Devang Patel
2011-04-28final step needed to resolve PR6627, which allows us to flatten the code down toChris Lattner
2011-04-28code cleanups only.Chris Lattner
2011-04-28Reapply r130340: Fix for PR9730.Andrew Trick
2011-04-28InstCombine: Merge "(trunc x) == C1 & (and x, CA) == C2" into a single and+icmp.Benjamin Kramer
2011-04-28centralize "marking for deletion" into a helper function. Pass GVN around to Chris Lattner
2011-04-28Promote toErase to be an ivar of the GVN class.Chris Lattner
2011-04-28teach GVN to widen integer loads when they are overaligned, when doing an Chris Lattner
2011-04-28Reverting r130340 in the unlikely event that it's responsible for a llvm-gcc ...Andrew Trick
2011-04-27Fixes PR9730: indvars: An asserting value handle still pointed to this valueAndrew Trick
2011-04-27Simplify cfg inserts a call to trap when unreachable code is detected. Assign...Devang Patel
2011-04-27Stop trying to have instcombine preserve LCSSA form: this was notDuncan Sands
2011-04-26Transform: "icmp eq (trunc (lshr(X, cst1)), cst" to "icmp (and X, mask), cst"Chris Lattner
2011-04-26some random cleanups, no functionality change.Chris Lattner
2011-04-26Improve the bail-out predicate to really only kick in when phiChris Lattner
2011-04-26Rename everything to follow LLVM style ... I think.Nick Lewycky
2011-04-26Enhance MemDep: When alias analysis returns a partial alias result,Chris Lattner
2011-04-23Remove unused STL header includes.Jay Foad
2011-04-21PR9214: Convert Metadata API to use ArrayRef.Jay Foad
2011-04-21In gcov profiling, give all functions an extra unified return block. This isNick Lewycky
2011-04-21Fix think-o: emit all 8 bytes of the EOF marker. Also reflow a line in aNick Lewycky
2011-04-21Add independent controls for whether GCOV profiling should emit .gcno files orNick Lewycky
2011-04-20Fix another case of <rdar://problem/9184212> that only occurs with codeCameron Zwarich
2011-04-20The bitcast case here is actually handled uniformly earlier in the function, soCameron Zwarich
2011-04-20Cleanup some code to better use an early return style in preparation for addingCameron Zwarich
2011-04-19Trivial simplification.Jay Foad
2011-04-18Mark some functions as used which are used within debug-only code. ThisChandler Carruth
2011-04-16Rename a misleadingly-named variable.Frits van Bommel
2011-04-16Fix bug when checking phi operands in InstCombiner::visitPHINode(),Jay Foad
2011-04-16Fix cmake build.Rafael Espindola
2011-04-16Move the re-stemming function up top and use it where it's currently inlined.Nick Lewycky