aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/InstCombine
Commit message (Expand)AuthorAgeFilesLines
* This transform is not safe. Thanks to Eli for pointing that out!Nick Lewycky2011-08-141-8/+1
* Don't attempt to add 'nsw' when intermediate instructions had no such guarantee.Nick Lewycky2011-08-141-4/+7
* Teach instcombine to preserve the nsw bit by doing an after-the-fact analysisNick Lewycky2011-08-141-3/+54
* Small cleanups:Nick Lewycky2011-08-031-3/+2
* Fix logical error when detecting lifetime intrinsics.Nick Lewycky2011-08-031-33/+34
* Teach InstCombine that lifetime intrincs aren't a real user on the result of aNick Lewycky2011-08-021-11/+35
* Add the 'resume' instruction for the new EH rewrite.Bill Wendling2011-07-311-3/+5
* Add a small gep optimization I noticed was missing while reading some IL.Rafael Espindola2011-07-311-11/+13
* Revert r136253, r136263, r136269, r136313, r136325, r136326, r136329, r136338,Bill Wendling2011-07-301-5/+3
* Make sure to correctly clear the exact/nuw/nsw flags off of shifts when they ...Eli Friedman2011-07-291-19/+27
* Rewrite the CMake build to use explicit dependencies between libraries,Chandler Carruth2011-07-291-0/+8
* 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