summaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/InstructionSimplify.cpp
AgeCommit message (Expand)Author
2024-03-23[LLVM] Use `std::move` for APInt. NFC. (#86257)Yingwei Zheng
2024-03-20[ValueTracking] Handle range attributes (#85143)Andreas Jonson
2024-03-18[InstSimply] Simplify `(fmul -x, +/-0)` -> `-/+0`Noah Goldstein
2024-03-15[IRBuilder] Fold binary intrinsics (#80743)Artem Tyurin
2024-03-12[InstSimpliy] Use range attribute to simplify comparisons (#84627)Andreas Jonson
2024-03-10[InstSimplify] Handle vec values when simplifying comparisons using range met...Andreas Jonson
2024-02-15[ConstantFolding] Do not consider padded-in-memory types as uniform (#81854)Björn Pettersson
2024-02-14[InstSimplify][InstCombine] Remove unnecessary `m_c_*` matchers. (#81712)Yingwei Zheng
2024-02-14[ValueTracking] Move the `isSignBitCheck` helper into ValueTracking. NFC. (#8...Yingwei Zheng
2024-02-14[InstSimplify] Add trivial simplifications for gc.relocate intrinsic (#81639)Danila Malyutin
2024-02-08[InstSimplify] Generalize `simplifyAndOrOfFCmps` (#81027)Yingwei Zheng
2024-02-07[PatternMatch] Add a matching helper `m_ElementWiseBitCast`. NFC. (#80764)Yingwei Zheng
2024-02-06[ValueTracking][NFC] Pass `SimplifyQuery` to `computeKnownFPClass` family (#8...Yingwei Zheng
2024-01-31[ValueTracking] Merge `cannotBeOrderedLessThanZeroImpl` into `computeKnownFPC...Yingwei Zheng
2024-01-08[InstSimplify] Consider bitcast as potential cross-lane operationNikita Popov
2024-01-03[InstSimplify] Simplify the expression `(a^c)&(a^~c)` to zero and (a^c) | (a^...ChipsSpectre
2023-12-28[InstSimplify] Simplify `select cond, undef, val` to `val` if `val = poison` ...Yingwei Zheng
2023-12-28[InstSimplify] Fold `u/sdiv exact (mul nsw/nuw X, C), C --> X` when C is not ...Yingwei Zheng
2023-12-18[LLVM][IR] Replace ConstantInt's specialisation of getType() with getIntegerT...Paul Walker
2023-12-04[InstCombine][InstSimplify] Pass `SimplifyQuery` to `computeKnownBits` direct...Yingwei Zheng
2023-12-01[InstSimplify] Fix or disjoint miscompile with op replacementNikita Popov
2023-11-30[InstSimplify] Fix select bit test miscompile with disjointNikita Popov
2023-11-29[ValueTracking] Convert MaskedValueIsZero() to use SimplifyQuery (NFC)Nikita Popov
2023-11-20[InstSimplify] Remove redundant gep zero fold (NFC)Nikita Popov
2023-11-20[InstSimplify] Fold converted urem to 0 if there's no overlapping bits (#71528)Graham Hunter
2023-11-17[InstSimplify] Simplify calculation of GEP result pointer type (NFC)Nikita Popov
2023-11-15[InstSimplify] Extract commutative and folds into helper (NFCI)Nikita Popov
2023-11-08[InstSimplify] Check call for FMF instead of CtxI (#71585)annamthomas
2023-11-07[InstCombine] Check FPMathOperator for Ctx before FMF checkAnna Thomas
2023-11-07[InstSimplify] Remove redundant simplifyAndOrOfICmpsWithZero() fold (NFCI)Nikita Popov
2023-11-07[InstSimplify] Remove redundant simplifyAndOrOfICmpsWithLimitConst() fold (NFCI)Nikita Popov
2023-11-03Reapply [InstCombine] Simplify and/or of icmp eq with op replacement (#70335)Nikita Popov
2023-11-01[InstSimplify] Add some basic simplifications for `llvm.ptrmask`Noah Goldstein
2023-11-01[InstSimplify] Avoid ConstantExpr::getIntegerCast() (NFCI)Nikita Popov
2023-10-30Revert "[InstCombine] Simplify and/or of icmp eq with op replacement (#70335)"Nikita Popov
2023-10-30[InstCombine] Simplify and/or of icmp eq with op replacement (#70335)Nikita Popov
2023-10-27[InstSimplify] Fold (a != 0) ? abs(a) : 0 (#70305)Pierre van Houtryve
2023-10-26[InstSimplify] Remove redundant pointer icmp fold (NFCI)Nikita Popov
2023-09-30[InstSimplify] Avoid use of ConstantExpr::getICmp. NFC (#67873)Craig Topper
2023-09-29[InstSimplify] Use cast instead of dyn_cast+assert. NFCCraig Topper
2023-09-29[InstSimplify] Avoid use of ConstantExpr::getCast()Nikita Popov
2023-09-26[InstSimplify] Respect UseInstrInfo in more foldsNikita Popov
2023-09-25[InstSimplify] Generalize fold for icmp ugt/ule (pow2 << X), signmaskYingwei Zheng
2023-09-19[InstCombine] Make flag drop during select equiv fold more genericNikita Popov
2023-09-18[InstSimplify] Fold icmp of `X and/or C1` and `X and/or C2` into constant (#6...Yingwei Zheng
2023-09-14[IR] Enable load/store/alloca for arrays of scalable vectors.Paul Walker
2023-09-13InstSimplify: Simplifications for ldexpMatt Arsenault
2023-09-02InstSimplify: Handle folding fcmp with literal nans without a context instruc...Matt Arsenault
2023-09-02InstSimplify: Handle exp10(log10(x)) -> xMatt Arsenault
2023-09-02InstSimplify: Handle log10(exp10(x))Matt Arsenault