Home
last modified time | relevance | path

Searched refs:m_CombineOr (Results 1 – 25 of 25) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DOverflowInstAnalysis.cpp41 !match(II, m_CombineOr(m_Intrinsic<Intrinsic::umul_with_overflow>(), in isCheckForZeroAndMulWithOverflow()
H A DValueTracking.cpp614 auto m_V = m_CombineOr(m_Specific(V), m_PtrToInt(m_Specific(V))); in isKnownNonZeroFromAssume()
652 m_CombineOr(m_Specific(V), m_PtrToIntSameSize(Q.DL, m_Specific(V))); in computeKnownBitsFromCmp()
709 if (match(LHS, m_CombineOr(m_V, m_AddLike(m_V, m_APInt(Offset))))) { in computeKnownBitsFromCmp()
8109 m_CombineOr(m_OrdFMin(m_Specific(CmpLHS), m_APFloat(FC2)), in matchFastFloatClamp()
8119 m_CombineOr(m_OrdFMax(m_Specific(CmpLHS), m_APFloat(FC2)), in matchFastFloatClamp()
8533 m_CombineOr(m_Specific(CmpLHS), m_SExt(m_Specific(CmpLHS))); in matchSelectPattern()
8534 auto ZeroOrAllOnes = m_CombineOr(m_ZeroInt(), m_AllOnes()); in matchSelectPattern()
8535 auto ZeroOrOne = m_CombineOr(m_ZeroInt(), m_One()); in matchSelectPattern()
9777 if (match(I, m_CombineOr(m_PtrToInt(m_Value(Op)), m_Trunc(m_Value(Op))))) { in addValueAffectedByCondition()
H A DLazyValueInfo.cpp1214 if (match(LHS, m_CombineOr(m_URem(m_Specific(Val), m_Value()), in getValueFromICmpCondition()
H A DInstructionSimplify.cpp4684 auto isFsh = m_CombineOr(m_FShl(m_Value(X), m_Value(), m_Value(ShAmt)), in simplifySelectWithICmpCond()
4697 m_CombineOr(m_FShl(m_Value(X), m_Deferred(X), m_Value(ShAmt)), in simplifySelectWithICmpCond()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DPatternMatch.h239 inline match_combine_or<LTy, RTy> m_CombineOr(const LTy &L, const RTy &R) { in m_CombineOr() function
1400 return m_CombineOr(m_Add(L, R), m_DisjointOr(L, R)); in m_AddLike()
1410 return m_CombineOr(m_NSWAdd(L, R), m_DisjointOr(L, R)); in m_NSWAddLike()
1420 return m_CombineOr(m_NUWAdd(L, R), m_DisjointOr(L, R)); in m_NUWAddLike()
2034 return m_CombineOr(m_Trunc(Op), Op); in m_TruncOrSelf()
2057 return m_CombineOr(m_ZExt(Op), Op); in m_ZExtOrSelf()
2063 return m_CombineOr(m_SExt(Op), Op); in m_SExtOrSelf()
2070 return m_CombineOr(m_SExt(Op), m_NNegZExt(Op)); in m_SExtLike()
2077 return m_CombineOr(m_ZExt(Op), m_SExt(Op)); in m_ZExtOrSExt()
2085 return m_CombineOr(m_ZExtOrSExt(Op), Op); in m_ZExtOrSExtOrSelf()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanPatternMatch.h102 inline match_combine_or<LTy, RTy> m_CombineOr(const LTy &L, const RTy &R) { in m_CombineOr() function
261 return m_CombineOr(m_ZExt(Op0), m_SExt(Op0));
H A DSLPVectorizer.cpp1548 m_ExtractElt(m_Value(EV2), m_CombineOr(m_ConstantInt(Ex2Idx), in getShallowScore()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLowerMatrixIntrinsics.cpp124 return m_CombineOr(m_Mul(L, R), m_FMul(L, R)); in m_AnyMul()
130 return m_CombineOr(m_Add(L, R), m_FAdd(L, R)); in m_AnyAdd()
1358 Op, m_OneUse(m_CombineOr( in lowerDotProduct()
1360 m_CombineOr(m_Intrinsic<Intrinsic::matrix_transpose>(), in lowerDotProduct()
H A DJumpThreading.cpp2938 bool IsAndOr = match(SI, m_CombineOr(m_LogicalAnd(), m_LogicalOr())); in tryToUnfoldSelectInCurrBB()
H A DSimpleLoopUnswitch.cpp2913 if (match(Cond, m_CombineOr(m_LogicalAnd(), m_LogicalOr()))) { in collectUnswitchCandidates()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp74 m_CombineOr(m_CombineAnd(m_Trunc(m_Instruction(Sh1)), m_Value(Trunc)), in reassociateShiftAmtsOfTwoSameDirectionShifts()
229 if (match(Masked, m_c_And(m_CombineOr(MaskA, MaskB), m_Value(X)))) { in dropRedundantMaskingOfLeftShiftInput()
266 } else if (match(Masked, m_c_And(m_CombineOr(MaskC, MaskD), m_Value(X))) || in dropRedundantMaskingOfLeftShiftInput()
H A DInstCombineVectorOps.cpp2283 else if (match(B0, m_CombineOr(m_BinOp(m_Value(X), m_Constant(C0)), in foldSelectShuffle()
2285 match(B1, m_CombineOr(m_BinOp(m_Value(Y), m_Constant(C1)), in foldSelectShuffle()
2465 if (!S0 || !match(S0, m_CombineOr(m_FNeg(m_Value(X)), m_FAbs(m_Value(X))))) in foldShuffleOfUnaryOps()
2487 if (!S1 || !match(S1, m_CombineOr(m_FNeg(m_Value(Y)), m_FAbs(m_Value(Y)))) || in foldShuffleOfUnaryOps()
H A DInstCombineSelect.cpp3987 m_CombineOr(m_Undef(), m_Zero()))) || in visitSelectInst()
3989 m_CombineOr(m_Undef(), m_Zero()))))) { in visitSelectInst()
3999 m_CombineOr(m_Undef(), m_Zero()))) || in visitSelectInst()
4001 m_CombineOr(m_Undef(), m_Zero())))) && in visitSelectInst()
H A DInstCombineAddSub.cpp1041 m_CombineOr( in matchesSquareSum()
1478 m_CombineOr(m_Specific(X), m_Specific(XLo))), in foldBoxMultiply()
1480 m_CombineOr(m_Specific(Y), m_Specific(YLo)))))) in foldBoxMultiply()
H A DInstructionCombining.cpp2798 m_OneUse(m_CombineOr(m_Mul(m_Value(), m_ConstantInt()), in visitGetElementPtrInst()
3406 m_CombineOr(m_Specific(Op), in tryToMoveFreeBeforeNullTest()
H A DInstCombineCompares.cpp5794 m_CombineOr(m_CombineOr(m_c_Add(m_Value(B), m_Deferred(A)), in foldICmpEquality()
6996 m_OneUse(m_CombineOr( in foldICmpWithHighBitMask()
H A DInstCombineCasts.cpp410 if (!match(TruncOp, m_CombineOr(m_BitCast(m_Value(VecInput)), in foldVecTruncToExtElt()
H A DInstCombineCalls.cpp3163 if (match(IIOperand, m_CombineOr(m_Zero(), m_Undef()))) { in visitCallInst()
H A DInstCombineAndOrXor.cpp2369 if (match(&I, m_c_And(m_Value(Y), m_OneUse(m_CombineOr( in visitAnd()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantFold.cpp669 if (match(C2, m_CombineOr(m_Undef(), m_Zero()))) in ConstantFoldBinaryInstruction()
677 if (match(C2, m_CombineOr(m_Undef(), m_Zero()))) in ConstantFoldBinaryInstruction()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h406 !match(I, m_CombineOr(m_LogicalAnd(m_Value(), m_Value()), in shouldTreatInstructionLikeSelect()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp3587 auto Invertible = m_CombineOr(m_Not(m_Value()), m_AnyIntegralConstant()); in FoldTwoEntryPHINode()
3597 V, m_CombineOr( in FoldTwoEntryPHINode()
3599 m_CombineOr(m_Select(m_Value(), m_ImmConstant(), m_Value()), in FoldTwoEntryPHINode()
H A DLocal.cpp2997 if (match(CI->getArgOperand(0), m_CombineOr(m_Zero(), m_Undef()))) { in markAliveBlocks()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp8784 m_CombineOr(m_Cmp(), m_CombineOr(m_LogicalAnd(m_Value(), m_Value()), in splitBranchCondition()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonVectorCombine.cpp1676 return m_CombineOr(m_LShr(V, S), m_AShr(V, S)); in matchFxpMul()