aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopPeel.cpp
AgeCommit message (Expand)AuthorFilesLines
2024-09-20[LoopPeel] Fix LCSSA phi node invalidationNikita Popov1-1/+1
2024-06-27[IR] Add getDataLayout() helpers to BasicBlock and Instruction (#96902)Nikita Popov1-1/+1
2024-06-12Reapply "[llvm][IR] Extend BranchWeightMetadata to track provenance o… (#95...Paul Kirth1-2/+2
2024-06-11Revert "[llvm][IR] Extend BranchWeightMetadata to track provenance of weights...Paul Kirth1-2/+2
2024-06-10[llvm][IR] Extend BranchWeightMetadata to track provenance of weights (#86609)Paul Kirth1-2/+2
2024-05-31[LoopPeel] Support min/max intrinsics in loop peeling (#93162)Sergey Kachkov1-23/+63
2023-12-02[LoopPeel] Peel iterations based on and, or conditions (#73413)Joshua Cao1-4/+13
2023-11-16Add setBranchWeigths convenience function. NFC (#72446)Matthias Braun1-13/+4
2023-10-31[LoopPeeling] Fix weights updating of peeled off branches (#70094)Aleksandr Popov1-3/+8
2023-09-01[llvm] Fix duplicate word typos. NFCFangrui Song1-1/+1
2023-07-19[LoopPeel] Clear dispositions after peelingNikita Popov1-0/+1
2023-05-24[LoopUnroll] Peel iterations based on select conditionsJoshua Cao1-16/+33
2022-12-19[LoopPeel] Expose ValueMap of last peeled iteration. NFCAnna Thomas1-3/+1
2022-12-14Don't include Optional.hKazu Hirata1-1/+0
2022-12-14[NFC] Cleanup: Replace Function::getBasicBlockList().splice() with Function::...Vasileios Porpodas1-3/+2
2022-12-12Transforms/Utils: llvm::Optional => std::optionalFangrui Song1-8/+10
2022-12-05Expand loop peeling phi computation to handle binary ops and castsJamie Schmeiser1-1/+16
2022-12-02[Transforms] Use std::nullopt instead of None (NFC)Kazu Hirata1-2/+2
2022-11-26[Utils] Use std::optional in LoopPeel.cpp (NFC)Kazu Hirata1-1/+2
2022-11-25[NFC] Refactor loop peeling code for calculating phi invariance.Jamie Schmeiser1-62/+158
2022-11-23[NFC] Replaced BB->getInstList().{erase(),pop_front(),pop_back()} with eraseF...Vasileios Porpodas1-1/+1
2022-10-25[LoopPeeling] Add flag to disable support for peeling loops with non-latch exitsAlina Sbirlea1-1/+21
2022-10-07[LoopPeeling] Support peeling loops with non-latch exitsNikita Popov1-104/+90
2022-09-26LoopPeel: Pass through AssumptionCache (NFC)Matt Arsenault1-4/+6
2022-09-19Analysis: Add AssumptionCache argument to isDereferenceableAndAlignedPointerMatt Arsenault1-1/+1
2022-08-20Remove redundant initialization of Optional (NFC)Kazu Hirata1-1/+1
2022-08-07[Transforms] Fix comment typos (NFC)Kazu Hirata1-1/+1
2022-08-03[llvm][NFC] Refactor code to use ProfDataUtilsPaul Kirth1-1/+2
2022-07-27Revert "[llvm][NFC] Refactor code to use ProfDataUtils"Paul Kirth1-2/+1
2022-07-27[llvm][NFC] Refactor code to use ProfDataUtilsPaul Kirth1-1/+2
2022-06-25[llvm] Don't use Optional::hasValue (NFC)Kazu Hirata1-2/+2
2022-06-25Revert "Don't use Optional::hasValue (NFC)"Kazu Hirata1-2/+2
2022-06-25Don't use Optional::hasValue (NFC)Kazu Hirata1-2/+2
2022-06-20[LoopPeel] Forget SCEV for updated exit phi values.Florian Hahn1-2/+4
2022-04-26[LoopPeel][NFCI] Simplify the code to calculate peel count for PGOIgor Kudrin1-13/+12
2022-04-26[LoopPeel][NFC] Exit early if there is no room for peelingIgor Kudrin1-40/+42
2022-03-02[LoopPeel] Add EXPENSIVE_CHECKS ifdef guard around domtree verify callStephen Long1-0/+2
2022-03-01Cleanup includes: TransformsUtilsserge-sans-paille1-3/+0
2022-02-01[LoopPeel] Use reference instead of pointer for DT argumentAnna Thomas1-32/+28
2022-01-19[LoopPeel] Pass TripCount to computePeelCount by value instead of by referenc...Craig Topper1-1/+1
2022-01-19[LoopPeeling] Fix stale comments. NFCCraig Topper1-3/+3
2021-12-17[llvm] Strip redundant lambda (NFC)Kazu Hirata1-3/+1
2021-12-09Compute estimated trip counts for multiple exit loopsPhilip Reames1-0/+27
2021-11-09[NFC] Get rid of hardcoded magical constant and use Optionals insteadMax Kazantsev1-19/+13
2021-11-02[LoopPeel] Peel loops with exits followed by an unreachable or deopt blockDmitry Makogon1-7/+7
2021-10-26[NFC] [LoopPeel] Update IDoms of non-loop blocks dominated by the loopMax Kazantsev1-33/+24
2021-10-18Revert "[NFC] [LoopPeel] Change the way DT is updated for loop exits"Max Kazantsev1-34/+56
2021-10-18[NFC] [LoopPeel] Change the way DT is updated for loop exitsMax Kazantsev1-56/+34
2021-10-12[LoopPeel] Use any_of & contains instead of for & find.Florian Hahn1-3/+4
2021-10-12[LoopPeel] Peel if it turns invariant loads dereferenceable.Florian Hahn1-2/+66