aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
AgeCommit message (Expand)AuthorFilesLines
2025-09-12[MemProf] Optionally allow transformation of nobuiltin operator new (#158396)Teresa Johnson1-11/+32
2025-09-06[MemProf] Always add hints to allocations with memprof attributes (#157222)Teresa Johnson1-40/+35
2025-09-02[MemProf] Allow hint update on existing calls to nobuiltin hot/cold new (#156...Teresa Johnson1-2/+36
2025-08-19[InstCombine] Make strlen optimization more resilient to different gep types....David Green1-6/+11
2025-08-15[PatternMatch] Allow `m_ConstantInt` to match integer splats (#153692)zGoldthorpe1-3/+3
2025-06-03[ValueTracking] Make Depth last default arg (NFC) (#142384)Ramkumar Ramachandra1-8/+5
2025-05-09[SimplifyLibCalls] Shrink sin, cos to sinf, cosf when allowed (#139082)Guy David1-0/+5
2025-04-16[Utils] Use StringRef::ends_with (NFC) (#135934)Kazu Hirata1-1/+1
2025-04-13SimplifyLibCalls: Skip sincospi optimization for ConstantData (#134688)Matt Arsenault1-0/+3
2025-03-28[Analysis][NFC] Extract KnownFPClass (#133457)Tim Gymnich1-3/+9
2025-02-28[SimplifyLibCalls][NFC] Fix Typo in Header Comment (#114314)Veera1-1/+1
2025-01-29[IR] Convert from nocapture to captures(none) (#123181)Nikita Popov1-2/+4
2025-01-14[SimplifyLibCalls] Don't infer call-site nocapture on atoiNikita Popov1-2/+0
2025-01-06[IRBuilder] Refactor FMF interface (#121657)Yingwei Zheng1-33/+19
2024-12-21Revert "SimplifyLibCalls: Use default globals address space when building new...Owen Anderson1-43/+37
2024-12-12TargetLibraryInfo: Use pointer index size to determine getSizeTSize(). (#118747)Owen Anderson1-53/+29
2024-12-06SimplifyLibCalls: Use default globals address space when building new global ...Owen Anderson1-37/+43
2024-10-28Check hasOptSize() in shouldOptimizeForSize() (#112626)Ellis Hoag1-10/+5
2024-10-17[SimplifyLibCall][Attribute] Fix bug where we may keep `range` attr with inco...goldsteinn1-1/+7
2024-10-17[LLVM] Make more use of IRBuilder::CreateIntrinsic. NFC. (#112706)Jay Foad1-3/+2
2024-10-11[NFC] Rename `Intrinsic::getDeclaration` to `getOrInsertDeclaration` (#111752)Rahul Joshi1-1/+1
2024-10-10[SimplifyLibCalls] fdim constant fold (#109235)braw-lee1-0/+31
2024-10-10[InstCombine] Convert @log to @llvm.log if the input is known positive. (#111...David Green1-14/+32
2024-10-08[InstCombine] Minor cleanup for optimizeFMod. NFCDavid Green1-3/+2
2024-09-18[InstCombine] Return FRem, as opposed to substituteInParent.David Green1-1/+1
2024-09-18[InstCombine] Fold fmod to frem if we know it does not set errno. (#107912)David Green1-0/+33
2024-09-13[InstCombine] Pass DomTree and DomTreeCacheto LibCallSimplifier (#108446)David Green1-7/+7
2024-08-27[SimplifyLibCalls] Fix memchr misoptimization (#106121)Sergei Barannikov1-2/+4
2024-08-16[InstCombine] Handle commuted variant of sqrt transformNikita Popov1-8/+11
2024-08-15Allow optimization of __size_returning_new variants. (#102258)Snehasish Kumar1-1/+31
2024-08-04[InstCombine] Don't add extra 0 to string in str[np]cpy optimization (#101884)Sergei Barannikov1-1/+2
2024-08-01[SimplifyLibCalls] Constant fold nan libcall (#101459)Yingwei Zheng1-0/+20
2024-07-30[TLI] Add support for inferring attr `cold` on `exit`/`abort`Noah Goldstein1-0/+14
2024-07-24[SimplifyLibCalls] Constant fold `remquo` (#99647)Yingwei Zheng1-0/+35
2024-07-11[SimplifyLibCalls] Simplify cabs libcall if real or imaginary part of input i...Hendrik Hübner1-7/+36
2024-06-27[IR] Add getDataLayout() helpers to BasicBlock and Instruction (#96902)Nikita Popov1-3/+3
2024-06-24Revert "[IR][NFC] Update IRBuilder to use InsertPosition (#96497)"Stephen Tozer1-2/+2
2024-06-24[IR][NFC] Update IRBuilder to use InsertPosition (#96497)Stephen Tozer1-2/+2
2024-06-13SimplifyLibCalls: Simplify fp immediate checking code (NFC)Matt Arsenault1-3/+3
2024-06-13SimplifyLibCalls: Don't require ldexp to emit intrinsic in pow combine (#95277)Matt Arsenault1-1/+5
2024-06-10SimplifyLibCalls: Don't require ldexp to emit intrinsic in exp2 combine (#92707)Matt Arsenault1-4/+9
2024-05-19SimplifyLibCalls: Permit pow(2, x) -> ldexp(1, x) fold for vectors (#92532)Matt Arsenault1-3/+4
2024-05-17SimplifyLibCalls: Prefer to emit intrinsic in pow(2, x) -> ldexp(1, x) (#92363)Matt Arsenault1-5/+13
2024-05-16SimplifyLibCalls: Emit vector ldexp intrinsics in exp2->ldexp combine (#92219)Matt Arsenault1-8/+9
2024-05-16SimplifyLibCalls: Use IRBuilder helpers for creating intrinsics (#92288)Matt Arsenault1-53/+29
2024-05-16InstCombine: Try to use exp10 intrinsic instead of libcall (#92287)Matt Arsenault1-2/+9
2024-05-15InstCombine: Emit ldexp intrinsic in exp2->ldexp combine (#92039)Matt Arsenault1-4/+13
2024-05-08[MemProf] Optionally update hints on existing hot/cold new calls (#91047)Teresa Johnson1-22/+115
2024-04-16[ValueTracking] Restore isKnownNonZero parameter order. (#88873)Harald van Dijk1-10/+10
2024-04-12[ValueTracking] Convert `isKnownNonZero` to use SimplifyQuery (#85863)Yingwei Zheng1-10/+10