Searched refs:m_Zero (Results 1 – 10 of 10) sorted by relevance
/external/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 427 if (match(FCmp, m_Zero())) in ThreadCmpOverSelect() 437 if (match(FCmp, m_One()) && match(TCmp, m_Zero())) in ThreadCmpOverSelect() 548 if (match(Op1, m_Zero())) in SimplifyAddInst() 677 if (match(Op1, m_Zero())) in SimplifySubInst() 685 if (isNUW && match(Op0, m_Zero())) in SimplifySubInst() 807 if (match(Op1, m_Zero()) && in SimplifyFAddInst() 842 if (match(Op1, m_Zero())) in SimplifyFSubInst() 913 if (match(Op1, m_Zero())) in SimplifyMulInst() 1011 if (match(Op1, m_Zero())) in SimplifyDiv() 1019 if (match(Op0, m_Zero())) in SimplifyDiv() [all …]
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 401 if (!match(CmpRHS, m_Zero())) in foldSelectICmpAndOr() 459 if (!ICI->isEquality() || !match(CmpRHS, m_Zero())) in foldSelectCttzCtlz() 683 match(CmpRHS, m_Zero())) { in visitSelectInstWithICmp() 686 } else if (Pred == ICmpInst::ICMP_SLT && match(CmpRHS, m_Zero())) { in visitSelectInstWithICmp() 846 if (!match(IC->getOperand(1), m_Zero())) in foldSelectICmpAnd()
|
D | InstCombineAddSub.cpp | 1229 if (match(FV, m_Zero()) && match(TV, m_Sub(m_Value(N), m_Specific(A)))) in visitAdd() 1233 if (match(TV, m_Zero()) && match(FV, m_Sub(m_Value(N), m_Specific(A)))) in visitAdd() 1640 if (match(Op1, m_SDiv(m_Value(X), m_Constant(C))) && match(Op0, m_Zero()) && in visitSub() 1645 if (match(Op1, m_Shl(m_Value(X), m_Value(Y))) && match(Op0, m_Zero())) in visitSub() 1703 if (I.getFastMathFlags().noSignedZeros() && match(Op0, m_Zero())) { in visitFSub()
|
D | InstructionCombining.cpp | 948 if (match(Val, m_Zero()) || Scale == 1) { in Descale() 1126 if (match(Op, m_Zero())) { in Descale() 1952 if (!match(TI, m_Br(m_ICmp(Pred, m_Specific(Op), m_Zero()), TrueBB, FalseBB))) in tryToMoveFreeBeforeNullTest()
|
D | InstCombineCompares.cpp | 2670 if (I.getPredicate() == ICmpInst::ICMP_NE && match(Op1, m_Zero())) in visitICmpInst() 3260 if (NoOp0WrapProblem && ICmpInst::isSigned(Pred) && match(Op1, m_Zero())) in visitICmpInst() 3499 match(Op1, m_Zero()) && in visitICmpInst()
|
D | InstCombineMulDivRem.cpp | 1139 if (match(Op0, m_NSWSub(m_Zero(), m_Value(X)))) { in visitSDiv()
|
D | InstCombineAndOrXor.cpp | 1277 if (Op0I->hasOneUse() && !match(Op0LHS, m_Zero())) { in visitAnd()
|
/external/llvm/lib/IR/ |
D | ConstantFold.cpp | 945 if (match(C1, m_Zero())) in ConstantFoldBinaryInstruction() 949 if (match(C2, m_Zero()) || match(C2, m_One())) in ConstantFoldBinaryInstruction() 959 if (match(C2, m_Zero())) in ConstantFoldBinaryInstruction() 972 if (match(C2, m_Zero())) in ConstantFoldBinaryInstruction() 981 if (match(C2, m_Zero())) in ConstantFoldBinaryInstruction() 991 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()
|
/external/llvm/lib/Transforms/Vectorize/ |
D | LoopVectorize.cpp | 1607 while (LastOperand > 1 && match(Gep->getOperand(LastOperand), m_Zero())) { in getGEPInductionOperand()
|