summaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGenPrepare.cpp
AgeCommit message (Expand)Author
2025-06-02CodeGenPrepare: Null check pointersusers/optimisan/06-02-codegenprepare_null_check_pointersAkshat Oke
2025-05-15[CodeGenPrepare] Make sure instruction get from SunkAddrs is before MemoryIns...weiguozhi
2025-05-08Reapply "IR: Remove uselist for constantdata (#137313)" (#138961)Matt Arsenault
2025-05-07Revert "IR: Remove uselist for constantdata (#137313)"Kirill Stoimenov
2025-05-06IR: Remove uselist for constantdata (#137313)Matt Arsenault
2025-04-29[CGP] Despeculate ctlz/cttz with "illegal" integer types (#137197)Sergei Barannikov
2025-04-23[CodeGenPrepare] Unfold slow ctpop when used in power-of-two test (#102731)Sergei Barannikov
2025-04-18CodeGenPrepare: Check use_empty instead of getNumUses == 0 (#136334)Matt Arsenault
2025-04-18[CodeGen] Construct SmallVector with iterator ranges (NFC) (#136258)Kazu Hirata
2025-04-02[CodeGenPrepare][RISCV] Combine (X ^ Y) and (X == Y) where appropriate (#130922)Ryan Buchner
2025-03-27[llvm] Use *Set::insert_range (NFC) (#133353)Kazu Hirata
2025-03-23[CodeGen] Use *Set::insert_range (NFC) (#132651)Kazu Hirata
2025-03-23[llvm] Use range constructors for *Set (NFC) (#132636)Kazu Hirata
2025-03-22[llvm] Use *Set::insert_range (NFC) (#132509)Kazu Hirata
2025-03-20[llvm] Use *Set::insert_range (NFC) (#132325)Kazu Hirata
2025-03-09[CodeGen] Avoid repeated hash lookups (NFC) (#130543)Kazu Hirata
2025-01-30[CodeGenPrepare] Replace deleted ext instr with the promoted value. (#71058)Yingwei Zheng
2025-01-27[NFC][DebugInfo] Make some block-start-position methods return iterators (#12...Jeremy Morse
2025-01-27[NFC][DebugInfo] Use iterators for instruction insertion in more places (#124...Jeremy Morse
2025-01-24[NFC][DebugInfo] Use iterator moveBefore at many call-sites (#123583)Jeremy Morse
2025-01-16[CodeGenPrepare] Replace `undef` use with `poison` [NFC] (#123111)Pedro Lobo
2025-01-15[CodeGen] Avoid repeated hash lookups (NFC) (#123016)Kazu Hirata
2025-01-08[LLVM] Fix various cl::desc typos and whitespace issues (NFC) (#121955)Ryan Mansfield
2024-12-13PatternMatch: migrate to CmpPredicate (#118534)Ramkumar Ramachandra
2024-12-01[CodeGenPrepare] Drop nsw flags in `optimizeLoadExt` (#118180)Yingwei Zheng
2024-11-12[CodeGen] Remove unused includes (NFC) (#115996)Kazu Hirata
2024-10-31[CGP] [CodeGenPrepare] Folding `urem` with loop invariant value plus offset (...goldsteinn
2024-10-28Check hasOptSize() in shouldOptimizeForSize() (#112626)Ellis Hoag
2024-10-24replace 2 placeholder uses of undef with poison [NFC]Nuno Lopes
2024-10-15Reland `[CodeGenPrepare] Convert `ctpop(X) ==/!= 1` into `ctpop(X) u</u> 2/1`...Yingwei Zheng
2024-10-11Revert "[CodeGenPrepare] Convert `ctpop(X) ==/!= 1` into `ctpop(X) u</u> 2/1`...Yingwei Zheng
2024-10-11[CodeGenPrepare] Convert `ctpop(X) ==/!= 1` into `ctpop(X) u</u> 2/1` (#111284)Yingwei Zheng
2024-10-09[TTI] NFC: Port TLI.shouldSinkOperands to TTI (#110564)Jeffrey Byrnes
2024-09-02[CGP] Undo constant propagation of pointers across callsAntonio Frighetto
2024-08-29[ExtendLifetimes] Implement llvm.fake.use to extend variable lifetimes (#86149)Stephen Tozer
2024-08-29[MachineLoopInfo] Fix getLoopID to handle multi latches. (#106195)Freddy Ye
2024-08-20Recommit "[CodeGenPrepare] Folding `urem` with loop invariant value"Noah Goldstein
2024-08-18Revert "[CodeGenPrepare] Folding `urem` with loop invariant value"Noah Goldstein
2024-08-18[CodeGenPrepare] Folding `urem` with loop invariant valueNoah Goldstein
2024-08-17[NFC] Cleanup in ADT and Analysis headers. (#104484)Daniil Fukalov
2024-08-15[CodeGen] Use a range-based for loop (NFC) (#104408)Kazu Hirata
2024-08-12[CGP] Use getAllOnesValue()Nikita Popov
2024-07-08Reapply "[AArch64] Lower extending sitofp using tbl (#92528)"Momchil Velikov
2024-06-28[IR] Add getDataLayout() helpers to Function and GlobalValue (#96919)Nikita Popov
2024-06-27[IR] Add getDataLayout() helpers to BasicBlock and Instruction (#96902)Nikita Popov
2024-06-26Revert "[AArch64] Lower extending sitofp using tbl (#92528)"Momchil Velikov
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-21[CodeGenPrepare] Add missing `static` decl on `matchIncrement()`; NFCNoah Goldstein
2024-06-18[CodeGenPrepare] Use MapVector to stabilize iteration orderFangrui Song