aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Scalar/Reassociate.cpp
AgeCommit message (Expand)AuthorFilesLines
2025-08-18[llvm] Replace SmallSet with SmallPtrSet (NFC) (#154068)Kazu Hirata1-1/+1
2025-06-25[Transforms] Use range-based for loops (NFC) (#145252)Kazu Hirata1-5/+5
2025-05-19[Local] Move OverflowTracking to Local.h, move logic to helpers (NFC) (#140403)Florian Hahn1-14/+3
2025-05-08Reapply "IR: Remove uselist for constantdata (#137313)" (#138961)Matt Arsenault1-1/+2
2025-05-07Revert "IR: Remove uselist for constantdata (#137313)"Kirill Stoimenov1-2/+1
2025-05-06IR: Remove uselist for constantdata (#137313)Matt Arsenault1-1/+2
2025-05-04[Transforms] Use range-based for loops (NFC) (#138476)Kazu Hirata1-5/+3
2025-04-30[LLVM][Reassociate] Extend ConvertShiftToMul to allow for ConstantInt vectors...Paul Walker1-1/+1
2025-04-23[Reassociate] Invalidate analysis passes after canonicalizeOperands (#136835)Björn Pettersson1-1/+3
2025-04-09[DebugInfo][Reassociate] Propagate source locs when factoring add->mul (#134829)Stephen Tozer1-0/+1
2025-04-08[DebugInfo][Reassociate] Propagate source loc when negating mul factor (#134679)Stephen Tozer1-3/+9
2025-04-08[Reassociate] Apply Debugloc to instrs produced when optimizing add (#134676)Stephen Tozer1-4/+7
2025-03-23[Transforms] Use *Set::insert_range (NFC) (#132652)Kazu Hirata1-2/+1
2025-02-22[Reassociate] Use a reference to DataLayout instead of copying the underlying...cooperp1-1/+1
2025-01-24[NFC][DebugInfo] Use iterator moveBefore at many call-sites (#123583)Jeremy Morse1-2/+2
2025-01-21[Reassociate] Don't reassociate vXi1 logical expressions (#123329)Simon Pilgrim1-3/+4
2024-11-08[DebugInfo][Reassociate] Preserve DebugLocs when reassociating subs (#114226)Stephen Tozer1-0/+2
2024-07-14[Transforms] Use range-based for loops (NFC) (#98725)Kazu Hirata1-6/+6
2024-07-12[Transforms] Use range-based for loops (NFC) (#98465)Kazu Hirata1-2/+2
2024-07-01[Reassociate] Preserve `nuw` and `nsw` on `mul` chainsNoah Goldstein1-4/+13
2024-06-27[IR] Add getDataLayout() helpers to BasicBlock and Instruction (#96902)Nikita Popov1-4/+4
2024-06-25[Reassociate] Use poison instead of undef for dummy operands (NFCI)Nikita Popov1-3/+3
2024-06-18[Reassociate] Avoid use of ConstantExpr::getShl()Nikita Popov1-1/+2
2024-06-17[DebugInfo][Reassociate] Fix missing debug location drop (#95355)Shan Huang1-0/+6
2024-06-14[llvm] Use llvm::unique (NFC) (#95628)Kazu Hirata1-4/+4
2024-06-08[Reassociate] Use uint64_t for repeat count (#94232)Yingwei Zheng1-108/+12
2024-06-03Revert "[Reassociate] Drop weight reduction to fix issue 91417 (#91469)" (#94...Yingwei Zheng1-1/+92
2024-05-29[Reassociate] Drop weight reduction to fix issue 91417 (#91469)Yingwei Zheng1-111/+1
2024-05-28[Reassociate] Preserve NSW flags after expr tree rewriting (#93105)Akshay Deodhar1-13/+22
2024-03-05[NFC][RemoveDIs] Insert instruction using iterators in Transforms/Jeremy Morse1-25/+30
2024-02-29[NFC][RemoveDIs] Have CreateNeg only accept iterators (#82999)Jeremy Morse1-3/+5
2023-12-09[Reassociate] Preserve NUW flags after expr tree rewriting (#72360)Yingwei Zheng1-9/+22
2023-12-06Recommit "[Reassociate] Use disjoint flag to convert Or to Add. (#72772)"Craig Topper1-3/+4
2023-12-06Revert "[Reassociate] Use disjoint flag to convert Or to Add. (#72772)"Craig Topper1-4/+3
2023-12-06[Reassociate] Use disjoint flag to convert Or to Add. (#72772)Craig Topper1-3/+4
2023-12-04[IR][TRE] Support associative intrinsics (#74226)Joshua Cao1-1/+1
2023-11-30[DebugInfo][RemoveDIs] Have getInsertionPtAfterDef return an iterator (#73149)Jeremy Morse1-5/+9
2023-10-10[ValueTracking] Use SimplifyQuery in haveNoCommonBitsSet() (NFC)Nikita Popov1-2/+2
2023-07-03[Reassociate] Keep flags for more unchanged operationsDavid Green1-22/+39
2023-06-26[Reassociation] Only form CSE expressions for local operandsQuentin Colombet1-3/+85
2023-04-16[Scalar] Use range-based for loops (NFC)Kazu Hirata1-6/+3
2023-03-14[Transforms] Use *{Set,Map}::contains (NFC)Kazu Hirata1-1/+1
2022-09-12[Reassociate] prevent partial undef negation replacementSanjay Patel1-0/+6
2022-09-07[Reassociate] Avoid ConstantExpr::getFNeg() (NFCI)Nikita Popov1-5/+11
2022-08-31[Reassociate] Use getInsertionPointerAfterDef()Nikita Popov1-30/+6
2022-08-27[Transform] Use range-based for loops (NFC)Kazu Hirata1-4/+4
2022-08-07[llvm] Qualify auto (NFC)Kazu Hirata1-1/+1
2022-07-25[Reassociate][NFC] Use an appropriate dyn_cast for BinaryOperatorWarren Ristow1-9/+9
2022-07-24[Reassociate][NFC] Consistent checking for FastMathFlags suitabilityWarren Ristow1-3/+3
2022-07-15[Reassociate] Enable FP reassociation via 'reassoc' and 'nsz'Warren Ristow1-5/+15