aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/InstCombine
Commit message (Expand)AuthorAgeFilesLines
* Merge the contents from exception-handling-rewrite to the mainline.Bill Wendling2011-07-271-3/+5
* Shorten some expressions by using ArrayRef::slice().Frits van Bommel2011-07-251-2/+1
* Convert GetElementPtrInst to use ArrayRef.Jay Foad2011-07-254-11/+8
* Convert IRBuilder::CreateGEP and IRBuilder::CreateInBoundsGEP to useJay Foad2011-07-223-15/+10
* Fix an MSVC warning, caused by a case I missed when convertingJay Foad2011-07-221-1/+1
* Clean up includes of llvm/Analysis/ConstantFolding.h so it's included where i...Eli Friedman2011-07-204-0/+4
* Convert SimplifyGEPInst to use ArrayRef.Jay Foad2011-07-191-1/+1
* Convert TargetData::getIndexedOffset to use ArrayRef.Jay Foad2011-07-191-2/+1
* Use ArrayRef in ConstantFoldInstOperands and ConstantFoldCall.Jay Foad2011-07-191-1/+1
* Migrate LLVM and Clang to use the new makeArrayRef(...) functions where previ...Frits van Bommel2011-07-181-2/+2
* land David Blaikie's patch to de-constify Type, with a few tweaks.Chris Lattner2011-07-1814-152/+152
* Convert CallInst and InvokeInst APIs to use ArrayRef.Jay Foad2011-07-151-4/+4
* start using the new helper methods a bit.Chris Lattner2011-07-152-21/+19
* Change Intrinsic::getDeclaration and friends to take an ArrayRef.Benjamin Kramer2011-07-143-5/+4
* It's not safe to fold (fptrunc (sqrt (fpext x))) to (sqrtf x) if there is ano...Evan Cheng2011-07-131-1/+2
* Convert InsertValueInst and ExtractValueInst APIs to use ArrayRef.Jay Foad2011-07-132-7/+6
* Second attempt at de-constifying LLVM Types in FunctionType::get(),Jay Foad2011-07-123-9/+9
* Revert r134893 and r134888 (and related patches in other trees). It was causingBill Wendling2011-07-123-9/+9
* De-constify Types in FunctionType::get().Jay Foad2011-07-113-9/+9
* Don't duplicate the work done by a gep into a "bitcast" if the gep hasRafael Espindola2011-07-111-0/+8
* Reapply a fixed version of r133285.Bob Wilson2011-07-081-5/+8
* PR10267: Don't combine an equality compare with an AND into an inequality com...Benjamin Kramer2011-07-041-1/+5
* Generalize @llvm.ctlz, @llvm.cttz, and @llvm.ctpop to work on vectors of inte...Owen Anderson2011-07-011-2/+6
* 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