aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis
AgeCommit message (Expand)Author
2011-03-09Add another micro-optimization. Apologies for the lack of refactoring, but INick Lewycky
2011-03-08Fix PR9331. Simplified version of a patch by Jakub Staszak.Duncan Sands
2011-03-07Add more analysis of the sign bit of an srem instruction. If the LHS is negativeNick Lewycky
2011-03-05Thread comparisons over udiv/sdiv/ashr/lshr exact and lshr nuw/nsw wheneverNick Lewycky
2011-03-04When decling to reuse existing expressions that involve casts, ignoreDan Gohman
2011-03-04Revert broken srem logic from r126991.Nick Lewycky
2011-03-04Fold "icmp pred (srem X, Y), Y" like we do for urem. Handle signed comparisonsNick Lewycky
2011-03-04Teach instruction simplify to use constant ranges to solve problems of the formNick Lewycky
2011-03-02Remove DIFactory. Patch by Devang.Duncan Sands
2011-03-02Don't re-use existing addrec expansions if they contain casts.Dan Gohman
2011-03-01Today, the language front ends produces llvm.dbg.* intrinsics, used to encode...Devang Patel
2011-03-01Optimize "icmp pred (urem X, Y), Y" --> true/false depending on pred. There'sNick Lewycky
2011-03-01Unbreak CMake build.Ted Kremenek
2011-02-28Delete the LiveValues pass. I won't get get back to the project itDan Gohman
2011-02-28Fix comment.Nick Lewycky
2011-02-28srem doesn't actually have the same resulting sign as its numerator, you couldNick Lewycky
2011-02-28Teach value tracking to make use of flags in more situations.Nick Lewycky
2011-02-28Teach ValueTracking to look at the dividend when determining the sign bit of anNick Lewycky
2011-02-27RegionPrinter: Ignore back edges when layouting the graphTobias Grosser
2011-02-22Follow LLVM coding style. Devang Patel
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