aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Utils/SimplifyCFG.cpp
AgeCommit message (Expand)Author
2012-12-03Use the new script to sort the includes of every file under lib.Chandler Carruth
2012-11-30Fix non-determinism introduced in r168970 and pointed out by Duncan.Chandler Carruth
2012-11-30Rearrange the comments, control flow, and variable names; noChandler Carruth
2012-11-30Fix logic to determine whether to turn a switch into a lookup table. WhenEvan Cheng
2012-11-16SimplifyCFG: Don't assume non-null ScalarTargetTransformInfo.Hans Wennborg
2012-11-15misspellAndrew Trick
2012-11-15whitespaceAndrew Trick
2012-11-07Only do switch-to-lookup table transformation when TargetTransformInfoHans Wennborg
2012-11-01Revert the series of commits starting with r166578 which introduced theChandler Carruth
2012-10-31Remove fixme about unreachable cases from SwitchToLookupTableHans Wennborg
2012-10-31Address Duncan's comments on r167121.Hans Wennborg
2012-10-31Address Duncan's comments on r167115Hans Wennborg
2012-10-31Fix false -> NULL conversion from r167115 spotted by Benjamin Kramer.Hans Wennborg
2012-10-31Do simple constant propagation in lookup table formation for switchesHans Wennborg
2012-10-30Use TargetTransformInfo to control switch-to-lookup table transformationHans Wennborg
2012-10-29Remove a wrapper around getIntPtrType added to GVN by Hal in commit 166624 (theDuncan Sands
2012-10-25Also optimize large switch statements.Jakob Stoklund Olesen
2012-10-24Add in support for getIntPtrType to get the pointer type based on the address...Micah Villmow
2012-10-14Simplify code. No functionality change.Benjamin Kramer
2012-10-11PGO: create metadata for switch only if it has more than one targets.Manman Ren
2012-10-08Move TargetData to DataLayout.Micah Villmow
2012-10-04SimplifyCFG: Enhance the "remove CFG edge that leads to null pointer derefere...Benjamin Kramer
2012-10-01SimplifyCFG: Don't crash when forming a switch bitmap with an undef default v...Benjamin Kramer
2012-09-30SimplifyCFG: Enumerating all predecessors of a BB can be expensive (switches)...Benjamin Kramer
2012-09-27Fix a integer overflow in SimplifyCFG's look up table formation logic.Benjamin Kramer
2012-09-26Address Duncan's comments on r164684:Hans Wennborg
2012-09-26Address Duncan's comments on r164682:Hans Wennborg
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