Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DMVETailPredication.cpp229 m_Zero()))) in isTailPredicate()
235 m_Zero()))) in isTailPredicate()
265 m_Zero()))) in isTailPredicate()
270 if (!match(Insert, m_InsertElement(m_Undef(), m_Instruction(IV), m_Zero()))) in isTailPredicate()
280 if (!match(OnEntry, m_Zero())) in isTailPredicate()
DMVEGatherScatterLowering.cpp203 if (!isa<UndefValue>(PassThru) && !match(PassThru, m_Zero())) { in lowerGather()
DARMISelLowering.cpp14998 m_Undef(), m_Zero()))) { in shouldSinkOperands()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp140 if (!match(Cmp->getOperand(1), m_Zero())) in foldSelectICmpAnd()
506 match(Cmp->getOperand(1), m_Zero()) && match(FVal, m_One()))) in foldSelectICmpAndAnd()
604 if (!match(CmpRHS, m_Zero())) in foldSelectICmpAndOr()
620 (!IsEqualZero && !match(CmpRHS, m_Zero()))) in foldSelectICmpAndOr()
689 if (match(TrueVal, m_Zero())) { in canonicalizeSaturatedSubtract()
693 if (!match(FalseVal, m_Zero())) in canonicalizeSaturatedSubtract()
815 if (!ICI->isEquality() || !match(ICI->getOperand(1), m_Zero())) in foldSelectCtlzToCttz()
857 if (!ICI->isEquality() || !match(CmpRHS, m_Zero())) in foldSelectCttzCtlz()
1018 if (match(LHS, m_Sub(m_Value(), m_Zero())) || in canonicalizeMinMaxWithConstant()
1019 match(RHS, m_Sub(m_Value(), m_Zero()))) in canonicalizeMinMaxWithConstant()
[all …]
DInstCombineMulDivRem.cpp585 if (match(SI->getTrueValue(), m_Zero())) in simplifyDivRemOfSelectWithZeroOp()
588 else if (match(SI->getFalseValue(), m_Zero())) in simplifyDivRemOfSelectWithZeroOp()
1101 match(Op0, m_NSWSub(m_Zero(), m_Value(X)))) { in visitSDiv()
1111 if (match(&I, m_SDiv(m_OneUse(m_NSWSub(m_Zero(), m_Value(X))), m_Value(Y)))) in visitSDiv()
1429 if (match(&I, m_SRem(m_OneUse(m_NSWSub(m_Zero(), m_Value(X))), m_Value(Y)))) in visitSRem()
DInstCombineAddSub.cpp1178 if (!match(Zero, m_Zero())) in canonicalizeCondSignextOfHighBitExtractToSignextHighBitExtract()
1360 if (match(FV, m_Zero()) && match(TV, m_Sub(m_Value(N), m_Specific(A)))) in visitAdd()
1364 if (match(TV, m_Zero()) && match(FV, m_Sub(m_Value(N), m_Specific(A)))) in visitAdd()
1661 match(Result, m_Add(m_Instruction(I), m_Zero())) && in OptimizePointerDifference()
1974 if (match(Op0, m_Zero())) { in visitSub()
1987 if (match(Op1, m_Shl(m_Value(X), m_Value(Y))) && match(Op0, m_Zero())) in visitSub()
DInstCombineAndOrXor.cpp973 if (match(ICmp, m_ICmp(Pred, m_And(m_Value(X), m_APInt(Mask)), m_Zero())) && in foldSignedTruncationCheck()
1060 if (!match(ZeroICmp, m_ICmp(EqPred, m_Value(ZeroCmpOp), m_Zero())) || in foldUnsignedUnderflowCheck()
2099 if (!((match(EltC1, m_Zero()) && match(EltC2, m_AllOnes())) || in areInverseVectorBitmasks()
2100 (match(EltC2, m_Zero()) && match(EltC1, m_AllOnes())))) in areInverseVectorBitmasks()
2829 (PredL == CmpInst::ICMP_SLT && match(LHS1, m_Zero()) && in foldXorOfICmps()
2830 PredR == CmpInst::ICMP_SLT && match(RHS1, m_Zero()))) { in foldXorOfICmps()
2837 PredR == CmpInst::ICMP_SLT && match(RHS1, m_Zero())) || in foldXorOfICmps()
2838 (PredL == CmpInst::ICMP_SLT && match(LHS1, m_Zero()) && in foldXorOfICmps()
DInstCombineCompares.cpp1349 m_CombineAnd(m_Zero(), m_Value(Zero))))) in foldIRemByPowerOfTwoToBitTest()
1364 if (!I.isEquality() || !match(&I, m_ICmp(Pred, m_Instruction(Val), m_Zero()))) in foldSignBitTest()
1394 if (!match(Cmp.getOperand(1), m_Zero())) in foldICmpWithZero()
2747 match(Op1, m_Zero())) in foldICmpBitCast()
2764 if (Cmp.isEquality() && match(Op1, m_Zero())) in foldICmpBitCast()
3472 if (!I.isEquality() || !match(I.getOperand(1), m_Zero()) || in foldShiftIntoShiftInAnotherHandOfAndInICmp()
4475 return match(RHS, m_Zero()); in isNeutralValue()
5282 if (match(B, m_Zero())) { in canonicalizeICmpBool()
5476 if (I.getPredicate() == ICmpInst::ICMP_NE && match(Op1, m_Zero())) { in visitICmpInst()
5598 match(Op1, m_Zero()) && in visitICmpInst()
DInstructionCombining.cpp1200 if (match(Val, m_Zero()) || Scale == 1) { in Descale()
1376 if (match(Op, m_Zero())) { in Descale()
1713 if (!isa<Constant>(*I) || !match(I->get(), m_Zero())) { in visitGetElementPtrInst()
2535 m_Zero()), in tryToMoveFreeBeforeNullTest()
DInstCombinePHI.cpp1195 match(CmpInst->getOperand(1), m_Zero())) { in visitPHINode()
DInstCombineCalls.cpp3877 if (match(Src1, m_Zero()) && in visitCallInst()
4088 if (match(IIOperand, m_ICmp(Pred, m_Instruction(LHS), m_Zero())) && in visitCallInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DInstructionSimplify.cpp188 if (match(FCmp, m_Zero())) in handleOtherCmpSelSimplifications()
198 if (match(FCmp, m_One()) && match(TCmp, m_Zero())) in handleOtherCmpSelSimplifications()
627 if (match(Op1, m_Zero())) in SimplifyAddInst()
748 if (match(Op1, m_Zero())) in SimplifySubInst()
756 if (match(Op0, m_Zero())) { in SimplifySubInst()
879 if (match(Op1, m_CombineOr(m_Undef(), m_Zero()))) in SimplifyMulInst()
943 if (match(Op1, m_Zero())) in simplifyDivRem()
965 if (match(Op0, m_Zero())) in simplifyDivRem()
1242 if (match(Op0, m_Zero())) in SimplifyShift()
1249 if (match(Op1, m_Zero()) || in SimplifyShift()
[all …]
DVectorUtils.cpp135 while (LastOperand > 1 && match(Gep->getOperand(LastOperand), m_Zero())) { in getGEPInductionOperand()
DValueTracking.cpp606 return match(RHS, m_Zero()); in isKnownNonZeroFromAssume()
2026 m_c_ICmp(Pred, m_Specific(V), m_Zero())) || in isKnownNonNullFromDominatingCondition()
4867 if (match(TrueVal, m_Zero()) && in matchMinMax()
4874 if (match(FalseVal, m_Zero()) && in matchMinMax()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLowerConstantIntrinsics.cpp64 if (match(BI->getOperand(0), m_Zero())) { in replaceConditionalBranchesOnConstant()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantFold.cpp1054 if (match(C2, m_Zero()) || match(C2, m_One())) in ConstantFoldBinaryInstruction()
1064 if (match(C2, m_Zero())) in ConstantFoldBinaryInstruction()
1077 if (match(C2, m_Zero())) in ConstantFoldBinaryInstruction()
1086 if (match(C2, m_Zero())) in ConstantFoldBinaryInstruction()
1096 if (match(C2, m_Zero())) in ConstantFoldBinaryInstruction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonLoopIdiomRecognition.cpp710 if (match(C, m_Zero())) in matchLeftShift()
747 } else if (match(ShouldSameV, m_Zero())) { in matchLeftShift()
801 if (match(CondV, m_ICmp(P, m_Value(C), m_Zero())) || in matchRightShift()
802 match(CondV, m_ICmp(P, m_Zero(), m_Value(C)))) { in matchRightShift()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLocal.cpp2054 if (match(CI->getArgOperand(0), m_CombineOr(m_Zero(), m_Undef()))) { in markAliveBlocks()
2070 if (match(CI->getArgOperand(0), m_Zero())) in markAliveBlocks()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DPatternMatch.h426 inline is_zero m_Zero() { in m_Zero() function