/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | OverflowInstAnalysis.cpp | 41 !match(II, m_CombineOr(m_Intrinsic<Intrinsic::umul_with_overflow>(), in isCheckForZeroAndMulWithOverflow()
|
H A D | ValueTracking.cpp | 614 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 D | LazyValueInfo.cpp | 1214 if (match(LHS, m_CombineOr(m_URem(m_Specific(Val), m_Value()), in getValueFromICmpCondition()
|
H A D | InstructionSimplify.cpp | 4684 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 D | PatternMatch.h | 239 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 D | VPlanPatternMatch.h | 102 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 D | SLPVectorizer.cpp | 1548 m_ExtractElt(m_Value(EV2), m_CombineOr(m_ConstantInt(Ex2Idx), in getShallowScore()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LowerMatrixIntrinsics.cpp | 124 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 D | JumpThreading.cpp | 2938 bool IsAndOr = match(SI, m_CombineOr(m_LogicalAnd(), m_LogicalOr())); in tryToUnfoldSelectInCurrBB()
|
H A D | SimpleLoopUnswitch.cpp | 2913 if (match(Cond, m_CombineOr(m_LogicalAnd(), m_LogicalOr()))) { in collectUnswitchCandidates()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineShifts.cpp | 74 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 D | InstCombineVectorOps.cpp | 2283 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 D | InstCombineSelect.cpp | 3987 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 D | InstCombineAddSub.cpp | 1041 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 D | InstructionCombining.cpp | 2798 m_OneUse(m_CombineOr(m_Mul(m_Value(), m_ConstantInt()), in visitGetElementPtrInst() 3406 m_CombineOr(m_Specific(Op), in tryToMoveFreeBeforeNullTest()
|
H A D | InstCombineCompares.cpp | 5794 m_CombineOr(m_CombineOr(m_c_Add(m_Value(B), m_Deferred(A)), in foldICmpEquality() 6996 m_OneUse(m_CombineOr( in foldICmpWithHighBitMask()
|
H A D | InstCombineCasts.cpp | 410 if (!match(TruncOp, m_CombineOr(m_BitCast(m_Value(VecInput)), in foldVecTruncToExtElt()
|
H A D | InstCombineCalls.cpp | 3163 if (match(IIOperand, m_CombineOr(m_Zero(), m_Undef()))) { in visitCallInst()
|
H A D | InstCombineAndOrXor.cpp | 2369 if (match(&I, m_c_And(m_Value(Y), m_OneUse(m_CombineOr( in visitAnd()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | ConstantFold.cpp | 669 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 D | TargetTransformInfoImpl.h | 406 !match(I, m_CombineOr(m_LogicalAnd(m_Value(), m_Value()), in shouldTreatInstructionLikeSelect()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | SimplifyCFG.cpp | 3587 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 D | Local.cpp | 2997 if (match(CI->getArgOperand(0), m_CombineOr(m_Zero(), m_Undef()))) { in markAliveBlocks()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | CodeGenPrepare.cpp | 8784 m_CombineOr(m_Cmp(), m_CombineOr(m_LogicalAnd(m_Value(), m_Value()), in splitBranchCondition()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonVectorCombine.cpp | 1676 return m_CombineOr(m_LShr(V, S), m_AShr(V, S)); in matchFxpMul()
|