aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ValueTracking.cpp
AgeCommit message (Expand)AuthorFilesLines
2011-07-18Migrate LLVM and Clang to use the new makeArrayRef(...) functions where previ...Frits van Bommel1-6/+3
2011-07-18land David Blaikie's patch to de-constify Type, with a few tweaks.Chris Lattner1-15/+15
2011-07-13Convert InsertValueInst and ExtractValueInst APIs to use ArrayRef.Jay Foad1-31/+28
2011-06-27Move onlyUsedByLifetimeMarkers to ValueTracking so that it can be used by otherNick Lewycky1-0/+16
2011-05-26Renamed llvm.x86.sse42.crc32 intrinsics; crc64 doesn't exist. Chad Rosier1-2/+2
2011-05-23Teach valuetracking that byval arguments with a specified alignment areChris Lattner1-1/+11
2011-05-22Teach ValueTracking about x86 crc32 intrinsics.Evan Cheng1-0/+4
2011-04-15Fix a ton of comment typos found by codespell. Patch byChris Lattner1-2/+2
2011-04-02Don't assume something which might be a constant expression is an instruction.Eli Friedman1-3/+3
2011-03-21Fix INT_MIN gotcha pointed out by Eli Friedman.Nick Lewycky1-3/+4
2011-03-12Teach ComputeMaskedBits about sub nsw.Benjamin Kramer1-8/+16
2011-03-11ComputeMaskedBits: sub falls through to add, and sub doesn't have the same ov...Benjamin Kramer1-1/+2
2011-03-11Teach ComputeMaskedBits about nsw on add. I don't think there's anything we canNick Lewycky1-0/+14
2011-03-08Fix PR9331. Simplified version of a patch by Jakub Staszak.Duncan Sands1-0/+4
2011-03-07Add more analysis of the sign bit of an srem instruction. If the LHS is negativeNick Lewycky1-0/+13
2011-02-28Fix comment.Nick Lewycky1-1/+1
2011-02-28srem doesn't actually have the same resulting sign as its numerator, you couldNick Lewycky1-12/+0
2011-02-28Teach value tracking to make use of flags in more situations.Nick Lewycky1-0/+25
2011-02-28Teach ValueTracking to look at the dividend when determining the sign bit of anNick Lewycky1-0/+12
2011-02-19Stores of null pointers should turn into memset, we weren't recognizingChris Lattner1-0/+5
2011-02-10Tolerate degenerate phi nodes that can occur in the middle of optimizationNick Lewycky1-0/+4
2011-02-01Add a m_SignBit pattern for convenience.Duncan Sands1-3/+1
2011-01-29Fix typo: should have been testing that X was odd, not V.Duncan Sands1-3/+3
2011-01-26APInt has a method for determining whether a number is a power of 2Duncan Sands1-1/+1
2011-01-25In which I discover that zero+zero is zero, d'oh!Duncan Sands1-3/+3
2011-01-25See if this fixes llvm-gcc bootstrap.Duncan Sands1-1/+2
2011-01-25According to my auto-simplifier the most common missed simplifications inDuncan Sands1-1/+164
2011-01-24Give GetUnderlyingObject a TargetData, to keep it in syncDan Gohman1-3/+4
2011-01-04fix an off-by-one bug that caused a crash analyzingChris Lattner1-1/+1
2010-12-26move isBytewiseValue out to ValueTracking.h/cppChris Lattner1-0/+69
2010-12-17Add vector versions of some existing scalar transforms to aid codegen in matc...Nate Begeman1-0/+7
2010-12-15Reapply r121886, and also update DecomposeGEPExpression to keepDan Gohman1-0/+8
2010-12-15Revert r121886. DecomposeGEPExpression needs to be keptDan Gohman1-8/+0
2010-12-15Strengthen GetUnderlyingObject using InstructionSimplify.Dan Gohman1-0/+9
2010-12-15Move Value::getUnderlyingObject to be a standaloneDan Gohman1-0/+20
2010-12-07PR5207: Change APInt methods trunc(), sext(), zext(), sextOrTrunc() andJay Foad1-12/+10
2010-12-01PR5207: Rename overloaded APInt methods set(), clear(), flip() toJay Foad1-11/+11
2010-11-30move GetPointerBaseWithConstantOffset out of GVN into ValueTracking.hChris Lattner1-0/+41
2010-11-30PR5207: Make APInt::set(), APInt::clear() and APInt::flip() return void.Jay Foad1-2/+3
2010-09-05fix PR8063, a crash in globalopt in the malloc analysis code.Chris Lattner1-20/+29
2010-08-18move gep decomposition out of ValueTracking into BasicAA. The form ofChris Lattner1-189/+0
2010-08-18Revert r111375, "move gep decomposition out of ValueTracking into BasicAA. TheDaniel Dunbar1-0/+188
2010-08-18move gep decomposition out of ValueTracking into BasicAA. The form ofChris Lattner1-188/+0
2010-08-18fix PR7589: In brief:Chris Lattner1-3/+3
2010-06-23use ArgOperand accessorsGabor Greif1-2/+2
2010-04-16Revert 101465, it broke internal OpenGL testing.Eric Christopher1-2/+2
2010-04-16reapply r101434Gabor Greif1-2/+2
2010-04-16back out r101423 and r101397, they break llvm-gcc self-host on darwin10Gabor Greif1-2/+2
2010-04-15reapply r101364, which has been backed out in r101368Gabor Greif1-2/+2
2010-04-15back out r101364, as it trips the linux nightlybot on some clang C++ testsGabor Greif1-2/+2