aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/InstCombine/InstCombineShifts.cpp
AgeCommit message (Expand)Author
2013-02-01Revert r174152. The shift amount may overflow and in that case this transform...Nadav Rotem
2013-02-01Optimize shift lefts of a constant by a value plus constant into a single shift.Nadav Rotem
2013-01-02Move all of the header files which are involved in modelling the LLVM IRChandler Carruth
2012-12-09Use m_OneUse pattern instead of hasOneUse() method.Jakub Staszak
2012-12-09Remove trailing spaces.Jakub Staszak
2012-12-03Use the new script to sort the includes of every file under lib.Chandler Carruth
2012-10-08Move TargetData to DataLayout.Micah Villmow
2012-09-27Revert 'Fix a typo 'iff' => 'if''. iff is an abreviation of if and only if. S...Sylvestre Ledru
2012-09-27Fix a typo 'iff' => 'if'Sylvestre Ledru
2012-05-27PR12967: Don't crash when trying to fold a shift that's larger than the type'...Benjamin Kramer
2012-04-23Reapply r155136 after fixing PR12599.Jakob Stoklund Olesen
2012-04-20Revert r155136 "Defer some shl transforms to DAGCombine."Jakob Stoklund Olesen
2012-04-19Defer some shl transforms to DAGCombine.Jakob Stoklund Olesen
2012-02-07Convert assert(0) to llvm_unreachableCraig Topper
2012-01-04Remove pointless asserts.Nick Lewycky
2012-01-04Teach instcombine all sorts of great stuff about shifts that have exact, nuw orNick Lewycky
2011-12-31Make use of the exact bit when optimizing '(X >>exact 3) << 1' to eliminate theNick Lewycky
2011-12-02Fix a few more places where TargetData/TargetLibraryInfo is not being passed.Chad Rosier
2011-07-29Make sure to correctly clear the exact/nuw/nsw flags off of shifts when they ...Eli Friedman
2011-07-20Clean up includes of llvm/Analysis/ConstantFolding.h so it's included where i...Eli Friedman
2011-07-18land David Blaikie's patch to de-constify Type, with a few tweaks.Chris Lattner
2011-04-29Balance parentheses.Benjamin Kramer
2011-04-29InstCombine: turn (C1 << A) << C2) into (C1 << C2) << A)Benjamin Kramer
2011-02-10Enhance a bunch of transformations in instcombine to start generatingChris Lattner
2011-02-09Teach instsimplify some tricks about exact/nuw/nsw shifts.Chris Lattner
2011-01-23Null initialize a few variables flagged byTed Kremenek
2011-01-14Move some shift transforms out of instcombine and into InstructionSimplify.Duncan Sands
2010-12-23When determining if we can fold (x >> C1) << C2, the bits that we need to ver...Owen Anderson
2010-12-09Really check that the bits that will become zero are actually already zeroDan Gohman
2010-11-23The srem -> urem transform is not safe for any divisor that's not a power of ...Benjamin Kramer
2010-11-23InstCombine: Reduce "X shift (A srem B)" to "X shift (A urem B)" iff B is pos...Benjamin Kramer
2010-11-10When checking that the necessary bits are zero inDale Johannesen
2010-11-01When folding away a (shl (shr)) pair, we need to check that the bits that wil...Owen Anderson
2010-08-28optimize bitcasts from large integers to vector into vectorChris Lattner
2010-08-27Enhance the shift propagator to handle the case when you have:Chris Lattner
2010-08-27Implement a pretty general logical shift propagationChris Lattner
2010-08-27remove some special shift cases that have been subsumed into theChris Lattner
2010-06-24use ArgOperand APIGabor Greif
2010-04-16Revert 101465, it broke internal OpenGL testing.Eric Christopher
2010-04-16reapply r101434Gabor Greif
2010-04-16back out r101423 and r101397, they break llvm-gcc self-host on darwin10Gabor Greif
2010-04-15reapply r101364, which has been backed out in r101368Gabor Greif
2010-04-15back out r101364, as it trips the linux nightlybot on some clang C++ testsGabor Greif
2010-04-15rotate CallInst operands, i.e. move callee to the backGabor Greif
2010-01-23fix a potential overflow issue Eli pointed out.Chris Lattner
2010-01-23implement a simple instcombine xform that has been in theChris Lattner
2010-01-18my instcombine transformations to make extension elimination moreChris Lattner
2010-01-10change the preferred canonical form for a sign extension to beChris Lattner
2010-01-10fix indentation of switch statements, no functionality change.Chris Lattner
2010-01-08teach instcombine to delete sign extending shift pairs (sra(shl X, C), C) whenChris Lattner