aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar/TailRecursionElimination.cpp
AgeCommit message (Expand)Author
2013-01-22Begin fleshing out an interface in TTI for modelling the costs ofChandler Carruth
2013-01-02Move all of the header files which are involved in modelling the LLVM IRChandler Carruth
2012-12-03Use the new script to sort the includes of every file under lib.Chandler Carruth
2012-10-22Revert r166407 because it caused analyzer tests to crash and broke self-host ...Argyrios Kyrtzidis
2012-10-22Reapply r166405, teaching tailcallelim to be smarter about nocapture, with aNick Lewycky
2012-10-22Revert r166405, "Teach TailRecursionElimination to consider 'nocapture' when ...NAKAMURA Takumi
2012-10-21Teach TailRecursionElimination to consider 'nocapture' when deciding whetherNick Lewycky
2012-07-24Clean whitespaces.Nadav Rotem
2012-05-04A pile of long over-due refactorings here. There are some very, *very*Chandler Carruth
2011-10-17Correct over-zealous removal of hack.Bill Wendling
2011-10-17Now that we have the ReturnsTwice function attribute, this method isBill Wendling
2011-05-16Don't do tail calls in a function that call setjmp. The stack might beRafael Espindola
2011-04-28Do not lose line number info while eliminating tail call.Devang Patel
2011-04-15Fix a ton of comment typos found by codespell. Patch byChris Lattner
2011-03-30Remove PHINode::reserveOperandSpace(). Instead, add a parameter toJay Foad
2011-03-30(Almost) always call reserveOperandSpace() on newly created PHINodes.Jay Foad
2011-01-29Unbreak the MSVC build.Francois Pichet
2011-01-29Add a test for TCE return duplication.Evan Cheng
2011-01-29Re-apply r124518 with fix. Watch out for invalidated iterator.Evan Cheng
2011-01-29Revert r124518. It broke Linux self-host.Evan Cheng
2011-01-29Re-commit r124462 with fixes. Tail recursion elim will now dup ret into uncon...Evan Cheng
2010-11-16Have a few places that want to simplify phi nodes use SimplifyInstructionDuncan Sands
2010-10-19Get rid of static constructors for pass registration. Instead, every pass ex...Owen Anderson
2010-10-07Now with fewer extraneous semicolons!Owen Anderson
2010-08-31tidy upChris Lattner
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-21Fix batch of converting RegisterPass<> to INTIALIZE_PASS().Owen Anderson
2010-07-13Handle the case of a tail recursion in which the tail call is followedDuncan Sands
2010-07-12cache dereferenced iteratorsGabor Greif
2010-07-10The accumulator tail recursion transform claims to work for any associativeDuncan Sands
2010-06-26Fix PR7328: when turning a tail recursion into a loop, need to preserveDuncan Sands
2010-06-24use getNumArgOperandsGabor Greif
2010-06-24use ArgOperand APIGabor Greif
2010-05-28Move FindAvailableLoadedValue isSafeToLoadUnconditionally out ofDan Gohman
2010-04-16Revert 101465, it broke internal OpenGL testing.Eric Christopher
2010-04-16Refine the detection of seemingly infinitely recursive calls where theDan Gohman
2010-04-16reapply r101434Gabor Greif
2010-04-16back out r101423 and r101397, they break llvm-gcc self-host on darwin10Gabor Greif
2010-04-15reapply r101364, which has been backed out in r101368Gabor Greif
2010-04-15back out r101364, as it trips the linux nightlybot on some clang C++ testsGabor Greif
2010-04-15rotate CallInst operands, i.e. move callee to the backGabor Greif
2010-02-03Revert 94937 and move the noreturn check to codegen.Evan Cheng
2010-01-31Do not mark no-return calls tail calls. It'll screw up special calls like lon...Evan Cheng
2010-01-30Check alignment of loads when deciding whether it is safe to execute themBob Wilson
2009-11-07Improve tail call elimination to handle the switch statement.Nick Lewycky
2009-11-07Oops, FunctionContainsEscapingAllocas is really used to mean two differentNick Lewycky
2009-11-07Dust off tail recursion elimination. Fix a fixme by applying CaptureTrackingNick Lewycky
2009-09-02eliminate VISIBILITY_HIDDEN from Transforms/Scalar. PR4861Chris Lattner