summaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar/IndVarSimplify.cpp
AgeCommit message (Expand)AuthorFilesLines
2012-10-08Move TargetData to DataLayout.Micah Villmow1-6/+6
2012-10-04Add a comment to the commit r165187.Jakub Staszak1-1/+3
2012-10-03Fix PR13967.Jakub Staszak1-1/+4
2012-08-29Make MemoryBuiltins aware of TargetLibraryInfo.Benjamin Kramer1-7/+10
2012-07-18indvars: drive by heuristics fix.Andrew Trick1-1/+1
2012-07-18indvars: Linear function test replace should avoid reusing undef.Andrew Trick1-5/+67
2012-03-24More IndVarSimplify cleanup.Andrew Trick1-25/+16
2012-03-22Remove -enable-iv-rewrite, which has been unsupported since 3.0.Andrew Trick1-265/+7
2012-03-16LSR fix: Add isSimplifiedLoopNest to IVUsers analysis.Andrew Trick1-4/+9
2012-02-19Remove dead code. Improve llvm_unreachable text. Simplify some control flow.Ahmed Charles1-1/+0
2012-01-28Fix typo.Nick Lewycky1-2/+2
2012-01-20SCEVExpander fixes. Affects LSR and indvars.Andrew Trick1-4/+4
2011-12-12Indvars: guard against exponential behavior in isHighCostExpansion.Andrew Trick1-2/+7
2011-12-05Add support for vectors of pointers.Nadav Rotem1-0/+5
2011-11-29SCEV fix. In general, Add/Mul expressions should not inherit NSW/NUW.Andrew Trick1-2/+6
2011-11-26Move code into anonymous namespaces.Benjamin Kramer1-12/+10
2011-11-02Rewrite LinearFunctionTestReplace to handle pointer-type IVs.Andrew Trick1-73/+116
2011-11-02Add parentheses to disambiguate the precedence of these operations andChandler Carruth1-2/+2
2011-11-02Broaden an assert to handle enable-iv-rewrite=true following r143183.Andrew Trick1-1/+1
2011-10-28LFTR should avoid a type mismatch with null pointer IVs.Andrew Trick1-16/+18
2011-10-27It is not safe to sink an alloca into a stacksave/stackrestore pair, so don't...Eli Friedman1-5/+6
2011-10-15Fix indvars randomness by removing iteration over a map.Andrew Trick1-12/+12
2011-10-11Move replaceCongruentIVs into SCEVExapander and bias toward "expanded"Andrew Trick1-87/+6
2011-09-28indvars should hoist [sz]ext because licm is not rerun.Andrew Trick1-17/+27
2011-09-15Reapply r139759. Disable IV rewriting by default. See PR10916.Andrew Trick1-1/+1
2011-09-13[indvars] Revert r139579 until 401.bzip -arch i386 miscompilation is fixed. P...Andrew Trick1-1/+1
2011-09-13Disable IV rewriting by default. See PR10916.Andrew Trick1-1/+1
2011-09-13[indvars] Fix bugs in floating point IV range checks noticed by inspection.Andrew Trick1-10/+10
2011-09-12Rename -disable-iv-rewrite to -enable-iv-rewrite=false in preparation for def...Andrew Trick1-42/+20
2011-09-10[disable-iv-rewrite] Allow WidenIV to handle NSW/NUW operationsAndrew Trick1-1/+40
2011-09-09Comment formatting.Andrew Trick1-15/+16
2011-09-06Add -verify-indvars for imperfect SCEV trip count verification after indvars.Andrew Trick1-1/+9
2011-08-26Don't sink landingpad instructions during ind-var simplification.Bill Wendling1-0/+4
2011-08-24Use getFirstInsertionPt instead of getFirstNonPHI so that it skips to the properBill Wendling1-3/+3
2011-08-10Cleanup. Make ScalarEvolution an explicit argument of theAndrew Trick1-2/+2
2011-08-10Added a SimplifyIndVar utility to simplify induction variable usersAndrew Trick1-328/+48
2011-08-06Made SCEV's UDiv expressions more canonical. When dividing aAndrew Trick1-0/+65
2011-07-21Cleanup: make std::pair usage slightly less indecipherable without actually n...Andrew Trick1-7/+8
2011-07-21move tier out of an anonymous namespace, it doesn't make senseChris Lattner1-13/+11
2011-07-20Fix a GCC warning.Jay Foad1-2/+2
2011-07-20indvars: Added getInsertPointForUses to find a valid place to truncate the IV.Andrew Trick1-15/+32
2011-07-20indvars -disable-iv-rewrite: Add NarrowIVDefUse to cache def-useAndrew Trick1-54/+61
2011-07-20indvars -disable-iv-rewrite fix: derived GEP IVsAndrew Trick1-0/+6
2011-07-18Compiler warning.Andrew Trick1-3/+3
2011-07-18indvars: LinearFunctionTestReplace for non-canonical IVs.Andrew Trick1-48/+292
2011-07-18indvars: Added verification that LFTR and other indvars goodness doesAndrew Trick1-1/+20
2011-07-18indvars: Added isHighCostExpansion. Avoid generating extra ops in theAndrew Trick1-17/+51
2011-07-18land David Blaikie's patch to de-constify Type, with a few tweaks.Chris Lattner1-11/+11
2011-07-16indvars: fix a pass-sensitivity issue that would hit the SCEVExpanderAndrew Trick1-2/+13
2011-07-16indvars: remove ExprToIVMap because it won't be needed by LFTR.Andrew Trick1-9/+3