aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Scalar/JumpThreading.cpp
AgeCommit message (Expand)AuthorFilesLines
2011-06-27Calculate GetBestDestForJumpOnUndef correctly.Jakub Staszak1-1/+3
2011-05-22Add a parameter to ConstantFoldTerminator() that callers can use to ask it to...Frits van Bommel1-1/+1
2011-05-04Preserve line number information while threading jumps.Devang Patel1-2/+5
2011-04-14Fix an infinite alternation in JumpThreading where two transforms would repea...Owen Anderson1-3/+15
2011-03-30Remove PHINode::reserveOperandSpace(). Instead, add a parameter toJay Foad1-2/+2
2011-03-30(Almost) always call reserveOperandSpace() on newly created PHINodes.Jay Foad1-2/+3
2011-02-18prevent jump threading from merging blocks when their address isChris Lattner1-1/+11
2010-12-16Fix a bug in the loop in JumpThreading::ProcessThreadableEdges() where it cou...Frits van Bommel1-2/+2
2010-12-15Teach jump threading to "look through" a select when the branch direction of ...Frits van Bommel1-0/+34
2010-12-13simplify code and reduce indentationChris Lattner1-32/+30
2010-12-07Remove some dead code from the jump threading pass.Frits van Bommel1-141/+0
2010-12-06Implement jump threading of 'indirectbr' by keeping track of whether we're lo...Frits van Bommel1-46/+80
2010-12-05Refactor jump threading.Frits van Bommel1-69/+73
2010-12-05Remove trailing whitespace.Frits van Bommel1-208/+208
2010-10-19Get rid of static constructors for pass registration. Instead, every pass ex...Owen Anderson1-1/+3
2010-10-12Begin adding static dependence information to passes, which will allow us toOwen Anderson1-1/+4
2010-10-07Now with fewer extraneous semicolons!Owen Anderson1-1/+1
2010-09-29Fix PR8247: JumpThreading can cause a block to become unreachable while still...Owen Anderson1-4/+4
2010-09-14Remove the option to disable LazyValueInfo in JumpThreading, as it is nowOwen Anderson1-110/+37
2010-09-05Change lower atomic pass to use IntrinsicInst to simplify it a bit.Chris Lattner1-4/+3
2010-09-05eliminate some non-obvious casts. UndefValue isa Constant.Chris Lattner1-4/+4
2010-09-02Reapply commit 112699, speculatively reverted by echristo, sinceDuncan Sands1-2/+2
2010-09-01JumpThreading keeps LazyValueInfo up to date, so we don't need to rerun itOwen Anderson1-1/+3
2010-09-01Speculatively revert 112699 and 112702, they seem to be causingEric Christopher1-2/+2
2010-09-01If PrototypeValue is erased in the middle of using the SSAUpdatorDuncan Sands1-2/+2
2010-08-31More cleanups of my JumpThreading transforms, including extracting some dupli...Owen Anderson1-37/+26
2010-08-31Add an RAII helper to make cleanup of the RecursionSet more fool-proof.Owen Anderson1-18/+24
2010-08-31Refactor my fix for PR5652 to terminate the predecessor lookups after the fir...Owen Anderson1-25/+24
2010-08-31More Chris-inspired JumpThreading fixes: use ConstantExpr to correctly consta...Owen Anderson1-26/+64
2010-08-30Re-apply r112539, being more careful to respect the return values of the cons...Owen Anderson1-22/+25
2010-08-30Revert r112539. It accidentally introduced a miscompilation.Owen Anderson1-20/+16
2010-08-30Fixes and cleanups pointed out by Chris. In general, be careful to handle 0 ...Owen Anderson1-16/+20
2010-08-27Fix typos in comments.Owen Anderson1-2/+2
2010-08-27Use LVI to eliminate conditional branches where we've tested a related condit...Owen Anderson1-0/+39
2010-08-26Make JumpThreading smart enough to properly thread StrSwitch when it's compil...Owen Anderson1-17/+77
2010-08-24Turn LVI on, previously detected failures should be fixed now.Owen Anderson1-1/+1
2010-08-23Turn LVI back off, I have a testcase now.Owen Anderson1-1/+1
2010-08-23Re-enable LazyValueInfo. Monitoring for failures.Owen Anderson1-1/+1
2010-08-19Disable LVI while I evaluate a failure.Owen Anderson1-1/+1
2010-08-19Tentatively enabled LVI by default. I'll be monitoring for any failures.Owen Anderson1-1/+1
2010-08-18Inform LazyValueInfo whenever a block is deleted, to avoid dangling pointer i...Owen Anderson1-0/+7
2010-08-18Fix PR7755: knowing something about an inval for a predChris Lattner1-8/+4
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-08-05Give JumpThreading+LVI a long-form cl::opt so that it's easier to toggle the ...Owen Anderson1-1/+4
2010-07-26Add an initial implementation of LazyValueInfo updating for JumpThreading. D...Owen Anderson1-0/+3
2010-07-21Fix batch of converting RegisterPass<> to INTIALIZE_PASS().Owen Anderson1-2/+2
2010-07-12cache results of operator*Gabor Greif1-21/+31
2010-07-12if jump threading is able to infer interesting values on bothChris Lattner1-2/+13