aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar/IndVarSimplify.cpp
AgeCommit message (Expand)Author
2010-08-06Reapply r110396, with fixes to appease the Linux buildbot gods.Owen Anderson
2010-08-06Revert r110396 to fix buildbots.Owen Anderson
2010-08-05Don't use PassInfo* as a type identifier for passes. Instead, use the addres...Owen Anderson
2010-07-22mass elimination of reliance on automatic iterator dereferencingGabor Greif
2010-07-21Fix batch of converting RegisterPass<> to INTIALIZE_PASS().Owen Anderson
2010-07-20Remember that the induction variable is always a PHINode andDan Gohman
2010-07-09cache result of operator*Gabor Greif
2010-06-18Disable indvars on loops when LoopSimplify form is not available.Dan Gohman
2010-05-03Use getConstant instead of getIntegerSCEV. The two are basically theDan Gohman
2010-04-13Teach IndVarSimplify how to eliminate remainder operators where theDan Gohman
2010-04-12Suppress LinearFunctionTestReplace when the computed backedge-takenDan Gohman
2010-04-12Move the EliminateIVUsers call back out to its original location. Now thatDan Gohman
2010-04-12Use RecursivelyDeleteTriviallyDeadInstructions in EliminateIVComparisons,Dan Gohman
2010-04-12Re-apply r101000, with a fix: Don't eliminate an icmp which is part ofDan Gohman
2010-04-12Revert 101000, which is breaking self-host builds.Dan Gohman
2010-04-11Teach IndVarSimplify how to eliminate comparisons involving inductionDan Gohman
2010-04-11Rename isLoopGuardedByCond to isLoopEntryGuardedByCond, to emphasiseDan Gohman
2010-04-07Generalize IVUsers to track arbitrary expressions rather than expressionsDan Gohman
2010-04-03require that the branch being controlled by the IV Chris Lattner
2010-04-03add integer overflow check for the fp induction variable Chris Lattner
2010-04-03add a comment and fix some consistency issues, convertingChris Lattner
2010-04-03fix PR6761, a miscompilation due to the fp->int IV conversionChris Lattner
2010-04-03just eliminate the uitofp checks. This code isn't doingChris Lattner
2010-04-03rename PH -> PN to be consistent with WeakPN and the restChris Lattner
2010-04-03improve comment and drop a dead check. If PH hadChris Lattner
2010-04-03strength reduce a ridiculous use of APInt.Chris Lattner
2010-04-03rename stuff improve comment grammar.Chris Lattner
2010-04-03simplify some code and resolve a fixme.Chris Lattner
2010-04-03There is no guarantee that the increment and the branchChris Lattner
2010-04-03first half of a pass through IndVarSimplify::HandleFloatingPointIV,Chris Lattner
2010-04-02Manually notify ScalarEvolution before making an operand replacement, sinceDan Gohman
2010-03-23Skip debugging intrinsics when sinking unused invariants.Bill Wendling
2010-03-20Clear the SCEVExpander's insertion point after making deletions,Dan Gohman
2010-03-15Skip debug info intrinsics.Devang Patel
2010-03-10Add a DominatorTree argument to isLCSSA so that it doesn't have toDan Gohman
2010-03-01Spelling fixes.Dan Gohman
2010-02-25Make LoopSimplify change conditional branches in loop exiting blocksDan Gohman
2010-02-22Remove unused variables and parameters.Dan Gohman
2010-02-22This cast<Instruction> is unnecessary.Dan Gohman
2010-02-19recommit 96626, evidence that it broke things appearsDale Johannesen
2010-02-19Revert 96626, which causes build failure on ppc Darwin.Dale Johannesen
2010-02-18Indvars needs to explicitly notify ScalarEvolution when it is replacingDan Gohman
2010-02-18Hoist this loop-invariant logic out of the loop.Dan Gohman
2010-02-16There are two ways of checking for a given type, for example isa<PointerType>(T)Duncan Sands
2010-02-12Reapply the new LoopStrengthReduction code, with compile time andDan Gohman
2010-02-10Fix "the the" and similar typos.Dan Gohman
2010-01-21Re-implement the main strength-reduction portion of LoopStrengthReduction.Dan Gohman
2010-01-05Set Changed properly after calling DeleteDeadPHIs.Dan Gohman
2010-01-05Change errs() to dbgs().David Greene
2009-12-18Add Loop contains utility methods for testing whether a loopDan Gohman