summaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
AgeCommit message (Expand)Author
2025-06-10[IndVars] Teach widenLoopCompare to use sext if narrow IV is positive and oth...Craig Topper
2025-05-02[IndVarSimplify] Set samesign when converting signed comparison to unsigned c...Craig Topper
2025-04-25SimplifyIndVar: Use use_empty instead of hasNUses(0) (#137346)Matt Arsenault
2025-04-17[DebugInfo][IndVarSimplify] Propagate source loc when simplifying rem (#135399)Stephen Tozer
2025-04-11[IndVarSimplify] Handle the case where both operands are the same when wideni...Yingwei Zheng
2025-02-06SimplifyIndVar: teach widenLoopCompare about samesign (#125851)Ramkumar Ramachandra
2025-01-31IndVarSimplify: thread CmpPredicate to SCEV (NFC) (#125240)Ramkumar Ramachandra
2024-12-13PatternMatch: migrate to CmpPredicate (#118534)Ramkumar Ramachandra
2024-10-03Fix LLVM_ENABLE_ABI_BREAKING_CHECKS macro check: use #if instead of #ifdef (#...Mehdi Amini
2024-09-06[IndVars] Avoid repeated hash lookups (NFC) (#107513)Kazu Hirata
2024-08-28[IndVars] Check if WideInc available before trying to use itNikita Popov
2024-08-03[SCEV] Use const SCEV * explicitly in more places.Florian Hahn
2024-07-10[DebugInfo][SimplifyIndVar] Missing debug location updates for overflow/satur...Sudharsan Veeravalli
2024-07-02[DebugInfo][SimplifyIndVar] Fix missing debug locations for div/rem instructi...Sudharsan Veeravalli
2024-06-24Revert "[IR][NFC] Update IRBuilder to use InsertPosition (#96497)"Stephen Tozer
2024-06-24[IR][NFC] Update IRBuilder to use InsertPosition (#96497)Stephen Tozer
2024-06-24[IndVars] Make pushIVUsers() a member function (NFC)Nikita Popov
2024-04-18[IR] Drop poison-generating return attributes when necessary (#89138)Andreas Jonson
2024-04-16[IndVars] Mark truncs as nuw/nsw (#88686)Nikita Popov
2024-04-12[Passes] Run SimpleLoopUnswitch after introducing invariant branches. (#81271)Florian Hahn
2024-03-14[IndVars] Support shl by constant and or disjoint in getExtendedOperandRecurr...Craig Topper
2024-03-04[RemoveDIs] Reapply 3fda50d3915, insert instructions using iteratorsJeremy Morse
2024-02-29Revert "[NFC][RemoveDIs] Bulk update utilities to insert with iterators"Jeremy Morse
2024-02-29[NFC][RemoveDIs] Bulk update utilities to insert with iteratorsJeremy Morse
2024-02-21[SimplifyIndVar] LCSSA form is destroyed by simplifyLoopIVs, preserve it (#78...Vedant Paranjape
2024-02-20[IndVars] Recompute flags if needed in widenIVUse of IV increment. (#82352)Florian Hahn
2024-02-10[IndVars] Preserve flags of narrow IV inc if replacing with wider inc. (#80446)Florian Hahn
2024-02-05[IndVarSimplify] Fix poison-safety when reusing instructions (#80458)Nikita Popov
2024-01-19Fix typo "widended"Jay Foad
2023-12-22[IndVars] Avoid unnecessary truncate for zext nneg useNikita Popov
2023-12-22[IndVars] Move "using namespace" to top-level scope (NFC)Nikita Popov
2023-12-01[NFC][indvars] Remove unused code in WidenIV::widenLoopCompare (#73506)Wenju He
2023-11-08[IndVars] Add check of loop invariant for trunc instructions (#71072)Markos Horro
2023-11-07[indvars] Always fallback to truncation if AddRec widening fails (#70967)Philip Reames
2023-11-03Revert "[IndVars] Generate zext nneg when locally obvious"Philip Reames
2023-11-03[indvars] Restructure getExtendedOperandRecurrence [nfc]Philip Reames
2023-11-03[indvars] Support known positive extends in getExtendedOperandRecurrence (#70...Philip Reames
2023-11-03[IndVars] Generate zext nneg when locally obviousPhilip Reames
2023-10-31[IndVars] Use IRBuilder in eliminateTrunc [nfc-ish] (#70836)Philip Reames
2023-10-20Fix build warning caused by mixed signed/unsigned compare (#69797)Andy Kaylor
2023-10-20Update SimplifyIndVar.cpp (#69760)Andy Kaylor
2023-09-11[NFC][RemoveDIs] Use iterators over inst-pointers when using IRBuilderJeremy Morse
2023-08-22[IndVars] Don't assume backedge value is instruction (PR64891)Nikita Popov
2023-06-03[IndVars] Add check of loop invariant for indirect usezhongyunde
2023-05-31[IndVars] Check expansion safety in makeIVComparisonInvariant() (PR62992)Nikita Popov
2023-02-10[SimplifyIndVar][NFC] Refactor Binary Operator's flag strengtheningMax Kazantsev
2023-01-10Reapply [Dominators] Add findNearestCommonDominator() for Instructions (NFC)Nikita Popov
2023-01-06Revert "[Dominator] Add findNearestCommonDominator() for Instructions (NFC)"Nikita Popov
2023-01-06[Dominator] Add findNearestCommonDominator() for Instructions (NFC)Nikita Popov
2022-12-12Transforms/Utils: llvm::Optional => std::optionalFangrui Song