aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Utils/SimplifyCFG.cpp
AgeCommit message (Expand)Author
2012-09-26SimplifyCFG: Make the switch-to-lookup table transformation store theHans Wennborg
2012-09-26SimplifyCFG: Refactor the switch-to-lookup table transformation byHans Wennborg
2012-09-20SimplifyCFG: sink common codes from IF, ELSE blocks down to END block.Manman Ren
2012-09-19SimplifyCFG: Don't generate invalid code for switch used to initializeHans Wennborg
2012-09-18PGO: preserve branch-weight metadata when simplifying Switch to a sub, an icmpManman Ren
2012-09-17PGO: preserve branch-weight metadata when simplifying SwitchManman Ren
2012-09-17PGO: preserve branch-weight metadata when simplifying SwitchOnSelect.Manman Ren
2012-09-17PGO: preserve branch-weight metadata when simplifying two branches with a commonManman Ren
2012-09-17Fix a few vars that can end up being used without initialization.Axel Naumann
2012-09-15PGO: preserve branch-weight metadata when simplifying two branches with a commonManman Ren
2012-09-14PGO: preserve branch-weight metadata when simplifying a switch with a singleManman Ren
2012-09-14Try to fix the bots by detecting inconsistant branch-weight metadata.Manman Ren
2012-09-14PGO: preserve branch-weight metadata when merging two switches whereManman Ren
2012-09-11SimplifyCFG: preserve branch-weight metadata when creating a new switch fromManman Ren
2012-09-10Fix style issues from r163302 pointed out by Evan.Hans Wennborg
2012-09-08Remove an incorrect assert during branch weight propagation.Andrew Trick
2012-09-07SimplifyCFG: ValidLookupTableConstant should be staticHans Wennborg
2012-09-06Fix switch_to_lookup_table.ll test from r163302.Hans Wennborg
2012-09-06Build lookup tables for switches (PR884)Hans Wennborg
2012-09-05Stop casting away const qualifier needlessly.Roman Divacky
2012-08-30testMichael Ilseman
2012-08-29Preserve branch profile metadata during switch formation.Andrew Trick
2012-08-29whitespaceAndrew Trick
2012-07-23Fix a typo (the the => the)Sylvestre Ledru
2012-07-15Move llvm/Support/MDBuilder.h to llvm/MDBuilder.h, to live withChandler Carruth
2012-07-13Make helper functions static.Benjamin Kramer
2012-07-02Revert "IntRange:" as it appears to be breaking self hosting.Eric Christopher
2012-07-02IntRange:Stepan Dyatkovskiy
2012-06-29Move llvm/Support/IRBuilder.h -> llvm/IRBuilder.hChandler Carruth
2012-06-24Remove dyn_cast + dereference pattern by replacing it with a cast and changingNick Lewycky
2012-06-13SimplifyCFG: fold unconditional branch to its predecessor if profitable.Manman Ren
2012-05-26SimplifyCFG: Turn the ad-hoc std::pair that represents switch cases into an e...Benjamin Kramer
2012-05-26Add support for branch weight metadata to MDBuilder and use it in various pla...Benjamin Kramer
2012-04-04Always compute all the bits in ComputeMaskedBits.Rafael Espindola
2012-03-11llvm::SwitchInstStepan Dyatkovskiy
2012-03-08Taken into account Duncan's comments for r149481 dated by 2nd Feb 2012:Stepan Dyatkovskiy
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