Searched refs:m_Zero (Results 1 – 11 of 11) sorted by relevance
/external/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 428 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 …]
|
D | VectorUtils.cpp | 238 while (LastOperand > 1 && match(Gep->getOperand(LastOperand), m_Zero())) { in getGEPInductionOperand()
|
D | ValueTracking.cpp | 3514 m_c_ICmp(Pred, m_Specific(V), m_Zero()))) { in isKnownNonNullFromDominatingCondition()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 308 if (!match(CmpRHS, m_Zero())) in foldSelectICmpAndOr() 366 if (!ICI->isEquality() || !match(CmpRHS, m_Zero())) in foldSelectCttzCtlz() 554 match(CmpRHS, m_Zero())) { in visitSelectInstWithICmp() 557 } else if (Pred == ICmpInst::ICMP_SLT && match(CmpRHS, m_Zero())) { in visitSelectInstWithICmp() 762 if (!match(IC->getOperand(1), m_Zero())) in foldSelectICmpAnd()
|
D | InstCombineAddSub.cpp | 1217 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() 1639 if (match(Op1, m_SDiv(m_Value(X), m_Constant(C))) && match(Op0, m_Zero()) && in visitSub() 1644 if (match(Op1, m_Shl(m_Value(X), m_Value(Y))) && match(Op0, m_Zero())) in visitSub() 1702 if (I.getFastMathFlags().noSignedZeros() && match(Op0, m_Zero())) { in visitFSub()
|
D | InstCombineCompares.cpp | 1533 if (ICI.isEquality() && LHSI->hasOneUse() && match(RHS, m_Zero())) { in visitICmpInstWithInstAndIntCst() 2252 if (match(RHS, m_Zero())) in OptimizeOverflowCheck() 2267 if (match(RHS, m_Zero())) in OptimizeOverflowCheck() 2296 if (match(RHS, m_Zero())) in OptimizeOverflowCheck() 2764 if (I.getPredicate() == ICmpInst::ICMP_NE && match(Op1, m_Zero())) in visitICmpInst() 3363 if (NoOp0WrapProblem && ICmpInst::isSigned(Pred) && match(Op1, m_Zero())) in visitICmpInst() 3634 match(Op1, m_Zero()) && in visitICmpInst()
|
D | InstructionCombining.cpp | 1008 if (match(Val, m_Zero()) || Scale == 1) { in Descale() 1186 if (match(Op, m_Zero())) { in Descale() 2017 if (!match(TI, m_Br(m_ICmp(Pred, m_Specific(Op), m_Zero()), TrueBB, FalseBB))) in tryToMoveFreeBeforeNullTest()
|
D | InstCombineMulDivRem.cpp | 1149 if (match(Op0, m_NSWSub(m_Zero(), m_Value(X)))) { in visitSDiv()
|
D | InstCombineAndOrXor.cpp | 1321 if (AndRHSMask == 1 && match(Op0LHS, m_Zero())) in visitAnd() 1326 if (Op0I->hasOneUse() && !match(Op0LHS, m_Zero())) { in visitAnd()
|
/external/llvm/lib/IR/ |
D | ConstantFold.cpp | 951 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()
|
/external/llvm/include/llvm/IR/ |
D | PatternMatch.h | 137 inline match_zero m_Zero() { return match_zero(); } in m_Zero() function 157 return m_CombineOr(m_Zero(), m_NegZero()); in m_AnyZero()
|