aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/SimplifyCFG.cpp
AgeCommit message (Expand)AuthorFilesLines
2022-04-15[SimplifyCFG] Try to fold switch with single result value and power-of-2 case...chenglin.bi1-9/+40
2022-04-13[SimplifyCFG] improve readability in switch-to-select; NFCSanjay Patel1-21/+17
2022-04-13[SimplifyCFG] make a debug option for case max when converting switch to selectSanjay Patel1-13/+17
2022-04-12[SimplifyCFG] cleanup code for converting switch to select (NFC)Sanjay Patel1-33/+33
2022-03-25[SimplifyCFG] `FoldBranchToCommonDest()`: allow branch-on-selectRoman Lebedev1-1/+3
2022-03-01Cleanup includes: TransformsUtilsserge-sans-paille1-4/+1
2022-02-20[SimplifyCFG][OpaquePtr] Check store type when merging conditional storeArthur Eubanks1-1/+3
2022-02-17[SimplifyCFG][PhaseOrdering] Defer lowering switch into an integer range comp...Roman Lebedev1-1/+3
2022-02-15[NFC] Introduce option to switch off compatible invokes mergeMax Kazantsev1-0/+7
2022-02-08[SimplifyCFG] 'merge compatible invokes': fully support indirect invokesRoman Lebedev1-15/+31
2022-02-08[SimplifyCFG] 'merge compatible invokes': don't create trivial PHI's with all...Roman Lebedev1-8/+10
2022-02-08[SimplifyCFG] 'merge compatible invokes': support normal destination w/ usesRoman Lebedev1-13/+20
2022-02-08[SimplifyCFG] 'merge compatible invokes': support normal destination w/ PHIs ...Roman Lebedev1-10/+11
2022-02-08[SimplifyCFG] 'merge compatible invokes': support normal destination w/ no us...Roman Lebedev1-12/+41
2022-02-04[SimplifyCFG] 'merge compatible invokes': allow PHI nodes in landing padsRoman Lebedev1-7/+14
2022-02-04[NFC][SimplifyCFG] Extract `IncomingValuesAreCompatible()` out of `SafeToMerg...Roman Lebedev1-11/+28
2022-02-04[SimplifyCFG] Merge compatible `invoke`s of a `landingpad`Roman Lebedev1-1/+264
2022-02-03Revert "[SimplifyCFG] Start redesigning `FoldTwoEntryPHINode()`."Roman Lebedev1-88/+25
2022-02-02[SimplifyCFG] Fix -Wunused-variable in -DLLVM_ENABLE_ASSERTIONS=off buildsFangrui Song1-2/+1
2022-02-02[NFC][SimplifyCFG] Merge `FoldTwoEntryPHINode()` into it's only calleeRoman Lebedev1-80/+72
2022-02-02[NFC][SimplifyCFG] `FoldTwoEntryPHINode()`: s/BB/MergeBB/Roman Lebedev1-12/+13
2022-02-02[SimplifyCFG] Start redesigning `FoldTwoEntryPHINode()`.Roman Lebedev1-9/+80
2022-01-18[SimplifyCFG] Fix assertion failure when reusing table switch comparisonpvellien1-3/+2
2022-01-13[SimplifyCFG] Be more aggressive when sinking into block followed by unreachableRoman Lebedev1-87/+97
2022-01-03[ValueTracking][SelectionDAG] Rename ComputeMinSignedBits->ComputeMaxSignific...Craig Topper1-1/+2
2022-01-03[SimplifyCFG] Make use of ComputeMinSignedBits and KnownBits::getBitWidth. NFCCraig Topper1-5/+3
2021-12-17[llvm] Use none_of instead of \!any_of (NFC)Kazu Hirata1-1/+1
2021-11-29Use a deterministic order when updating the DominatorTreeBjorn Pettersson1-15/+17
2021-11-24Revert "Revert "Revert "Recommit "Revert "[CVP] processSwitch: Remove default...Jun Ma1-0/+20
2021-11-09[SimplifyCFG] Add early bailout if Use is not in same BB.Florian Hahn1-10/+12
2021-11-01Revert "Revert "Recommit "Revert "[CVP] processSwitch: Remove default case wh...Jun Ma1-20/+0
2021-10-31[Transforms] Use {DenseSet,SetVector,SmallPtrSet}::contains (NFC)Kazu Hirata1-1/+1
2021-10-26[NFC] Remove obsolete simplifyOnceImpl functionMax Kazantsev1-8/+1
2021-10-21[CodeMetrics] Don't require speculatability for ephemeral valuesNikita Popov1-4/+4
2021-10-12[CSSPGO] Unblock optimizations with pseudo probe instrumentation part 3.Hongtao Yu1-7/+6
2021-09-27Revert "Recommit "Revert "[CVP] processSwitch: Remove default case when switc...Jun Ma1-0/+20
2021-09-22[SimplifyCFG] Ignore free instructions when computing cost for folding branch...Arthur Eubanks1-7/+10
2021-09-21[SimplifyCFG] Redirect switch cases that lead to UB into an unreachable blockMax Kazantsev1-1/+23
2021-09-16[IR] Return AAMDNodes from Instruction::getMetadata() (NFC)Nikita Popov1-4/+1
2021-09-16[SimplifyCFG] Add bonus when seeing vector ops to branch fold to common destArthur Eubanks1-1/+24
2021-09-15[Transforms] Use make_early_inc_range (NFC)Kazu Hirata1-4/+1
2021-09-15Teach SimplifyCFG to fold switches into lookup tables in more cases.Owen Anderson1-3/+4
2021-09-09[SimplifyCFG] performBranchToCommonDestFolding(): require block-closed SSA fo...Roman Lebedev1-9/+27
2021-09-09Recommit "Revert "[CVP] processSwitch: Remove default case when switch cover ...Jun Ma1-20/+0
2021-09-08[SimplifyCFG] Preserve knowledge about guarding condition by adding assumeMax Kazantsev1-1/+9
2021-08-20[NFCI][SimplifyCFG] Rewrite `createUnreachableSwitchDefault()`Roman Lebedev1-14/+11
2021-08-19Revert "[CVP] processSwitch: Remove default case when switch cover all possib...Sanjay Patel1-0/+23
2021-08-18[CVP] processSwitch: Remove default case when switch cover all possible values.Jun Ma1-23/+0
2021-08-16Revert "Reland [SimplifyCFG] performBranchToCommonDestFolding(): form block-c...Roman Lebedev1-66/+9
2021-08-15Reland [SimplifyCFG] performBranchToCommonDestFolding(): form block-closed SS...Roman Lebedev1-9/+66