aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/IR/PatternMatch.cpp
AgeCommit message (Expand)AuthorFilesLines
2025-06-05[LLVM][PatternMatch] Simplify m_VScale to only match against llvm.vscale(). (...Paul Walker1-19/+0
2025-05-08[PatternMatch] Mark various matchers const (NFC) (#138834)Ramkumar Ramachandra1-6/+6
2025-01-22[IR][unittests] Replace of PointerType::getUnqual(Type) with opaque version (...Mats Jun Larsen1-2/+1
2025-01-18[PatternMatch] Add `m_c_XorLike` matcher; NFC (#122642)goldsteinn1-0/+66
2024-12-13PatternMatch: migrate to CmpPredicate (#118534)Ramkumar Ramachandra1-2/+2
2024-10-15[InstCombine] Extend fcmp+select folding to minnum/maxnum intrinsics (#112088)Alexey Bader1-0/+134
2024-10-11[NFC] Rename `Intrinsic::getDeclaration` to `getOrInsertDeclaration` (#111752)Rahul Joshi1-1/+1
2024-09-05[PatternMatchTest] Use APInt::getAllOnes() (NFC)Nikita Popov1-101/+101
2024-07-29[PatternMatch] Use `m_SpecificCmp` matchers. NFC. (#100878)Yingwei Zheng1-0/+8
2024-07-18Recommit "[PatternMatch] Fix issue of stale reference in new `m_{I,F,}Cmp` ma...goldsteinn1-2/+2
2024-07-16Revert "[PatternMatch] Fix issue of stale reference in new `m_{I,F,}Cmp` matc...Vitaly Buka1-2/+2
2024-07-15[PatternMatch] Fix issue of stale reference in new `m_{I,F,}Cmp` matchers (#9...goldsteinn1-2/+2
2024-07-12[Pattern] Disable a new buggy testVitaly Buka1-1/+1
2024-07-12[Pattern] Disabled new buggy testVitaly Buka1-1/+1
2024-07-13[PatternMatch] Add matchers for `m_{I,F,}Cmp` and `m_{I,F,}SpecificCmp`; NFCNoah Goldstein1-1/+143
2024-05-10[IR][PatternMatch] Make `m_Checked{Int,Fp}` accept `Constant *` output instea...Noah Goldstein1-51/+53
2024-05-03[PatternMatching] Add generic API for matching constants using custom conditionsNoah Goldstein1-0/+177
2024-04-24[InstCombine] Fix poison propagation in select of bitwise fold (#89701)Nikita Popov1-1/+11
2024-04-18[IR][PatternMatch] Only accept poison in getSplatValue() (#89159)Nikita Popov1-27/+58
2024-04-17[PatternMatch] Do not accept undef elements in m_AllOnes() and friends (#88217)Nikita Popov1-28/+117
2024-03-31[IR] Add commutable matcher for `add nuw`; NFCNoah Goldstein1-0/+10
2024-03-26[IR] Add `m_c_BitwiseLogic` in pattern match; NFCNoah Goldstein1-0/+39
2024-03-10[InstCombine] Improve mask detection in `foldICmpWithLowBitMaskedVal`Noah Goldstein1-0/+22
2024-02-08[PatternMatch] Add m_PtrAdd() matcher (NFC)Nikita Popov1-0/+22
2024-02-07[PatternMatch] Add a matching helper `m_ElementWiseBitCast`. NFC. (#80764)Yingwei Zheng1-0/+42
2023-07-08[llvm] Remove uses of Type::getPointerTo() (NFC)Youngsuk Kim1-7/+5
2023-02-23[PatternMatch] Don't require DataLayout for m_VScale()Nikita Popov1-2/+2
2022-12-17[IR][PatternMatch] `m_Not`: do not apply inner matcher unless `Not` matchedRoman Lebedev1-0/+14
2022-11-01[PatternMatch] don't match a scalar select of bool vectors as a logical-and o...Sanjay Patel1-2/+4
2022-11-01[PatternMatch] add unittests for logical-and/or; NFCSanjay Patel1-0/+29
2022-07-21[PatternMatch][InstCombine] match a vector with constant expression element(s...Sanjay Patel1-1/+3
2022-07-21[PatternMatch] add tests for constant expression matcher; NFCSanjay Patel1-0/+12
2022-06-02[IR] Enable opaque pointers by defaultNikita Popov1-2/+3
2021-12-02[PatternMatch] create and use matcher for 'not' that excludes undef elementsSanjay Patel1-0/+35
2021-10-27Revert "[IR] `IRBuilderBase::CreateAdd()`: short-circuit `x + 0` --> `x`"Roman Lebedev1-9/+9
2021-10-27[IR] `IRBuilderBase::CreateAdd()`: short-circuit `x + 0` --> `x`Roman Lebedev1-9/+9
2021-10-07[PatternMatch] add matchers for commutative logical and/orSanjay Patel1-0/+72
2021-10-04[APInt] Stop using soft-deprecated constructors and methods in llvm. NFC.Jay Foad1-8/+8
2021-09-28[IR] Change the default value of InstertElement to poison (1/4)hyeongyu kim1-2/+1
2021-09-09[APInt] Normalize naming on keep constructors / predicate methods.Chris Lattner1-2/+2
2021-07-23[SVE][IR] Fix Binary op matching in PatternMatch::m_VScaleDylan Fleming1-0/+20
2021-05-17Put back the trailing commas on TYPED_TEST_SUITEBenjamin Kramer1-1/+1
2021-05-14Bump googletest to 1.10.0Benjamin Kramer1-1/+1
2021-04-18Update m_Undef to match vectors/aggrs with undefs and poisons mixedJuneyoung Lee1-0/+31
2020-12-30Use unary CreateShuffleVector if possibleJuneyoung Lee1-4/+7
2020-11-12[PatternMatch] Add single index InsertValue matcher.Florian Hahn1-0/+21
2020-10-22[PatternMatch] Add new FP matchers. NFC.Jay Foad1-12/+53
2020-08-19Revert "Revert "[NFC][llvm] Make the contructors of `ElementCount` private.""Mehdi Amini1-2/+2
2020-08-19Revert "[NFC][llvm] Make the contructors of `ElementCount` private."Mehdi Amini1-2/+2
2020-08-19[NFC][llvm] Make the contructors of `ElementCount` private.Francesco Petrogalli1-2/+2