aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar/InstructionCombining.cpp
AgeCommit message (Expand)Author
2009-12-05Generalize this optimization to work on equality comparisons between any twoNick Lewycky
2009-11-29add testcases for the foo_with_overflow op xforms added recently andChris Lattner
2009-11-29Implement PR5634.Chris Lattner
2009-11-27factor some logic out of instcombine into a new SimplifyAddInst method.Chris Lattner
2009-11-27factor some instcombine simplifications for getelementptr out to a new Chris Lattner
2009-11-26fix crash on Transforms/InstCombine/intrinsics.ll introduced by r89970 Chris Lattner
2009-11-26Fix PR5471 by removing an instcombine xform. Some pieces of the codeChris Lattner
2009-11-26implement a bunch of xforms for overflow intrinsics, based on a patchChris Lattner
2009-11-23Reapply r88830 with a bugfix: this transform only applies to icmp eq/ne. ThisNick Lewycky
2009-11-20Fix PR5563, an expensive checks failure when running onDuncan Sands
2009-11-16Fix an expensive-checks error.David Greene
2009-11-15Revert r88830 and r88831 which appear to have caused a selfhost buildbot someNick Lewycky
2009-11-15Teach instcombine to look for booleans in wider integers when it encounters aNick Lewycky
2009-11-10clarify logic.Chris Lattner
2009-11-10Add brackets to make gcc-4.4 happy.Duncan Sands
2009-11-10unify the code that determines whether it is a good idea to change the typeChris Lattner
2009-11-10factor simplification logic for AND and OR out to InstSimplify from instcombine.Chris Lattner
2009-11-09pull a bunch of logic out of instcombine into instsimplify for compare Chris Lattner
2009-11-09inline a simple function.Chris Lattner
2009-11-09rename SimplifyCompare -> SimplifyCmpInst and split it into Chris Lattner
2009-11-09if a 'with overflow' intrinsic just has the normal result used, simplifyChris Lattner
2009-11-09enhance PHI slicing to handle the case when a slicable PHI is beginChris Lattner
2009-11-08Teach an instcombine to not pull trunc instructions through PHI nodesChris Lattner
2009-11-08reapply r8644[3-5] with only the scary part Chris Lattner
2009-11-08Speculatively revert r8644[3-5], they seem to be leading to infinite loops inDaniel Dunbar
2009-11-08teach a couple of instcombine transformations involving PHIs toChris Lattner
2009-11-07make instcombine only rewrite a chain of computation Chris Lattner
2009-11-06remove some more Context arguments.Chris Lattner
2009-11-06remove a bunch of extraneous LLVMContext argumentsChris Lattner
2009-11-04move two functions up higher in the file. Delete a useless argumentChris Lattner
2009-11-02fix instcombine to only do store sinking when the alignmentsChris Lattner
2009-11-01when merging two loads, make sure to take the min of their alignment,Chris Lattner
2009-11-01split load sinking out to its own function, like gep sinking.Chris Lattner
2009-11-01fix a bug noticed by inspection: when instcombine sinks loads throughChris Lattner
2009-10-31add a comment.Chris Lattner
2009-10-31Reapply r85634, with the bug fixed.Dan Gohman
2009-10-31Revert 85634. It's breaking consumer-typeset (and others).Evan Cheng
2009-10-30Optimize around the fact that pred_iterator is slow: instead of sortingDan Gohman
2009-10-30Sort the incoming values in PHI nodes to match the predecessor order.Dan Gohman
2009-10-27Rename MallocFreeHelper as MemoryBuiltinsVictor Hernandez
2009-10-27Add braces to avoid ambiguous else.Dan Gohman
2009-10-26Rename MallocHelper as MallocFreeHelper, since it now also identifies calls t...Victor Hernandez
2009-10-26Remove FreeInst.Victor Hernandez
2009-10-26Code that checks WillNotOverflowSignedAdd before creating an AddDan Gohman
2009-10-26reapply r85085 with a bugfix to avoid infinite looping.Chris Lattner
2009-10-26Revert 85085. It causes infinite looping during llvm-gcc build.Evan Cheng
2009-10-26Implement PR3266 & PR5276, folding:Chris Lattner
2009-10-25Remove ICmpInst::isSignedPredicate which was a reimplementationNick Lewycky
2009-10-24Auto-upgrade free instructions to calls to the builtin free function.Victor Hernandez
2009-10-23Remove AllocationInst. Since MallocInst went away, AllocaInst is the only su...Victor Hernandez