Home
last modified time | relevance | path

Searched refs:m_ZeroInt (Results 1 – 15 of 15) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/AggressiveInstCombine/
DAggressiveInstCombine.cpp127 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/
DPatternMatch.h414 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/
DVectorUtils.cpp322 m_ZeroInt()), in getSplatValue()
323 m_Value(), m_ZeroInt()))) in getSplatValue()
DValueTracking.cpp4921 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()
DInstructionSimplify.cpp4005 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/
DEarlyCSE.cpp170 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/
DInstCombineVectorOps.cpp830 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()
DInstCombineCalls.cpp658 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()
DInstCombineSelect.cpp1068 match(Cmp.getOperand(1), m_ZeroInt()) && in canonicalizeAbsNabs()
2313 if (!match(Cond, m_OneUse(m_ICmp(Pred, m_Specific(ShAmt), m_ZeroInt()))) || in foldSelectRotate()
DInstCombineAndOrXor.cpp1034 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()
DInstCombineAddSub.cpp1737 bool IsNegate = match(C, m_ZeroInt()); in visitSub()
DInstCombineCasts.cpp1235 if ((Pred == ICmpInst::ICMP_SLT && match(Op1, m_ZeroInt())) || in transformSExtICmp()
DInstCombineCompares.cpp4311 !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/
DCodeGenPrepare.cpp1250 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/
DARMISelLowering.cpp14997 m_ShuffleVector(m_InsertElement(m_Undef(), m_Value(), m_ZeroInt()), in shouldSinkOperands()