aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Utils/SimplifyCFG.cpp
AgeCommit message (Expand)Author
2011-12-14Move Instruction::isSafeToSpeculativelyExecute out of VMCore andDan Gohman
2011-09-05Delete trivial landing pads that just continue unwinding the caughtDuncan Sands
2011-08-26Address review comments.Benjamin Kramer
2011-08-26SimplifyCFG: If we have a PHI node that can evaluate to NULL and do a load or...Benjamin Kramer
2011-08-16I think there was some confusion about what I meant. :-) Replacing the comment.Bill Wendling
2011-08-16After talking with Bill, it seems like the LandingPad handling here is likelyEli Friedman
2011-08-16Minor comment fixes.Eli Friedman
2011-08-15Update SimplifyCFG for atomic operations.Eli Friedman
2011-07-18land David Blaikie's patch to de-constify Type, with a few tweaks.Chris Lattner
2011-07-15Convert CallInst and InvokeInst APIs to use ArrayRef.Jay Foad
2011-06-30Add r134057 back, but splice the predecessor after the successors phiRafael Espindola
2011-06-29Temporarily revert r134057: "Let simplify cfg simplify bb with only debug and Chad Rosier
2011-06-29Let simplify cfg simplify bb with only debug and lifetime intrinsics.Rafael Espindola
2011-06-18Fix PR10103: Less code for enum type translation.Hans Wennborg
2011-06-04If the block that we're threading through is jumped to by an indirect branch,Bill Wendling
2011-05-22Add a parameter to ConstantFoldTerminator() that callers can use to ask it to...Frits van Bommel
2011-05-19Reapply r131605. This time with a fix, which is to use NoFolder.Devang Patel
2011-05-19revert 131605 to fix PR9946.Rafael Espindola
2011-05-19Use IRBuilder.Devang Patel
2011-05-19Use IRBuilder while simplifying unreachable.Devang Patel
2011-05-18Use IRBuilder while simplifying conditional branch.Devang Patel
2011-05-18Use IRBuilder while simplifying branch.Devang Patel
2011-05-18Use IRBuilder while simplifying return instruction.Devang Patel
2011-05-18Spread use of IRBuilder even more.Devang Patel
2011-05-18Use IRBuilder while simplifying switch instruction.Devang Patel
2011-05-18Use IRBuilder while simplifying unwind.Devang Patel
2011-05-18Use IRBuilder while simplifying terminator.Devang Patel
2011-05-18Use IRBuilder while simplifying unconditional branch.Devang Patel
2011-05-18Use IRBuilder while folding two entry PHINode.Devang Patel
2011-05-18Set up IRBuilder for use during simplification.Devang Patel
2011-05-17Preseve line numbers while simplifying CFG.Devang Patel
2011-05-14SimplifyCFG: Use ComputeMaskedBits to prune dead cases from switch instructions.Benjamin Kramer
2011-04-29SimplifyCFG: Expose phi node folding cost threshold as command line parameterPeter Collingbourne
2011-04-29SimplifyCFG: Add CostRemaining parameter to DominatesMergePointPeter Collingbourne
2011-04-29SimplifyCFG: Add Trunc, ZExt and SExt to the list of cheap instructions for p...Peter Collingbourne
2011-04-14rework FoldBranchToCommonDest to exit earlier when there is a bonusChris Lattner
2011-04-11comment cleanup, use moveBefore instead of removeFromParent+insertBefore.Chris Lattner
2011-04-07Do not let debug info interfer with branch folding.Devang Patel
2011-04-07While hoisting common code from if/else, hoist debug info intrinsics if they ...Devang Patel
2011-04-07Simplify. isIdenticalToWhenDefined() checks opcode.Devang Patel
2011-04-06While folding branch to a common destination into a predecessor, copy dbg val...Devang Patel
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-03-15PR9450: Make switch optimization in SimplifyCFG not dependent on the orderingEli Friedman
2011-03-09PR9420; an instruction before an unreachable is guaranteed not to have anyEli Friedman
2011-02-28Teach SimplifyCFG that (switch (select cond, X, Y)) is better expressed as a ...Frits van Bommel
2011-02-25Revert "SimplifyCFG: GEPs with just one non-constant index are also cheap."Benjamin Kramer
2011-02-24SimplifyCFG: GEPs with just one non-constant index are also cheap.Benjamin Kramer
2011-02-24SimplifyCFG: GEPs with constant indices are cheap enough to be executed uncon...Benjamin Kramer
2011-02-07SimplifyCFG: Track the number of used icmps when turning a icmp chain into a ...Benjamin Kramer