summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine
Commit message (Expand)AuthorAgeFilesLines
* PR10180: Fix a instcombine crash with FP vectors.Eli Friedman2011-06-231-2/+2
* Revamp the "ConstantStruct::get" methods. Previously, these were scatteredChris Lattner2011-06-201-6/+11
* Revert r133285. Causing odd failures on Dragonegg.Chad Rosier2011-06-171-4/+5
* Relocate NUW test to cover all binary ops in a dynamic alloca expr.Stuart Hastings2011-06-171-5/+4
* Avoid fusing bitcasts with dynamic allocas if the amount-to-allocateStuart Hastings2011-06-131-0/+5
* InstCombine: Fold A-b == C --> b == A-C if A and C are constants.Benjamin Kramer2011-06-131-7/+16
* InstCombine: Shrink ((zext X) & C1) == C2 to fold away the cast if the "zext"...Benjamin Kramer2011-06-121-1/+17
* Simplify code. No functionality changes, name changes aside.Benjamin Kramer2011-06-121-11/+6
* Reapply 132348 with fixes. rdar://problem/6501862Stuart Hastings2011-06-011-9/+15
* Revert to pacify a buildbot. rdar://problem/6501862Stuart Hastings2011-05-311-16/+9
* Followup to 132316; accept arbitrary constants, add with a constant,Stuart Hastings2011-05-311-9/+16
* (1 - X) * (-2) -> (x - 1) * 2, for all positive nonzero powers of 2Stuart Hastings2011-05-301-0/+17
* ConstantFoldInstOperands doesn't like compares, hand it off to instsimplify i...Benjamin Kramer2011-05-281-0/+10
* InstCombine: Make switch folding with equality compares more aggressive by tr...Benjamin Kramer2011-05-271-15/+54
* Final step of instcombine debuginfo; switch a couple more places over to Inse...Eli Friedman2011-05-275-16/+34
* Renamed llvm.x86.sse42.crc32 intrinsics; crc64 doesn't exist. Chad Rosier2011-05-261-2/+2
* PR9998: ashr exact %x, 31 is not equivalent to sdiv exact %x, -2147483648.Eli Friedman2011-05-251-4/+4
* Make instcombine O(N) instead of O(N^2) in code where the same simplifiable c...Eli Friedman2011-05-241-10/+11
* rearrange two transforms, since one subsumes the other. Make the shift-exact...Chris Lattner2011-05-231-16/+23
* Transform any logical shift of a power of two into an exact/NUW shift whenChris Lattner2011-05-231-0/+17
* use the valuetracking isPowerOfTwo function, which is more powerful than chec...Chris Lattner2011-05-231-4/+4
* add some random notes.Chris Lattner2011-05-221-0/+5
* Carve out a place in instcombine to put transformations which work knowing th...Chris Lattner2011-05-221-0/+37
* Revert "InstCombine: Turn mul.with.overflow(X, 2) into the cheaper add.with.o...Benjamin Kramer2011-05-211-14/+0
* InstCombine: Turn mul.with.overflow(X, 2) into the cheaper add.with.overflow(...Benjamin Kramer2011-05-211-0/+14
* Revert r131664 and fix it in instcombine instead. rdar://9467055Evan Cheng2011-05-201-0/+4
* Add comment.Evan Cheng2011-05-191-0/+1
* Make the demanded bits/elements optimizations preserve debug line information.Eli Friedman2011-05-192-15/+23
* More instcombine cleanup, towards improving debug line info.Eli Friedman2011-05-183-10/+12
* More instcombine simplifications towards better debug locations.Eli Friedman2011-05-182-13/+10
* More instcombine cleanup aimed towards improving debug line info.Eli Friedman2011-05-181-21/+18
* Switch more inst insertion in instcombine to IRBuilder.Eli Friedman2011-05-181-10/+6
* Switch more inst insertion in instcombine to IRBuilder.Eli Friedman2011-05-181-13/+6
* Switch inst insertion in instcombine transform to IRBuilder.Eli Friedman2011-05-181-6/+2
* Fix inelegant initialization.Stuart Hastings2011-05-181-2/+1
* Start trying to make InstCombine preserve more debug info. The idea here is ...Eli Friedman2011-05-182-5/+6
* Use ReplaceInstUsesWith instead of replaceAllUsesWith where appropriate in in...Eli Friedman2011-05-183-11/+11
* X86 pmovsx/pmovzx ignore the upper half of their inputs.Stuart Hastings2011-05-172-1/+23
* Avoid combining GEPs that might overflow at runtime.Stuart Hastings2011-05-141-1/+3
* PR9838: Fix transform introduced in r127064 to not trigger when only one side...Eli Friedman2011-05-051-1/+1
* Remove unused variable.Duncan Sands2011-05-021-1/+1
* Move some rem transforms out of instcombine and into instsimplify.Duncan Sands2011-05-021-42/+19
* InstCombine: Turn (zext A) udiv (zext B) into (zext (A udiv B)). Same for ure...Benjamin Kramer2011-04-301-1/+28
* Use SimplifyDemandedBits on div instructions.Benjamin Kramer2011-04-301-0/+4
* Balance parentheses.Benjamin Kramer2011-04-291-1/+1
* InstCombine: turn (C1 << A) << C2) into (C1 << C2) << A)Benjamin Kramer2011-04-291-1/+8
* We require threse bits to be zero, too.Benjamin Kramer2011-04-281-2/+2
* Fix a comment.Benjamin Kramer2011-04-281-1/+1
* InstCombine: Merge "(trunc x) == C1 & (and x, CA) == C2" into a single and+icmp.Benjamin Kramer2011-04-281-0/+36
* Stop trying to have instcombine preserve LCSSA form: this was notDuncan Sands2011-04-273-6/+0
OpenPOWER on IntegriCloud