/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() 183 if (!match(Cond, m_ICmp(Pred, m_Specific(A), m_Specific(B)))) { in matchSelectWithOptionalNotCond() 187 if (!match(Cond, m_ICmp(Pred, m_Specific(B), m_Specific(A)))) in matchSelectWithOptionalNotCond()
|
D | GuardWidening.cpp | 508 if (match(Cond0, m_ICmp(Pred0, m_Value(LHS), m_ConstantInt(RHS0))) && in widenCondCommon() 509 match(Cond1, m_ICmp(Pred1, m_Specific(LHS), m_ConstantInt(RHS1)))) { in widenCondCommon()
|
D | CallSiteSplitting.cpp | 140 if (!match(Cond, m_ICmp(Pred, m_Value(), m_Constant()))) in recordCondition()
|
D | IndVarSimplify.cpp | 1836 if (!match(Condition, m_ICmp(Pred, m_Specific(NarrowDefLHS), in calculatePostIncRange()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPULowerKernelAttributes.cpp | 196 m_Select(m_ICmp(Pred, SubExpr, m_Specific(ZextGroupSize)), in processUse()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 104 m_ICmp(Pred2, m_Value(X), m_Value(Y)))) || in foldSelectWithBinaryOp() 1420 if (!match(ZeroICmp, m_ICmp(EqPred, m_Value(Y), m_Zero())) || in simplifyUnsignedRangeCheck() 1478 if (match(UnsignedICmp, m_ICmp(UnsignedPred, m_Value(X), m_Specific(Y))) && in simplifyUnsignedRangeCheck() 1482 m_ICmp(UnsignedPred, m_Specific(Y), m_Value(X))) && in simplifyUnsignedRangeCheck() 1528 if (!match(Op0, m_ICmp(Pred0, m_Value(A), m_Value(B))) || in simplifyAndOfICmpsWithSameOperands() 1529 !match(Op1, m_ICmp(Pred1, m_Specific(A), m_Specific(B)))) in simplifyAndOfICmpsWithSameOperands() 1553 if (!match(Op0, m_ICmp(Pred0, m_Value(A), m_Value(B))) || in simplifyOrOfICmpsWithSameOperands() 1554 !match(Op1, m_ICmp(Pred1, m_Specific(A), m_Specific(B)))) in simplifyOrOfICmpsWithSameOperands() 1657 if (!match(Op0, m_ICmp(Pred0, m_Add(m_Value(V), m_APInt(C0)), m_APInt(C1)))) in simplifyAndOfICmpsWithAdd() 1660 if (!match(Op1, m_ICmp(Pred1, m_Specific(V), m_Value()))) in simplifyAndOfICmpsWithAdd() [all …]
|
D | AssumptionCache.cpp | 83 if (match(Cond, m_ICmp(Pred, m_Value(A), m_Value(B)))) { in findAffectedValues()
|
D | ValueTracking.cpp | 844 if (match(Cmp, m_ICmp(Pred, m_V, m_Value(A))) && in computeKnownBitsFromAssume() 857 if (match(Cmp, m_ICmp(Pred, m_V, m_Value(A))) && in computeKnownBitsFromAssume() 870 if (match(Cmp, m_ICmp(Pred, m_V, m_Value(A))) && in computeKnownBitsFromAssume() 883 if (match(Cmp, m_ICmp(Pred, m_V, m_Value(A))) && in computeKnownBitsFromAssume() 896 if (match(Cmp, m_ICmp(Pred, m_V, m_Value(A))) && in computeKnownBitsFromAssume() 907 if (match(Cmp, m_ICmp(Pred, m_V, m_Value(A))) && in computeKnownBitsFromAssume()
|
D | ScalarEvolutionExpander.cpp | 2107 m_Br(m_ICmp(Pred, m_Instruction(LHS), m_Instruction(RHS)), in getRelatedExistingExpansion()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonLoopIdiomRecognition.cpp | 685 if (!match(CondV, m_ICmp(P, m_And(m_Value(A), m_Value(B)), m_Value(C))) && in matchLeftShift() 686 !match(CondV, m_ICmp(P, m_Value(C), m_And(m_Value(A), m_Value(B))))) 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() 808 } else if (match(CondV, m_ICmp(P, m_Value(C), m_One())) || in matchRightShift() 809 match(CondV, m_ICmp(P, m_One(), m_Value(C)))) { in matchRightShift()
|
/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/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 939 m_ICmp(Pred, m_Add(m_Value(X), m_Power2(I01)), m_Power2(I1))) && in foldSignedTruncationCheck() 973 if (match(ICmp, m_ICmp(Pred, m_And(m_Value(X), m_APInt(Mask)), m_Zero())) && in foldSignedTruncationCheck() 1034 if (JoinedByAnd && match(Cmp0, m_ICmp(Pred0, m_Value(X), m_ZeroInt())) && in foldIsPowerOf2() 1035 match(Cmp1, m_ICmp(Pred1, m_Intrinsic<Intrinsic::ctpop>(m_Specific(X)), in foldIsPowerOf2() 1042 if (!JoinedByAnd && match(Cmp0, m_ICmp(Pred0, m_Value(X), m_ZeroInt())) && in foldIsPowerOf2() 1043 match(Cmp1, m_ICmp(Pred1, m_Intrinsic<Intrinsic::ctpop>(m_Specific(X)), in foldIsPowerOf2() 1060 if (!match(ZeroICmp, m_ICmp(EqPred, m_Value(ZeroCmpOp), m_Zero())) || in foldUnsignedUnderflowCheck()
|
D | InstCombineSelect.cpp | 1257 m_ICmp(Pred1, m_Specific(X), in canonicalizeClampLike() 1335 if (!match(&Cmp, m_OneUse(m_ICmp( in tryToReuseConstantFromSelectInComparison() 1774 if (!match(Limit, m_Select(m_ICmp(Pred, m_Value(Op), m_APInt(C)), in foldOverflowingAddSubSelect() 2313 if (!match(Cond, m_OneUse(m_ICmp(Pred, m_Specific(ShAmt), m_ZeroInt()))) || in foldSelectRotate() 2363 if (match(CondVal, m_OneUse(m_ICmp(Pred, m_Value(), m_Value()))) && in visitSelectInst()
|
D | InstCombineCompares.cpp | 1348 if (!match(&I, m_ICmp(Pred, m_OneUse(m_IRem(m_Value(X), m_Value(Y))), in foldIRemByPowerOfTwoToBitTest() 1364 if (!I.isEquality() || !match(&I, m_ICmp(Pred, m_Instruction(Val), m_Zero()))) in foldSignBitTest() 1487 if (match(DomCond, m_ICmp(DomPred, m_Specific(X), m_APInt(DomC))) && in foldICmpWithDominatingICmp() 2634 if (!match(SI->getCondition(), m_ICmp(PredA, m_Value(LHS), m_Value(RHS))) || in matchThreeWayIntCompare() 2646 if (!match(UnequalVal, m_Select(m_ICmp(PredB, m_Value(LHS2), m_Value(RHS2)), in matchThreeWayIntCompare()
|
D | InstCombineAddSub.cpp | 1168 if (!match(Select, m_Select(m_ICmp(Pred, m_Specific(X), m_APInt(Thr)), in canonicalizeCondSignextOfHighBitExtractToSignextHighBitExtract()
|
D | InstructionCombining.cpp | 2532 if (!match(TI, m_Br(m_ICmp(Pred, in tryToMoveFreeBeforeNullTest()
|
D | InstCombineCalls.cpp | 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/Target/ARM/ |
D | MVETailPredication.cpp | 219 if (!match(I, m_ICmp(Pred, m_Instruction(Induction), in isTailPredicate()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | LoopUnrollPeel.cpp | 189 if (!match(Condition, m_ICmp(Pred, m_Value(LeftVal), m_Value(RightVal)))) in countToEliminateCompares()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | PatternMatch.h | 1177 m_ICmp(ICmpInst::Predicate &Pred, const LHS &L, const RHS &R) { in m_ICmp() function 1654 if (!m_ICmp(Pred, m_Value(ICmpLHS), m_Value(ICmpRHS)).match(V)) in match()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 1478 if (!match(DomCond, m_ICmp(DomPred, m_Specific(CmpOp0), m_Specific(CmpOp1)))) in foldICmpWithDominatingICmp()
|