aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/SimplifyCFG.cpp
AgeCommit message (Expand)AuthorFilesLines
2013-11-12FoldBranchToCommonDest merges branches into a single branch with or/and of th...Nadav Rotem1-2/+7
2013-11-12SimplifyCFG: Use existing constant folding logic when forming switch tables.Benjamin Kramer1-31/+20
2013-11-10SimplifyCFG has a heuristics for out-of-order processors that decides when it...Nadav Rotem1-1/+1
2013-10-21SimplifyCFG: Don't duplicate calls to functions marked noduplicate v2Tom Stellard1-0/+15
2013-10-21Teach SimplifyCFG about address spacesMatt Arsenault1-5/+9
2013-10-21Fix the predecessor removal logic in r193045.Michael Gottesman1-11/+9
2013-10-20Teach simplify-cfg how to correctly create covered lookup tables for switches...Michael Gottesman1-6/+28
2013-09-22Provide basic type safety for array_pod_sort comparators.Benjamin Kramer1-3/+4
2013-09-06Use type helper functions.Matt Arsenault1-1/+1
2013-08-06Factor FlattenCFG out from SimplifyCFGTom Stellard1-516/+4
2013-08-02Fix dereferencing end iterator in SimplifyCFG. Patch by Ye Mei.Alexey Samsonov1-5/+8
2013-07-28Fix -Wdocumentation warnings.Rafael Espindola1-4/+4
2013-07-27SimplifyCFG: Use parallel-and and parallel-or mode to consolidate branch cond...Tom Stellard1-11/+432
2013-07-14Use SmallVectorImpl& instead of SmallVector to avoid repeating small vector s...Craig Topper1-8/+9
2013-07-04SimplifyCFG: Teach switch generation some patterns that instcombine forms.Benjamin Kramer1-1/+27
2013-06-04Second part of pr16069Rafael Espindola1-4/+9
2013-06-04Typo: s/caes/cases/ in SimplifyCFGHans Wennborg1-1/+1
2013-06-03SimplifyCFG: Do not transform PHI to select if doing so would be unsafeDavid Majnemer1-2/+19
2013-06-03SimplifyCFG: Small cleanup, use ICmpInst::isEquality()David Majnemer1-3/+1
2013-06-01SimplifyCFG: Fix typo in comment for ComputeSpeculationCostDavid Majnemer1-1/+1
2013-05-23More symbols that should be static.Benjamin Kramer1-2/+2
2013-04-29SimplifyCFG: If convert single conditional storesArnold Schwaighofer1-4/+90
2013-04-21Revert "SimplifyCFG: If convert single conditional stores"Arnold Schwaighofer1-88/+4
2013-04-20SimplifyCFG: If convert single conditional storesArnold Schwaighofer1-4/+88
2013-04-16simplifycfg: Fix integer overflow converting switch into icmp.Hans Wennborg1-1/+6
2013-03-11Don't remove a landing pad if the invoke requires a table entry.Bill Wendling1-3/+17
2013-03-07SimplifyCFG fix for volatile load/store.Andrew Trick1-2/+4
2013-01-27Re-revert r173342, without losing the compile time improvements, flatChandler Carruth1-27/+12
2013-01-25Switch this code away from Value::isUsedInBasicBlock. That code eitherChandler Carruth1-7/+29
2013-01-24Reapply chandlerc's r173342 now that the miscompile it was triggering is fixed.Benjamin Kramer1-9/+18
2013-01-24Revert r173342 temporarily. It appears to cause a very late miscompileChandler Carruth1-18/+9
2013-01-24Plug TTI into the speculation logic, giving it a real cost interfaceChandler Carruth1-9/+18
2013-01-24Address a large chunk of this FIXME by accumulating the cost forChandler Carruth1-8/+6
2013-01-24Switch the constant expression speculation cost evaluation away fromChandler Carruth1-7/+14
2013-01-24Rephrase the speculating scan of the conditional BB to be phrased inChandler Carruth1-19/+16
2013-01-24Simplify the PHI node operand rewriting.Chandler Carruth1-42/+35
2013-01-24Give the basic block variables here names based on the if-then-endChandler Carruth1-32/+33
2013-01-24Lift a cheap early exit test above loops and other complex early exitChandler Carruth1-5/+5
2013-01-24Spiff up the comment on this method, making the example a bit moreChandler Carruth1-16/+35
2013-01-23Initialize the components of this class. Otherwise GCC thinks that Array may beDuncan Sands1-1/+2
2013-01-07Make SimplifyCFG simply depend upon TargetTransformInfo and pass itChandler Carruth1-37/+37
2013-01-07Move TargetTransformInfo to live under the Analysis library. This noChandler Carruth1-1/+1
2013-01-05Switch SimplifyCFG over to the TargetTransformInfo interface rather thanChandler Carruth1-4/+2
2013-01-02Move all of the header files which are involved in modelling the LLVM IRChandler Carruth1-13/+13
2012-12-03Use the new script to sort the includes of every file under lib.Chandler Carruth1-10/+10
2012-11-30Fix non-determinism introduced in r168970 and pointed out by Duncan.Chandler Carruth1-5/+13
2012-11-30Rearrange the comments, control flow, and variable names; noChandler Carruth1-7/+14
2012-11-30Fix logic to determine whether to turn a switch into a lookup table. WhenEvan Cheng1-6/+13
2012-11-16SimplifyCFG: Don't assume non-null ScalarTargetTransformInfo.Hans Wennborg1-1/+2
2012-11-15misspellAndrew Trick1-3/+3