/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/AggressiveInstCombine/ |
D | AggressiveInstCombine.cpp | 127 if (!match(TermI, m_Br(m_ICmp(Pred, m_Specific(RotAmt), m_ZeroInt()), in foldGuardedRotateToFunnelShift()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | PatternMatch.h | 414 inline cst_pred_ty<is_zero_int> m_ZeroInt() { in m_ZeroInt() function 1674 if (AddExpr.match(ICmpLHS) && m_ZeroInt().match(ICmpRHS) && in match() 1679 if (m_ZeroInt().match(ICmpLHS) && AddExpr.match(ICmpRHS) && in match() 1897 return m_Sub(m_ZeroInt(), V);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | VectorUtils.cpp | 322 m_ZeroInt()), in getSplatValue() 323 m_Value(), m_ZeroInt()))) in getSplatValue()
|
D | ValueTracking.cpp | 4921 if ((!NeedNSW && match(X, m_Sub(m_ZeroInt(), m_Specific(Y)))) || in isKnownNegation() 4922 (NeedNSW && match(X, m_NSWSub(m_ZeroInt(), m_Specific(Y))))) in isKnownNegation() 4926 if ((!NeedNSW && match(Y, m_Sub(m_ZeroInt(), m_Specific(X)))) || in isKnownNegation() 4927 (NeedNSW && match(Y, m_NSWSub(m_ZeroInt(), m_Specific(X))))) in isKnownNegation() 5063 auto ZeroOrAllOnes = m_CombineOr(m_ZeroInt(), m_AllOnes()); in matchSelectPattern() 5064 auto ZeroOrOne = m_CombineOr(m_ZeroInt(), m_One()); in matchSelectPattern()
|
D | InstructionSimplify.cpp | 4005 match(TrueVal, m_One()) && match(FalseVal, m_ZeroInt())) in SimplifySelectInst()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | EarlyCSE.cpp | 170 if (match(Cond, m_ICmp(Pred, m_Specific(B), m_ZeroInt())) && in matchSelectWithOptionalNotCond() 176 if (match(Cond, m_ICmp(Pred, m_Specific(A), m_ZeroInt())) && in matchSelectWithOptionalNotCond()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineVectorOps.cpp | 830 if (!match(Op0, m_InsertElement(m_Undef(), m_Specific(X), m_ZeroInt()))) in foldInsEltIntoSplat() 1521 !match(Op1, m_Undef()) || match(Mask, m_ZeroInt()) || IndexC == 0) in canonicalizeInsertSplat()
|
D | InstCombineCalls.cpp | 658 if (match(CarryIn, m_ZeroInt())) { in simplifyX86addcarry() 1984 if (match(Op1, m_ZeroInt()) || match(Op1, m_Undef())) in visitCallInst() 1989 if (match(Op0, m_ZeroInt()) || match(Op0, m_Undef())) in visitCallInst() 3396 if (match(KeyArg, m_ZeroInt()) && in visitCallInst()
|
D | InstCombineSelect.cpp | 1068 match(Cmp.getOperand(1), m_ZeroInt()) && in canonicalizeAbsNabs() 2313 if (!match(Cond, m_OneUse(m_ICmp(Pred, m_Specific(ShAmt), m_ZeroInt()))) || in foldSelectRotate()
|
D | InstCombineAndOrXor.cpp | 1034 if (JoinedByAnd && match(Cmp0, m_ICmp(Pred0, m_Value(X), m_ZeroInt())) && in foldIsPowerOf2() 1042 if (!JoinedByAnd && match(Cmp0, m_ICmp(Pred0, m_Value(X), m_ZeroInt())) && in foldIsPowerOf2()
|
D | InstCombineAddSub.cpp | 1737 bool IsNegate = match(C, m_ZeroInt()); in visitSub()
|
D | InstCombineCasts.cpp | 1235 if ((Pred == ICmpInst::ICMP_SLT && match(Op1, m_ZeroInt())) || in transformSExtICmp()
|
D | InstCombineCompares.cpp | 4311 !match(Op1, m_ZeroInt())) in foldICmpEquality() 5436 (Pred == ICmpInst::ICMP_EQ && match(Op1, m_ZeroInt()) && in foldICmpOfUAddOv()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 1250 else if (Pred == ICmpInst::ICMP_NE && match(B, m_ZeroInt())) in matchUAddWithOverflowConstantEdgeCases() 1308 if (Pred == ICmpInst::ICMP_EQ && match(B, m_ZeroInt())) { in combineToUSubWithOverflow() 1313 if (Pred == ICmpInst::ICMP_NE && match(B, m_ZeroInt())) { in combineToUSubWithOverflow()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 14997 m_ShuffleVector(m_InsertElement(m_Undef(), m_Value(), m_ZeroInt()), in shouldSinkOperands()
|