aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Analysis
Commit message (Expand)AuthorAgeFilesLines
* Formatting and comment tweaks.Duncan Sands2011-02-091-5/+5
* Teach instsimplify some tricks about exact/nuw/nsw shifts.Chris Lattner2011-02-091-39/+69
* Rework InstrTypes.h so to reduce the repetition around the NSW/NUW/ExactChris Lattner2011-02-091-2/+2
* Add an m_Div pattern for matching either a udiv or an sdiv and use itDuncan Sands2011-02-071-4/+2
* teach instsimplify to transform (X / Y) * Y to XChris Lattner2011-02-061-3/+5
* Remove premature optimization that avoided calculating argument weightsEric Christopher2011-02-061-5/+0
* Simplify test, as suggested by Chris.Anders Carlsson2011-02-061-6/+2
* When loading from a constant, fold inttoptr if the integer type and the resul...Anders Carlsson2011-02-061-0/+11
* Fix another warning.Anders Carlsson2011-02-051-1/+1
* Fix cut and paste error spotted by Jakob.Eric Christopher2011-02-051-1/+1
* Rewrite how the indirect call bonus is handled. This now works by:Eric Christopher2011-02-051-78/+125
* Improve threading of comparisons over select instructions (spotted by myDuncan Sands2011-02-031-3/+25
* Fix typo in comment.Devang Patel2011-02-031-1/+1
* Add support to describe template value parameter in debug info.Devang Patel2011-02-022-0/+27
* Add support to describe template parameter type in debug info.Devang Patel2011-02-022-2/+28
* Reenable the transform "(X*Y)/Y->X" when the multiplication is known not toDuncan Sands2011-02-021-5/+5
* Add a m_Undef pattern for convenience. This is so that code that usesDuncan Sands2011-02-011-16/+16
* Add a m_SignBit pattern for convenience.Duncan Sands2011-02-011-3/+1
* Have m_One also match constant vectors for which every element is 1.Duncan Sands2011-02-011-6/+0
* Reapply 124275 since the Dragonegg failure was unreproducible.Eric Christopher2011-02-011-82/+85
* Commit 124487 broke 254.gap. See if disabling the part that might be triggeredDuncan Sands2011-01-301-5/+5
* Transform (X/Y)*Y into X if the division is exact. Instcombine already knows...Duncan Sands2011-01-301-0/+9
* Fix comment.Nick Lewycky2011-01-291-1/+1
* Move InstCombine's knowledge of fdiv to SimplifyInstruction().Frits van Bommel2011-01-291-2/+24
* Fix typo: should have been testing that X was odd, not V.Duncan Sands2011-01-291-3/+3
* Implementation of path profiling.Andrew Trick2011-01-295-3/+1176
* This dyn_cast should be a cast. Pointed out by Frits van Bommel.Duncan Sands2011-01-281-1/+1
* Thread divisions over selects and phis. This doesn't fire much and has basic...Duncan Sands2011-01-281-9/+19
* My auto-simplifier noticed that ((X/Y)*Y)/Y occurs several times in SPECDuncan Sands2011-01-281-0/+107
* Temporarily revert 124275 to see if it brings the dragonegg buildbot back.Eric Christopher2011-01-261-85/+82
* APInt has a method for determining whether a number is a power of 2Duncan Sands2011-01-261-1/+1
* Fix memory corruption. If one of the SCEV creation functions calls another butNick Lewycky2011-01-261-0/+2
* Separate out the constant bonus from the size reduction metrics. ReworkEric Christopher2011-01-261-82/+85
* Coding style formatting changes.Eric Christopher2011-01-261-7/+2
* In which I discover that zero+zero is zero, d'oh!Duncan Sands2011-01-251-3/+3
* See if this fixes llvm-gcc bootstrap.Duncan Sands2011-01-251-1/+2
* According to my auto-simplifier the most common missed simplifications inDuncan Sands2011-01-252-13/+228
* Reorganize this so that the early exit and special cases come earlyEric Christopher2011-01-251-26/+26
* Give GetUnderlyingObject a TargetData, to keep it in syncDan Gohman2011-01-245-11/+13
* fix PR8928 by clearing a stale map, patch by Jakub Staszak!Chris Lattner2011-01-241-0/+1
* Add a comment.Dan Gohman2011-01-241-0/+1
* Simplify some code with no functionality change. Make the test a lot moreNick Lewycky2011-01-231-12/+4
* Null initialize a few variables flagged byTed Kremenek2011-01-231-1/+1
* Use value ranges to fold ext(trunc) in SCEV when possible.Nick Lewycky2011-01-231-0/+34
* Have SCEV turn sext(x) into zext(x) when x is s>= 0. This applies many times inNick Lewycky2011-01-221-0/+4
* Add a FIXME explaining the move to a single indirect call bonus per functionEric Christopher2011-01-221-0/+5
* Only apply the devirtualization bonus once instead of per-call site in theEric Christopher2011-01-221-2/+6
* At -O123 the early-cse pass is run before instcombine has run. According to myDuncan Sands2011-01-201-0/+162
* Similarly, analyze truncate through multiply.Nick Lewycky2011-01-191-0/+14
* Add a missed SCEV fold that is required to continue analyzing the IR producedNick Lewycky2011-01-191-0/+14