aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Utils/SimplifyCFG.cpp
AgeCommit message (Expand)Author
2012-02-06[unwind removal] We no longer have 'unwind' instructions being generated, soBill Wendling
2012-02-01SwitchInst refactoring.Stepan Dyatkovskiy
2012-01-25Gracefully degrade precision in branch probability numbers.Nick Lewycky
2012-01-19Actually, this code handles wrapped sets just fine. Noticed by inspection.Nick Lewycky
2012-01-05Fix SpeculativelyExecuteBB to either speculate all or none of the phisDan Gohman
2012-01-05Revert r56315. When the instruction to speculate is a load, thisDan Gohman
2011-12-28Demystify this comment.Nick Lewycky
2011-12-27Use false not zero, as a bool.Nick Lewycky
2011-12-27Teach simplifycfg to recompute branch weights when merging some branches, andNick Lewycky
2011-12-26Update the branch weight metadata when reversing the order of a branch.Nick Lewycky
2011-12-26Sort includes, canonicalize whitespace, fix typos. No functionality change.Nick Lewycky
2011-12-21Make some intrinsics safe to speculatively execute.Nick Lewycky
2011-12-17Revert r146822 at Pete Cooper's request as it broke clang self hosting.Kevin Enderby
2011-12-17SimplifyCFG now predicts some conditional branches to true or false depending...Pete Cooper
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