Home
last modified time | relevance | path

Searched refs:m_Zero (Results 1 – 11 of 11) sorted by relevance

/NextBSD/contrib/llvm/lib/Analysis/
HDInstructionSimplify.cpp428 if (match(FCmp, m_Zero())) in ThreadCmpOverSelect()
438 if (match(FCmp, m_One()) && match(TCmp, m_Zero())) in ThreadCmpOverSelect()
547 if (match(Op1, m_Zero())) in SimplifyAddInst()
676 if (match(Op1, m_Zero())) in SimplifySubInst()
684 if (isNUW && match(Op0, m_Zero())) in SimplifySubInst()
806 if (match(Op1, m_Zero()) && in SimplifyFAddInst()
841 if (match(Op1, m_Zero())) in SimplifyFSubInst()
912 if (match(Op1, m_Zero())) in SimplifyMulInst()
1010 if (match(Op1, m_Zero())) in SimplifyDiv()
1018 if (match(Op0, m_Zero())) in SimplifyDiv()
[all …]
HDVectorUtils.cpp232 match(Gep->getOperand(LastOperand), llvm::PatternMatch::m_Zero())) { in getGEPInductionOperand()
HDValueTracking.cpp3214 m_c_ICmp(Pred, m_Specific(V), m_Zero()))) { in isKnownNonNullFromDominatingCondition()
/NextBSD/contrib/llvm/lib/Transforms/InstCombine/
HDInstCombineSelect.cpp302 if (!match(CmpRHS, m_Zero())) in foldSelectICmpAndOr()
360 if (!ICI->isEquality() || !match(CmpRHS, m_Zero())) in foldSelectCttzCtlz()
550 match(CmpRHS, m_Zero())) { in visitSelectInstWithICmp()
553 } else if (Pred == ICmpInst::ICMP_SLT && match(CmpRHS, m_Zero())) { in visitSelectInstWithICmp()
759 if (!match(IC->getOperand(1), m_Zero())) in foldSelectICmpAnd()
HDInstCombineAddSub.cpp1217 if (match(FV, m_Zero()) && match(TV, m_Sub(m_Value(N), m_Specific(A)))) in visitAdd()
1221 if (match(TV, m_Zero()) && match(FV, m_Sub(m_Value(N), m_Specific(A)))) in visitAdd()
1667 if (match(Op1, m_SDiv(m_Value(X), m_Constant(C))) && match(Op0, m_Zero()) && in visitSub()
1672 if (match(Op1, m_Shl(m_Value(X), m_Value(Y))) && match(Op0, m_Zero())) in visitSub()
1730 if (I.getFastMathFlags().noSignedZeros() && match(Op0, m_Zero())) { in visitFSub()
HDInstCombineCompares.cpp2142 if (match(RHS, m_Zero())) in OptimizeOverflowCheck()
2157 if (match(RHS, m_Zero())) in OptimizeOverflowCheck()
2186 if (match(RHS, m_Zero())) in OptimizeOverflowCheck()
2654 if (I.getPredicate() == ICmpInst::ICMP_NE && match(Op1, m_Zero())) in visitICmpInst()
3244 if (NoOp0WrapProblem && ICmpInst::isSigned(Pred) && match(Op1, m_Zero())) in visitICmpInst()
3483 match(Op1, m_Zero()) && in visitICmpInst()
HDInstructionCombining.cpp976 if (match(Val, m_Zero()) || Scale == 1) { in Descale()
1154 if (match(Op, m_Zero())) { in Descale()
1986 if (!match(TI, m_Br(m_ICmp(Pred, m_Specific(Op), m_Zero()), TrueBB, FalseBB))) in tryToMoveFreeBeforeNullTest()
HDInstCombineMulDivRem.cpp1143 if (match(Op0, m_NSWSub(m_Zero(), m_Value(X)))) { in visitSDiv()
HDInstCombineAndOrXor.cpp1278 if (Op0I->hasOneUse() && !match(Op0LHS, m_Zero())) { in visitAnd()
/NextBSD/contrib/llvm/lib/IR/
HDConstantFold.cpp951 if (match(C1, m_Zero())) in ConstantFoldBinaryInstruction()
955 if (match(C2, m_Zero()) || match(C2, m_One())) in ConstantFoldBinaryInstruction()
965 if (match(C2, m_Zero())) in ConstantFoldBinaryInstruction()
978 if (match(C2, m_Zero())) in ConstantFoldBinaryInstruction()
987 if (match(C2, m_Zero())) in ConstantFoldBinaryInstruction()
997 if (match(C2, m_Zero())) in ConstantFoldBinaryInstruction()
/NextBSD/contrib/llvm/include/llvm/IR/
HDPatternMatch.h137 inline match_zero m_Zero() { return match_zero(); } in m_Zero() function
157 return m_CombineOr(m_Zero(), m_NegZero()); in m_AnyZero()