aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis
AgeCommit message (Expand)Author
2011-02-20Move "A | ~(A & ?) -> -1" from InstCombine to InstructionSimplify.Benjamin Kramer
2011-02-19Stores of null pointers should turn into memset, we weren't recognizingChris Lattner
2011-02-18Move library stuff out of the toplevel CMakeLists.txt file.Oscar Fuentes
2011-02-15Move DbgInfoPrinter specific utlities inside DbgInfoPrinter.cppDevang Patel
2011-02-15Print function info. Patch by Minjang Kim.Devang Patel
2011-02-15convert ConstantVector::get to use ArrayRef.Chris Lattner
2011-02-14revert my ConstantVector patch, it seems to have made the llvm-gccChris Lattner
2011-02-14Switch ConstantVector::get to use ArrayRef instead of a pointer+sizeChris Lattner
2011-02-13Remove pointless blank line.Duncan Sands
2011-02-13Teach instsimplify that X+Y>=X+Z is the same as Y>=Z if neither side overflows,Duncan Sands
2011-02-13teach SCEV that the scale and addition of an inbounds gep don't NSW.Chris Lattner
2011-02-11Per discussion with Dan G, inbounds geps *certainly* can haveChris Lattner
2011-02-10Tolerate degenerate phi nodes that can occur in the middle of optimizationNick Lewycky
2011-02-09Formatting and comment tweaks.Duncan Sands
2011-02-09Teach instsimplify some tricks about exact/nuw/nsw shifts.Chris Lattner
2011-02-09Rework InstrTypes.h so to reduce the repetition around the NSW/NUW/ExactChris Lattner
2011-02-07Add an m_Div pattern for matching either a udiv or an sdiv and use itDuncan Sands
2011-02-06teach instsimplify to transform (X / Y) * Y to XChris Lattner
2011-02-06Remove premature optimization that avoided calculating argument weightsEric Christopher
2011-02-06Simplify test, as suggested by Chris.Anders Carlsson
2011-02-06When loading from a constant, fold inttoptr if the integer type and the resul...Anders Carlsson
2011-02-05Fix another warning.Anders Carlsson
2011-02-05Fix cut and paste error spotted by Jakob.Eric Christopher
2011-02-05Rewrite how the indirect call bonus is handled. This now works by:Eric Christopher
2011-02-03Improve threading of comparisons over select instructions (spotted by myDuncan Sands
2011-02-03Fix typo in comment.Devang Patel
2011-02-02Add support to describe template value parameter in debug info.Devang Patel
2011-02-02Add support to describe template parameter type in debug info.Devang Patel
2011-02-02Reenable the transform "(X*Y)/Y->X" when the multiplication is known not toDuncan Sands
2011-02-01Add a m_Undef pattern for convenience. This is so that code that usesDuncan Sands
2011-02-01Add a m_SignBit pattern for convenience.Duncan Sands
2011-02-01Have m_One also match constant vectors for which every element is 1.Duncan Sands
2011-02-01Reapply 124275 since the Dragonegg failure was unreproducible.Eric Christopher
2011-01-30Commit 124487 broke 254.gap. See if disabling the part that might be triggeredDuncan Sands
2011-01-30Transform (X/Y)*Y into X if the division is exact. Instcombine already knows...Duncan Sands
2011-01-29Fix comment.Nick Lewycky
2011-01-29Move InstCombine's knowledge of fdiv to SimplifyInstruction().Frits van Bommel
2011-01-29Fix typo: should have been testing that X was odd, not V.Duncan Sands
2011-01-29Implementation of path profiling.Andrew Trick
2011-01-28This dyn_cast should be a cast. Pointed out by Frits van Bommel.Duncan Sands
2011-01-28Thread divisions over selects and phis. This doesn't fire much and has basic...Duncan Sands
2011-01-28My auto-simplifier noticed that ((X/Y)*Y)/Y occurs several times in SPECDuncan Sands
2011-01-26Temporarily revert 124275 to see if it brings the dragonegg buildbot back.Eric Christopher
2011-01-26APInt has a method for determining whether a number is a power of 2Duncan Sands
2011-01-26Fix memory corruption. If one of the SCEV creation functions calls another butNick Lewycky
2011-01-26Separate out the constant bonus from the size reduction metrics. ReworkEric Christopher
2011-01-26Coding style formatting changes.Eric Christopher
2011-01-25In which I discover that zero+zero is zero, d'oh!Duncan Sands
2011-01-25See if this fixes llvm-gcc bootstrap.Duncan Sands
2011-01-25According to my auto-simplifier the most common missed simplifications inDuncan Sands