aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Scalar/TailRecursionElimination.cpp
AgeCommit message (Expand)AuthorFilesLines
2011-05-16Don't do tail calls in a function that call setjmp. The stack might beRafael Espindola1-4/+5
2011-04-28Do not lose line number info while eliminating tail call.Devang Patel1-1/+3
2011-04-15Fix a ton of comment typos found by codespell. Patch byChris Lattner1-2/+2
2011-03-30Remove PHINode::reserveOperandSpace(). Instead, add a parameter toJay Foad1-3/+2
2011-03-30(Almost) always call reserveOperandSpace() on newly created PHINodes.Jay Foad1-2/+4
2011-01-29Unbreak the MSVC build.Francois Pichet1-0/+1
2011-01-29Add a test for TCE return duplication.Evan Cheng1-0/+2
2011-01-29Re-apply r124518 with fix. Watch out for invalidated iterator.Evan Cheng1-19/+108
2011-01-29Revert r124518. It broke Linux self-host.Evan Cheng1-105/+19
2011-01-29Re-commit r124462 with fixes. Tail recursion elim will now dup ret into uncon...Evan Cheng1-19/+105
2010-11-16Have a few places that want to simplify phi nodes use SimplifyInstructionDuncan Sands1-1/+2
2010-10-19Get rid of static constructors for pass registration. Instead, every pass ex...Owen Anderson1-1/+3
2010-10-07Now with fewer extraneous semicolons!Owen Anderson1-1/+1
2010-08-31tidy upChris Lattner1-31/+32
2010-08-06Reapply r110396, with fixes to appease the Linux buildbot gods.Owen Anderson1-1/+1
2010-08-06Revert r110396 to fix buildbots.Owen Anderson1-1/+1
2010-08-05Don't use PassInfo* as a type identifier for passes. Instead, use the addres...Owen Anderson1-1/+1
2010-07-21Fix batch of converting RegisterPass<> to INTIALIZE_PASS().Owen Anderson1-1/+2
2010-07-13Handle the case of a tail recursion in which the tail call is followedDuncan Sands1-13/+35
2010-07-12cache dereferenced iteratorsGabor Greif1-3/+4
2010-07-10The accumulator tail recursion transform claims to work for any associativeDuncan Sands1-14/+14
2010-06-26Fix PR7328: when turning a tail recursion into a loop, need to preserveDuncan Sands1-6/+6
2010-06-24use getNumArgOperandsGabor Greif1-1/+1
2010-06-24use ArgOperand APIGabor Greif1-2/+2
2010-05-28Move FindAvailableLoadedValue isSafeToLoadUnconditionally out ofDan Gohman1-0/+1
2010-04-16Revert 101465, it broke internal OpenGL testing.Eric Christopher1-2/+2
2010-04-16Refine the detection of seemingly infinitely recursive calls where theDan Gohman1-9/+21
2010-04-16reapply r101434Gabor Greif1-2/+2
2010-04-16back out r101423 and r101397, they break llvm-gcc self-host on darwin10Gabor Greif1-2/+2
2010-04-15reapply r101364, which has been backed out in r101368Gabor Greif1-2/+2
2010-04-15back out r101364, as it trips the linux nightlybot on some clang C++ testsGabor Greif1-2/+2
2010-04-15rotate CallInst operands, i.e. move callee to the backGabor Greif1-2/+2
2010-02-03Revert 94937 and move the noreturn check to codegen.Evan Cheng1-5/+4
2010-01-31Do not mark no-return calls tail calls. It'll screw up special calls like lon...Evan Cheng1-4/+5
2010-01-30Check alignment of loads when deciding whether it is safe to execute themBob Wilson1-1/+2
2009-11-07Improve tail call elimination to handle the switch statement.Nick Lewycky1-2/+11
2009-11-07Oops, FunctionContainsEscapingAllocas is really used to mean two differentNick Lewycky1-2/+10
2009-11-07Dust off tail recursion elimination. Fix a fixme by applying CaptureTrackingNick Lewycky1-21/+8
2009-09-02eliminate VISIBILITY_HIDDEN from Transforms/Scalar. PR4861Chris Lattner1-2/+1
2009-08-13Push LLVMContexts through the IntegerType APIs.Owen Anderson1-1/+1
2009-06-19Improve tail call elim to move loads above readonly callsChris Lattner1-1/+15
2009-05-06Allow readonly functions to unwind exceptions. TeachDuncan Sands1-1/+1
2008-09-04Tidy up several unbeseeming casts from pointer to intptr_t.Dan Gohman1-1/+1
2008-06-14Fix a case where tailcallelim wouldn't set the changed bit when it made a cha...Chris Lattner1-1/+3
2008-05-15Fix a bunch of 80col violations that arose from the Create API change. Tweak ...Gabor Greif1-1/+2
2008-05-13Clean up the use of static and anonymous namespaces. This turned upDan Gohman1-2/+3
2008-04-06API changes for class Use size reduction, wave 1.Gabor Greif1-6/+6
2008-03-11Become multiple return value aware.Devang Patel1-1/+5
2008-02-20Make Transforms to be 4.3 warnings-cleanAnton Korobeynikov1-2/+2
2007-12-29Remove attribution from file headers, per discussion on llvmdev.Chris Lattner1-2/+2