Home
last modified time | relevance | path

Searched refs:m_ZeroInt (Results 1 – 7 of 7) sorted by relevance

/freebsd-12.1/contrib/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp127 if (!match(TermI, m_Br(m_ICmp(Pred, m_Specific(RotAmt), m_ZeroInt()), TrueBB, in foldGuardedRotateToFunnelShift()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DValueTracking.cpp4778 if ((!NeedNSW && match(X, m_Sub(m_ZeroInt(), m_Specific(Y)))) || in isKnownNegation()
4779 (NeedNSW && match(X, m_NSWSub(m_ZeroInt(), m_Specific(Y))))) in isKnownNegation()
4783 if ((!NeedNSW && match(Y, m_Sub(m_ZeroInt(), m_Specific(X)))) || in isKnownNegation()
4784 (NeedNSW && match(Y, m_NSWSub(m_ZeroInt(), m_Specific(X))))) in isKnownNegation()
4920 auto ZeroOrAllOnes = m_CombineOr(m_ZeroInt(), m_AllOnes()); in matchSelectPattern()
4921 auto ZeroOrOne = m_CombineOr(m_ZeroInt(), m_One()); in matchSelectPattern()
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DPatternMatch.h364 inline cst_pred_ty<is_zero_int> m_ZeroInt() { in m_ZeroInt() function
1665 return m_Sub(m_ZeroInt(), V);
/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp904 match(Cmp.getOperand(1), m_ZeroInt()) && in canonicalizeAbsNabs()
1597 if (!match(Cond, m_OneUse(m_ICmp(Pred, m_Specific(ShAmt), m_ZeroInt()))) || in foldSelectRotate()
H A DInstCombineAddSub.cpp1504 bool IsNegate = match(C, m_ZeroInt()); in visitSub()
H A DInstCombineCasts.cpp1233 if ((Pred == ICmpInst::ICMP_SLT && match(Op1, m_ZeroInt())) || in transformSExtICmp()
H A DInstCombineCalls.cpp3333 if (match(KeyArg, m_ZeroInt()) && in visitCallInst()