Home
last modified time | relevance | path

Searched refs:m_CombineAnd (Results 1 – 14 of 14) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanPatternMatch.h188 inline match_combine_and<LTy, RTy> m_CombineAnd(const LTy &L, const RTy &R) { in m_CombineAnd() function
613 return m_CombineAnd(m_Intrinsic<IntrID>(), m_Argument<0>(Op0));
619 return m_CombineAnd(m_Intrinsic<IntrID>(Op0), m_Argument<1>(Op1));
625 return m_CombineAnd(m_Intrinsic<IntrID>(Op0, Op1), m_Argument<2>(Op2));
632 return m_CombineAnd(m_Intrinsic<IntrID>(Op0, Op1, Op2), m_Argument<3>(Op3));
H A DVectorCombine.cpp687 if (!match(FNeg, m_FNeg(m_CombineAnd( in foldInsExtFNeg()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp2029 m_CombineAnd(m_Value(X), in foldComplexAndOrPatterns()
2082 match(Op1, m_OneUse(m_Not(m_CombineAnd( in foldComplexAndOrPatterns()
2101 m_CombineAnd(m_Value(X), m_Not(m_Value(A)))))) || in foldComplexAndOrPatterns()
2105 m_CombineAnd(m_Value(X), m_Not(m_Value(A)))), in foldComplexAndOrPatterns()
2437 m_c_And(m_CombineAnd(m_Value(Neg), in visitAnd()
3731 m_CombineAnd(m_Intrinsic<Intrinsic::umul_with_overflow>( in foldOrUnsignedUMulOverflowICmp()
3991 match(Op0, m_Not(m_CombineAnd(m_Instruction(And), in visitOr()
3995 match(Op0, m_Not(m_CombineAnd(m_Instruction(And), in visitOr()
4129 m_c_Or(m_CombineAnd(m_ExtractValue<1>(m_Value(UMulWithOv)), in visitOr()
4131 m_CombineAnd( in visitOr()
[all …]
H A DInstCombineCompares.cpp1187 m_CombineAnd(m_Zero(), m_Value(Zero))))) in foldIRemByPowerOfTwoToBitTest()
3149 m_Add(m_CombineAnd(m_Instruction(Ext0), m_ZExtOrSExt(m_Value(Op0))), in foldICmpAddConstant()
3150 m_CombineAnd(m_Instruction(Ext1), in foldICmpAddConstant()
3686 m_OneUse(m_c_Or(m_CombineAnd(m_Value(Sel), in foldICmpBinOpEqualityWithConstant()
4722 m_c_And(m_CombineAnd(m_AnyLogicalShift, m_Instruction(XShift)), in foldShiftIntoShiftInAnotherHandOfAndInICmp()
4723 m_CombineAnd(m_TruncOrSelf(m_CombineAnd( in foldShiftIntoShiftInAnotherHandOfAndInICmp()
4891 m_CombineAnd(m_OneUse(m_UDiv(m_AllOnes(), m_Value(X))), in foldMultiplicationOverflowCheck()
4910 m_CombineAnd(m_OneUse(m_IDiv( in foldMultiplicationOverflowCheck()
4911 m_CombineAnd(m_c_Mul(m_Deferred(Y), in foldMultiplicationOverflowCheck()
6190 m_CombineAnd(m_Value(B), m_Unless(m_ImmConstant()))))) in foldICmpEquality()
[all …]
H A DInstCombineSelect.cpp1498 m_CombineAnd(m_AnyIntegralConstant(), m_Constant(C0)))) in canonicalizeClampLike()
1552 m_CombineAnd(m_AnyIntegralConstant(), m_Constant(C1))))) in canonicalizeClampLike()
1563 m_CombineAnd(m_AnyIntegralConstant(), m_Constant(C2))))) in canonicalizeClampLike()
1670 m_CombineAnd(m_AnyIntegralConstant(), m_Constant(C0)))))) in tryToReuseConstantFromSelectInComparison()
3177 } else if (Value * NotInnerCond; matchOuterCond(m_CombineAnd( in foldNestedSelects()
H A DInstCombineShifts.cpp74 m_CombineOr(m_CombineAnd(m_Trunc(m_Instruction(Sh1)), m_Value(Trunc)), in reassociateShiftAmtsOfTwoSameDirectionShifts()
202 if (match(Masked, m_CombineAnd(m_Trunc(m_Value(Masked)), m_Value(Trunc))) && in dropRedundantMaskingOfLeftShiftInput()
H A DInstCombineAddSub.cpp1358 if (!match(&I, m_c_BinOp(m_TruncOrSelf(m_CombineAnd( in canonicalizeCondSignextOfHighBitExtractToSignextHighBitExtract()
1766 auto CondMatcher = m_CombineAnd( in visitAdd()
1772 m_CombineAnd(m_Value(Ext), m_ZExtOrSExt(CondMatcher)))) && in visitAdd()
H A DInstCombineCalls.cpp1320 if (!match(II, m_c_MaxOrMin(m_OneUse(m_CombineAnd( in reassociateMinMaxWithConstantInOperand()
H A DInstructionCombining.cpp968 m_c_BinOp(m_CombineAnd( in foldBinOpShiftWithShift()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DDivRemPairs.cpp60 m_c_Mul(m_CombineAnd(m_IDiv(m_Specific(Dividend), m_Value(Divisor)), in matchExpandedRem()
H A DDeadStoreElimination.cpp2137 m_CombineAnd(m_Load(m_Specific(StorePtr)), in dominatingConditionImpliesValue()
H A DLoopIdiomRecognize.cpp2761 m_CombineAnd( in detectShiftUntilBitTestIdiom()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DPatternMatch.h245 inline match_combine_and<LTy, RTy> m_CombineAnd(const LTy &L, const RTy &R) { in m_CombineAnd() function
2706 return m_CombineAnd(m_Intrinsic<IntrID>(), m_Argument<0>(Op0));
2712 return m_CombineAnd(m_Intrinsic<IntrID>(Op0), m_Argument<1>(Op1));
2718 return m_CombineAnd(m_Intrinsic<IntrID>(Op0, Op1), m_Argument<2>(Op2));
2725 return m_CombineAnd(m_Intrinsic<IntrID>(Op0, Op1, Op2), m_Argument<3>(Op3));
2733 return m_CombineAnd(m_Intrinsic<IntrID>(Op0, Op1, Op2, Op3),
2742 return m_CombineAnd(m_Intrinsic<IntrID>(Op0, Op1, Op2, Op3, Op4),
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DInstructionSimplify.cpp2142 match(Op0, m_c_Or(m_CombineAnd(m_NUWShl(m_Value(X), m_APInt(ShAmt)), in simplifyAndInst()
2167 m_CombineAnd(m_BinOp(Or), in simplifyAndInst()
2268 if (match(X, m_c_And(m_CombineAnd(m_Value(NotA), m_Not(m_Value(A))), in simplifyOrLogic()
2275 if (match(X, m_c_LogicalAnd(m_CombineAnd(m_Value(NotA), m_Not(m_Value(A))), in simplifyOrLogic()
2283 if (match(X, m_CombineAnd(m_Not(m_Xor(m_Value(A), m_Value(B))), in simplifyOrLogic()
2290 if (match(X, m_CombineAnd(m_Not(m_And(m_Value(A), m_Value(B))), in simplifyOrLogic()
2520 if (match(X, m_c_Or(m_CombineAnd(m_Not(m_Value(A)), m_Value(NotA)), in simplifyXorInst()