aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/Utils/SimplifyCFG.cpp
Commit message (Expand)AuthorAgeFilesLines
* Make SimplifyCFG simply depend upon TargetTransformInfo and pass itChandler Carruth2013-01-071-37/+37
* Move TargetTransformInfo to live under the Analysis library. This noChandler Carruth2013-01-071-1/+1
* Switch SimplifyCFG over to the TargetTransformInfo interface rather thanChandler Carruth2013-01-051-4/+2
* Move all of the header files which are involved in modelling the LLVM IRChandler Carruth2013-01-021-13/+13
* Use the new script to sort the includes of every file under lib.Chandler Carruth2012-12-031-10/+10
* Fix non-determinism introduced in r168970 and pointed out by Duncan.Chandler Carruth2012-11-301-5/+13
* Rearrange the comments, control flow, and variable names; noChandler Carruth2012-11-301-7/+14
* Fix logic to determine whether to turn a switch into a lookup table. WhenEvan Cheng2012-11-301-6/+13
* SimplifyCFG: Don't assume non-null ScalarTargetTransformInfo.Hans Wennborg2012-11-161-1/+2
* misspellAndrew Trick2012-11-151-3/+3
* whitespaceAndrew Trick2012-11-151-4/+4
* Only do switch-to-lookup table transformation when TargetTransformInfoHans Wennborg2012-11-071-1/+2
* Revert the series of commits starting with r166578 which introduced theChandler Carruth2012-11-011-8/+4
* Remove fixme about unreachable cases from SwitchToLookupTableHans Wennborg2012-10-311-2/+0
* Address Duncan's comments on r167121.Hans Wennborg2012-10-311-3/+4
* Address Duncan's comments on r167115Hans Wennborg2012-10-311-48/+42
* Fix false -> NULL conversion from r167115 spotted by Benjamin Kramer.Hans Wennborg2012-10-311-1/+1
* Do simple constant propagation in lookup table formation for switchesHans Wennborg2012-10-311-15/+98
* Use TargetTransformInfo to control switch-to-lookup table transformationHans Wennborg2012-10-301-6/+15
* Remove a wrapper around getIntPtrType added to GVN by Hal in commit 166624 (theDuncan Sands2012-10-291-1/+1
* Also optimize large switch statements.Jakob Stoklund Olesen2012-10-251-22/+20
* Add in support for getIntPtrType to get the pointer type based on the address...Micah Villmow2012-10-241-5/+9
* Simplify code. No functionality change.Benjamin Kramer2012-10-141-5/+3
* PGO: create metadata for switch only if it has more than one targets.Manman Ren2012-10-111-1/+1
* Move TargetData to DataLayout.Micah Villmow2012-10-081-18/+18
* SimplifyCFG: Enhance the "remove CFG edge that leads to null pointer derefere...Benjamin Kramer2012-10-041-2/+3
* SimplifyCFG: Don't crash when forming a switch bitmap with an undef default v...Benjamin Kramer2012-10-011-2/+5
* SimplifyCFG: Enumerating all predecessors of a BB can be expensive (switches)...Benjamin Kramer2012-09-301-3/+7
* Fix a integer overflow in SimplifyCFG's look up table formation logic.Benjamin Kramer2012-09-271-0/+4
* Address Duncan's comments on r164684:Hans Wennborg2012-09-261-9/+5
* Address Duncan's comments on r164682:Hans Wennborg2012-09-261-6/+4
* SimplifyCFG: Make the switch-to-lookup table transformation store theHans Wennborg2012-09-261-12/+89
* SimplifyCFG: Refactor the switch-to-lookup table transformation byHans Wennborg2012-09-261-72/+115
* SimplifyCFG: sink common codes from IF, ELSE blocks down to END block.Manman Ren2012-09-201-0/+173
* SimplifyCFG: Don't generate invalid code for switch used to initializeHans Wennborg2012-09-191-9/+8
* PGO: preserve branch-weight metadata when simplifying Switch to a sub, an icmpManman Ren2012-09-181-1/+38
* PGO: preserve branch-weight metadata when simplifying SwitchManman Ren2012-09-171-0/+15
* PGO: preserve branch-weight metadata when simplifying SwitchOnSelect.Manman Ren2012-09-171-5/+28
* PGO: preserve branch-weight metadata when simplifying two branches with a commonManman Ren2012-09-171-0/+27
* Fix a few vars that can end up being used without initialization.Axel Naumann2012-09-171-1/+1
* PGO: preserve branch-weight metadata when simplifying two branches with a commonManman Ren2012-09-151-111/+42
* PGO: preserve branch-weight metadata when simplifying a switch with a singleManman Ren2012-09-141-0/+19
* Try to fix the bots by detecting inconsistant branch-weight metadata.Manman Ren2012-09-141-4/+10
* PGO: preserve branch-weight metadata when merging two switches whereManman Ren2012-09-141-5/+12
* SimplifyCFG: preserve branch-weight metadata when creating a new switch fromManman Ren2012-09-111-81/+45
* Fix style issues from r163302 pointed out by Evan.Hans Wennborg2012-09-101-18/+15
* Remove an incorrect assert during branch weight propagation.Andrew Trick2012-09-081-1/+0
* SimplifyCFG: ValidLookupTableConstant should be staticHans Wennborg2012-09-071-1/+1
* Fix switch_to_lookup_table.ll test from r163302.Hans Wennborg2012-09-061-5/+6
* Build lookup tables for switches (PR884)Hans Wennborg2012-09-061-0/+286