aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/SimplifyCFG.cpp
AgeCommit message (Expand)AuthorFilesLines
2015-01-04[PM] Split the AssumptionTracker immutable pass into two separate APIs:Chandler Carruth1-34/+34
2014-12-23[SimplifyCFG] Revise common code sinkingMichael Liao1-30/+30
2014-12-09IR: Split Metadata from ValueDuncan P. N. Exon Smith1-5/+6
2014-12-09Revert "Move function to obtain branch weights into the BranchInst class. NFC."Juergen Ributzka1-6/+26
2014-12-09Move function to obtain branch weights into the BranchInst class. NFC.Juergen Ributzka1-26/+6
2014-12-01Revert r223049, r223050 and r223051 while investigating test failures.Hans Wennborg1-8/+56
2014-12-01SimplifyCFG: Omit range checks for switch lookup tables when default is unrea...Hans Wennborg1-7/+8
2014-12-01SimplifyCFG: don't remove unreachable default switch destinationsHans Wennborg1-49/+0
2014-11-27reinstate r222872: Peephole optimization in switch table lookup: reuse the gu...Erik Eckstein1-7/+100
2014-11-27Revert "Peephole optimization in switch table lookup: reuse the guarding tabl...Erik Eckstein1-89/+7
2014-11-27Peephole optimization in switch table lookup: reuse the guarding table compar...Erik Eckstein1-7/+89
2014-11-20SimplifyCFG: Refactor GatherConstantCompares() result in a structMehdi Amini1-133/+152
2014-11-20Revert r222416, r222422, r222426: the former revision had problems and fixing...Timur Iskhodzhanov1-150/+136
2014-11-20Fix a typoTimur Iskhodzhanov1-1/+1
2014-11-20SimplifyCFG.cpp: Tweak to let msc17 compliant.NAKAMURA Takumi1-8/+11
2014-11-20SimplifyCFG: Refactor GatherConstantCompares() result in a structMehdi Amini1-136/+147
2014-11-19Try to fix MSVS build after r222384. No intended behavior change.Nico Weber1-3/+3
2014-11-19SimplifyCFG: turn recursive GatherConstantCompares into iterativeMehdi Amini1-99/+138
2014-11-19Update SetVector to rely on the underlying set's insert to return a pair<iter...David Blaikie1-1/+1
2014-11-18SimplifyCFG: Range'ify some for-loops. No functional change.Hans Wennborg1-12/+13
2014-11-17[SimplifyCFG] Make the value type of the hole check bitmask a power-of-2.Juergen Ributzka1-2/+5
2014-11-17Optimize switch lookup tables with linear mapping.Erik Eckstein1-1/+58
2014-11-11Revert "IR: MDNode => Value"Duncan P. N. Exon Smith1-4/+4
2014-11-01IR: MDNode => Value: Instruction::getMetadata()Duncan P. N. Exon Smith1-4/+4
2014-10-22Preserving 'nonnull' metadata in SimplifyCFGPhilip Reames1-1/+4
2014-10-14Switch to select optimization for two-case switchesMarcello Maggioni1-0/+170
2014-10-12Revert r219223, it creates invalid PHI nodes.Joerg Sonnenberger1-170/+0
2014-10-10SimplifyCFG: Don't convert phis into selects if we could remove undef behaviorArnold Schwaighofer1-0/+13
2014-10-07Two case switch to select optimizationMarcello Maggioni1-0/+170
2014-09-30[SimplifyCFG] threshold for folding branches with common destinationJingyue Wu1-66/+80
2014-09-15Remove dead code in SimplifyCFGJingyue Wu1-43/+0
2014-09-07Make use of @llvm.assume in ValueTracking (computeKnownBits, etc.)Hal Finkel1-29/+32
2014-08-21Repace SmallPtrSet with SmallPtrSetImpl in function arguments to avoid needin...Craig Topper1-1/+1
2014-08-18Revert "Repace SmallPtrSet with SmallPtrSetImpl in function arguments to avoi...Craig Topper1-1/+1
2014-08-17Repace SmallPtrSet with SmallPtrSetImpl in function arguments to avoid needin...Craig Topper1-1/+1
2014-08-15Introduce a helper to combine instruction metadata.Rafael Espindola1-0/+8
2014-08-02[SimplifyCFG] fix accessing deleted PHINodes in switch-to-table conversion.Manman Ren1-1/+4
2014-07-30SimplifyCFG: Avoid miscompilations due to removed lifetime intrinsics.Rafael Espindola1-1/+1
2014-07-24Feedback from Hans on r213815. No functionaility change.Manman Ren1-10/+11
2014-07-24Fixing an MSVC conversion warning about implicitly converting the shift resul...Aaron Ballman1-1/+1
2014-07-23SimplifyCFG: fix a bug in switch to table conversionManman Ren1-4/+13
2014-07-21Revert "[C++11] Add predecessors(BasicBlock *) / successors(BasicBlock *) ite...Duncan P. N. Exon Smith1-23/+25
2014-07-20[C++11] Add predecessors(BasicBlock *) / successors(BasicBlock *) iterator ra...Manuel Jacob1-25/+23
2014-07-10Feeding isSafeToSpeculativelyExecute its DataLayout pointerHal Finkel1-25/+27
2014-07-07Fix for PR17073 ( http://llvm.org/pr17073 ), simplifycfg illegally hoists an ...Sanjay Patel1-3/+20
2014-07-06fixed some typos in commentsSanjay Patel1-4/+4
2014-07-03Minor stylistic fix in SimplifyCFG (test commit)Marcello Maggioni1-1/+2
2014-06-26Don't build switch tables for dllimport and TLS variables in GEPsHans Wennborg1-2/+3
2014-06-20Don't build switch lookup tables for dllimport or TLS variablesHans Wennborg1-0/+4
2014-05-30Make bitcast, extractelement, and insertelement considered cheap for speculat...Matt Arsenault1-0/+3