aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar/IndVarSimplify.cpp
AgeCommit message (Expand)Author
2009-11-05Update various Loop optimization passes to cope with the possibility thatDan Gohman
2009-10-31Rename forgetLoopBackedgeTakenCount to forgetLoop, because itDan Gohman
2009-10-27Factor out redundancy from clone() implementations.Devang Patel
2009-09-27Instruction::clone does not need to take an LLVMContext&. Remove that andNick Lewycky
2009-09-02eliminate VISIBILITY_HIDDEN from Transforms/Scalar. PR4861Chris Lattner
2009-08-25Special-case static allocas in IndVarSimplify's loop invariantDan Gohman
2009-08-23eliminate the "Value" printing methods that print to a std::ostream.Chris Lattner
2009-08-17Fix debug output to include a newline after printing a Value, nowDan Gohman
2009-08-13Push LLVMContexts through the IntegerType APIs.Owen Anderson
2009-07-30Move more code back to 2.5 APIs.Owen Anderson
2009-07-26Remove Value::getName{Start,End}, the last of the old Name APIs.Daniel Dunbar
2009-07-24Revert the ConstantInt constructors back to their 2.5 forms where possible, t...Owen Anderson
2009-07-22Get rid of the Pass+Context magic.Owen Anderson
2009-07-15Switch invars away from using isTrapping when it really shouldn't be Eli Friedman
2009-07-15Fix indentation.Dan Gohman
2009-07-14Require IVUsers after LCSSA, since LCSSA does not preserve IVUsers.Dan Gohman
2009-07-14Fix indvars to not assume that a loop with a single unique exitDan Gohman
2009-07-09This started as a small change, I swear. Unfortunately, lots of things call ...Owen Anderson
2009-07-07Change all SCEV* to SCEV *.Dan Gohman
2009-07-03Convert the first batch of passes to use LLVMContext.Owen Anderson
2009-07-01Request LCSSA after LoopSimplify. This fixes a problem in which theDan Gohman
2009-06-27When a value is used multiple times within a single PHI, instructionsDan Gohman
2009-06-26Incorporate the insertion point into the key of SCEVExpander's CSE map.Dan Gohman
2009-06-24When inserting code into a loop preheader, insert it before theDan Gohman
2009-06-24Extend ScalarEvolution's multiple-exit support to compute exactDan Gohman
2009-06-22Fix a few minor issues that were exposed by the removal of SCEVHandle.Dan Gohman
2009-06-22SCEVHandle is no more!Owen Anderson
2009-06-22Fix this code to correctly handle loops with multiple exits. UntilDan Gohman
2009-06-14Add another item to the list of things that indvars does.Dan Gohman
2009-06-13Teach SCEVExpander's visitAddRecExpr to reuse an existing canonicalDan Gohman
2009-06-04Split the Add, Sub, and Mul instruction opcodes into separateDan Gohman
2009-06-03Don't attempt to simplify an non-affine IV expression if it can'tDan Gohman
2009-05-24Change ScalarEvolution::getSCEVAtScope to always return the original valueDan Gohman
2009-05-24Move Rewriter.clear() earlier, to avoid triggerring the AssertingVH byTorok Edwin
2009-05-24Instead of clearing the rewriter, don't attempt to rewrite dead phi nodes.Torok Edwin
2009-05-24When rewriting the loop exit test with the canonical induction variable,Dan Gohman
2009-05-24When replacing a floating-point comparison with an integerDan Gohman
2009-05-24The rewriter may hold references to instructions that are deleted because the...Torok Edwin
2009-05-22Teach IndVarSimplify's FixUsesBeforeDefs to handle InvokeInsts byDan Gohman
2009-05-19Remove an irrelevant comment.Dan Gohman
2009-05-19Trim unneeded #includes.Dan Gohman
2009-05-19Teach SCEVExpander to expand arithmetic involving pointers into GEPDan Gohman
2009-05-14Use abs64 in one more place.Dale Johannesen
2009-05-12Factor the code for collecting IV users out of LSR into an IVUsers class,Dan Gohman
2009-05-04Re-apply 70645, converting ScalarEvolution to useDan Gohman
2009-05-03Revert r70645 for now; it's causing a variety of regressions.Dan Gohman
2009-05-02Convert ScalarEvolution to use CallbackVH for its internal map. ThisDan Gohman
2009-04-27Remove an obsolete comment.Dan Gohman
2009-04-27Fix PR 4086, a bug in FP IV elimination.Dale Johannesen
2009-04-23Change SCEVExpander's expandCodeFor to provide more flexibilityDan Gohman