aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
AgeCommit message (Expand)AuthorFilesLines
2022-04-06Fix warnings about variables that are set but only used in debug modeMartin Storsjö1-0/+1
2022-03-01Cleanup includes: TransformsUtilsserge-sans-paille1-2/+0
2022-02-05[Transforms] Use default member initialization in SimplifyIndvar (NFC)Kazu Hirata1-2/+2
2021-11-07Put implementation details into anonymous namespaces. NFCI.Benjamin Kramer1-1/+2
2021-07-11[IndVars] Don't widen pointers in WidenIV::getWideRecurrenceEli Friedman1-1/+1
2021-06-05[NFC] Promote willNotOverflow() / getStrengthenedNoWrapFlagsFromBinOp() from ...Roman Lebedev1-69/+21
2021-06-04[IndVars] Don't forget value when inferring nowrap flagsNikita Popov1-2/+5
2021-03-22[IndVars] Sharpen context in eliminateIVComparisonMax Kazantsev1-2/+5
2021-03-19[NFC] Move function up in codeMax Kazantsev1-18/+18
2021-03-19[NFC] Factor out utility function for finding common dom of user setMax Kazantsev1-13/+21
2021-03-19[IndVars] Provide eliminateIVComparison with contextMax Kazantsev1-3/+4
2021-03-18[NFC] Use evaluatePredicate in eliminateComparisonMax Kazantsev1-6/+2
2021-01-05[SimplifyIndVar] createWideIV - make WideIVInfo arg a const ref. NFCI.Simon Pilgrim1-1/+1
2020-12-18[IndVars] Fix adding trunc instructions to unwind blocksYevgeny Rouban1-1/+1
2020-12-08[indvars] Common a bit of code [NFC]Philip Reames1-27/+11
2020-12-04Return "[IndVars] ICmpInst should not prevent IV widening"Max Kazantsev1-2/+39
2020-12-04[IndVars] Quick fix LHS/RHS bugMax Kazantsev1-0/+3
2020-12-03Revert "[IndVars] ICmpInst should not prevent IV widening"Max Kazantsev1-39/+2
2020-11-30[IndVars] ICmpInst should not prevent IV wideningMax Kazantsev1-2/+39
2020-11-27[IndVars] LCSSA Phi users should not prevent wideningMax Kazantsev1-5/+30
2020-11-25[IndVars] Use more precise context when eliminating narrowingMax Kazantsev1-1/+16
2020-11-19[NFC] Remove comment (commited ahead of time by mistake)Max Kazantsev1-3/+0
2020-11-19[NFC] Move code earlier as preparation for further changesMax Kazantsev1-16/+24
2020-11-17[NFC] Collect ext users into vector instead of finding them twiceMax Kazantsev1-9/+3
2020-11-13[NFC] Refactor loop-invariant getters to return OptionalMax Kazantsev1-5/+5
2020-11-12[IndVars] IV user should not prevent use wideningMax Kazantsev1-0/+7
2020-11-12[IndVars] Recognize 'sub nuw' expressed as 'add' for wideningMax Kazantsev1-4/+22
2020-11-05[IndVarSimplify][SimplifyIndVar] Move WidenIV to Utils/SimplifyIndVar. NFCI.Sjoerd Meijer1-0/+1031
2020-10-14Revert "Reland "[SCEV] Model ptrtoint(SCEVUnknown) cast not as unknown, but a...Roman Lebedev1-1/+1
2020-10-12Reland "[SCEV] Model ptrtoint(SCEVUnknown) cast not as unknown, but as zext/t...Roman Lebedev1-1/+1
2020-10-12Revert 1c021c64c "[SCEV] Model ptrtoint(SCEVUnknown) cast not as unknown, but...Hans Wennborg1-1/+1
2020-10-12[SCEV] Model ptrtoint(SCEVUnknown) cast not as unknown, but as zext/trunc/sel...Roman Lebedev1-1/+1
2020-09-29[IndVarSimplify] Fix Modified status for removal of overflow intrinsicsDavid Stenberg1-0/+1
2020-06-23[IndVarSimplify] Don't replace IV user with unsafe loop-invariant (PR45360)Roman Lebedev1-1/+8
2020-05-20[SCEV] Move ScalarEvolutionExpander.cpp to Transforms/Utils (NFC).Florian Hahn1-1/+1
2020-02-25[NFC][SCEV] Piping to pass new SCEVCheapExpansionBudget option into SCEVExpan...Roman Lebedev1-1/+1
2020-02-25[NFC][SCEV] Piping to pass TTI into SCEVExpander::isHighCostExpansionHelper()Roman Lebedev1-9/+14
2020-01-04Revert "[SCEV] Move ScalarEvolutionExpander.cpp to Transforms/Utils (NFC)."Florian Hahn1-1/+1
2020-01-04[SCEV] Move ScalarEvolutionExpander.cpp to Transforms/Utils (NFC).Florian Hahn1-1/+1
2019-06-15[SimplifyIndVar] Simplify non-overflowing saturating add/subNikita Popov1-0/+24
2019-06-11Generalize icmp matching in IndVars' eliminateTruncPhilip Reames1-14/+15
2019-06-01[SimplifyIndVar] Refactor overflow check elimination code; NFCNikita Popov1-97/+43
2019-01-19Update the file headers across all of the LLVM projects in the monorepoChandler Carruth1-4/+3
2018-10-11[IndVars] Drop "exact" flag from lshr and udiv when substituting their argsMax Kazantsev1-0/+9
2018-10-10[NFC] Make a variable constMax Kazantsev1-1/+1
2018-07-30Remove trailing spaceFangrui Song1-1/+1
2018-07-27[SimplifyIndVar] Canonicalize comparisons to unsigned while eliminating truncsMax Kazantsev1-2/+23
2018-06-28[IndVarSimplify] Ignore unreachable users of truncsMax Kazantsev1-0/+4
2018-06-19[SimplifyIndVars] Eliminate redundant truncsMax Kazantsev1-0/+92
2018-06-13[SimplifyIndVars] Ignore dead usersMax Kazantsev1-0/+10