aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGenPrepare.cpp
AgeCommit message (Expand)AuthorFilesLines
8 days[CodeGenPrepare] Make sure that `AddOffset` is also a loop invariant (#150625)Yingwei Zheng1-0/+4
12 days[DebugInfo] Remove intrinsic-flavours of findDbgUsers (#149816)Jeremy Morse1-3/+1
2025-07-18[DebugInfo] Suppress lots of users of DbgValueInst (#149476)Jeremy Morse1-54/+5
2025-07-16[DebugInfo] Remove getPrevNonDebugInstruction (#148859)Jeremy Morse1-2/+2
2025-07-15[DebugInfo][RemoveDIs] Suppress getNextNonDebugInfoInstruction (#144383)Jeremy Morse1-1/+1
2025-06-28[CodeGenPrepare] Filter out unrecreatable addresses from memory optimization ...Evgenii Kudriashov1-0/+7
2025-06-17[DebugInfo][RemoveDIs] Remove a swathe of debug-intrinsic code (#144389)Jeremy Morse1-10/+4
2025-06-12[DebugInfo][RemoveDIs] Delete debug-info-format flag (#143746)Jeremy Morse1-2/+1
2025-06-06[CGP] Bail out if (Base|Scaled)Reg does not dominate insert point. (#142949)Florian Hahn1-2/+11
2025-06-03[CodeGenPrepare] Fix signed overflow (#141487)mikael-nilsson-arm1-5/+11
2025-05-22Reland [llvm] add GenericFloatingPointPredicateUtils #140254 (#141065)Tim Gymnich1-0/+1
2025-05-21Revert "[llvm] add GenericFloatingPointPredicateUtils (#140254)" (#140968)Kewen121-1/+0
2025-05-21[llvm] add GenericFloatingPointPredicateUtils (#140254)Tim Gymnich1-0/+1
2025-05-15[CodeGenPrepare] Make sure instruction get from SunkAddrs is before MemoryIns...weiguozhi1-5/+36
2025-05-08Reapply "IR: Remove uselist for constantdata (#137313)" (#138961)Matt Arsenault1-0/+3
2025-05-07Revert "IR: Remove uselist for constantdata (#137313)"Kirill Stoimenov1-3/+0
2025-05-06IR: Remove uselist for constantdata (#137313)Matt Arsenault1-0/+3
2025-04-29[CGP] Despeculate ctlz/cttz with "illegal" integer types (#137197)Sergei Barannikov1-2/+2
2025-04-23[CodeGenPrepare] Unfold slow ctpop when used in power-of-two test (#102731)Sergei Barannikov1-28/+73
2025-04-18CodeGenPrepare: Check use_empty instead of getNumUses == 0 (#136334)Matt Arsenault1-1/+1
2025-04-18[CodeGen] Construct SmallVector with iterator ranges (NFC) (#136258)Kazu Hirata1-3/+2
2025-04-02[CodeGenPrepare][RISCV] Combine (X ^ Y) and (X == Y) where appropriate (#130922)Ryan Buchner1-1/+2
2025-03-27[llvm] Use *Set::insert_range (NFC) (#133353)Kazu Hirata1-2/+1
2025-03-23[CodeGen] Use *Set::insert_range (NFC) (#132651)Kazu Hirata1-2/+1
2025-03-23[llvm] Use range constructors for *Set (NFC) (#132636)Kazu Hirata1-2/+1
2025-03-22[llvm] Use *Set::insert_range (NFC) (#132509)Kazu Hirata1-1/+1
2025-03-20[llvm] Use *Set::insert_range (NFC) (#132325)Kazu Hirata1-1/+1
2025-03-09[CodeGen] Avoid repeated hash lookups (NFC) (#130543)Kazu Hirata1-3/+3
2025-01-30[CodeGenPrepare] Replace deleted ext instr with the promoted value. (#71058)Yingwei Zheng1-0/+11
2025-01-27[NFC][DebugInfo] Make some block-start-position methods return iterators (#12...Jeremy Morse1-1/+1
2025-01-27[NFC][DebugInfo] Use iterators for instruction insertion in more places (#124...Jeremy Morse1-11/+11
2025-01-24[NFC][DebugInfo] Use iterator moveBefore at many call-sites (#123583)Jeremy Morse1-16/+16
2025-01-16[CodeGenPrepare] Replace `undef` use with `poison` [NFC] (#123111)Pedro Lobo1-4/+4
2025-01-15[CodeGen] Avoid repeated hash lookups (NFC) (#123016)Kazu Hirata1-2/+2
2025-01-08[LLVM] Fix various cl::desc typos and whitespace issues (NFC) (#121955)Ryan Mansfield1-1/+1
2024-12-13PatternMatch: migrate to CmpPredicate (#118534)Ramkumar Ramachandra1-2/+2
2024-12-01[CodeGenPrepare] Drop nsw flags in `optimizeLoadExt` (#118180)Yingwei Zheng1-0/+7
2024-11-12[CodeGen] Remove unused includes (NFC) (#115996)Kazu Hirata1-1/+0
2024-10-31[CGP] [CodeGenPrepare] Folding `urem` with loop invariant value plus offset (...goldsteinn1-9/+49
2024-10-28Check hasOptSize() in shouldOptimizeForSize() (#112626)Ellis Hoag1-6/+3
2024-10-24replace 2 placeholder uses of undef with poison [NFC]Nuno Lopes1-1/+1
2024-10-15Reland `[CodeGenPrepare] Convert `ctpop(X) ==/!= 1` into `ctpop(X) u</u> 2/1`...Yingwei Zheng1-0/+28
2024-10-11Revert "[CodeGenPrepare] Convert `ctpop(X) ==/!= 1` into `ctpop(X) u</u> 2/1`...Yingwei Zheng1-28/+0
2024-10-11[CodeGenPrepare] Convert `ctpop(X) ==/!= 1` into `ctpop(X) u</u> 2/1` (#111284)Yingwei Zheng1-0/+28
2024-10-09[TTI] NFC: Port TLI.shouldSinkOperands to TTI (#110564)Jeffrey Byrnes1-3/+3
2024-09-02[CGP] Undo constant propagation of pointers across callsAntonio Frighetto1-1/+47
2024-08-29[ExtendLifetimes] Implement llvm.fake.use to extend variable lifetimes (#86149)Stephen Tozer1-3/+41
2024-08-29[MachineLoopInfo] Fix getLoopID to handle multi latches. (#106195)Freddy Ye1-0/+6
2024-08-20Recommit "[CodeGenPrepare] Folding `urem` with loop invariant value"Noah Goldstein1-0/+134
2024-08-18Revert "[CodeGenPrepare] Folding `urem` with loop invariant value"Noah Goldstein1-131/+0