/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPULowerKernelAttributes.cpp | 197 m_Select(m_ICmp(Pred, SubExpr, m_Specific(ZextGroupSize)), in processUse()
|
/external/llvm/lib/Transforms/Scalar/ |
D | GuardWidening.cpp | 413 if (match(Cond0, m_ICmp(Pred0, m_Value(LHS), m_ConstantInt(RHS0))) && in widenCondCommon() 414 match(Cond1, m_ICmp(Pred1, m_Specific(LHS), m_ConstantInt(RHS1)))) { in widenCondCommon()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | AssumptionCache.cpp | 83 if (match(Cond, m_ICmp(Pred, m_Value(A), m_Value(B)))) { in updateAffectedValues()
|
D | InstructionSimplify.cpp | 100 m_ICmp(Pred2, m_Value(X), m_Value(Y)))) || in foldSelectWithBinaryOp() 1391 if (!match(ZeroICmp, m_ICmp(EqPred, m_Value(Y), m_Zero())) || in simplifyUnsignedRangeCheck() 1396 if (match(UnsignedICmp, m_ICmp(UnsignedPred, m_Value(X), m_Specific(Y))) && in simplifyUnsignedRangeCheck() 1400 m_ICmp(UnsignedPred, m_Specific(Y), m_Value(X))) && in simplifyUnsignedRangeCheck() 1432 if (!match(Op0, m_ICmp(Pred0, m_Value(A), m_Value(B))) || in simplifyAndOfICmpsWithSameOperands() 1433 !match(Op1, m_ICmp(Pred1, m_Specific(A), m_Specific(B)))) in simplifyAndOfICmpsWithSameOperands() 1457 if (!match(Op0, m_ICmp(Pred0, m_Value(A), m_Value(B))) || in simplifyOrOfICmpsWithSameOperands() 1458 !match(Op1, m_ICmp(Pred1, m_Specific(A), m_Specific(B)))) in simplifyOrOfICmpsWithSameOperands() 1560 if (!match(Op0, m_ICmp(Pred0, m_Add(m_Value(V), m_APInt(C0)), m_APInt(C1)))) in simplifyAndOfICmpsWithAdd() 1563 if (!match(Op1, m_ICmp(Pred1, m_Specific(V), m_Value()))) in simplifyAndOfICmpsWithAdd() [all …]
|
D | ValueTracking.cpp | 769 } else if (match(Arg, m_ICmp(Pred, m_V, m_Value(A))) && in computeKnownBitsFromAssume() 780 } else if (match(Arg, m_ICmp(Pred, m_V, m_Value(A))) && in computeKnownBitsFromAssume() 791 } else if (match(Arg, m_ICmp(Pred, m_V, m_Value(A))) && in computeKnownBitsFromAssume() 802 } else if (match(Arg, m_ICmp(Pred, m_V, m_Value(A))) && in computeKnownBitsFromAssume() 813 } else if (match(Arg, m_ICmp(Pred, m_V, m_Value(A))) && in computeKnownBitsFromAssume() 822 } else if (match(Arg, m_ICmp(Pred, m_V, m_Value(A))) && in computeKnownBitsFromAssume()
|
D | ScalarEvolutionExpander.cpp | 2020 m_Br(m_ICmp(Pred, m_Instruction(LHS), m_Instruction(RHS)), in getRelatedExistingExpansion()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | GuardWidening.cpp | 470 if (match(Cond0, m_ICmp(Pred0, m_Value(LHS), m_ConstantInt(RHS0))) && in widenCondCommon() 471 match(Cond1, m_ICmp(Pred1, m_Specific(LHS), m_ConstantInt(RHS1)))) { in widenCondCommon()
|
D | CallSiteSplitting.cpp | 139 if (!match(Cond, m_ICmp(Pred, m_Value(), m_Constant()))) in recordCondition()
|
D | LoopPredication.cpp | 646 m_Br(m_ICmp(Pred, m_Value(LHS), m_Value(RHS)), TrueDest, in parseLoopLatchICmp()
|
D | IndVarSimplify.cpp | 1656 if (!match(Condition, m_ICmp(Pred, m_Specific(NarrowDefLHS), in calculatePostIncRange()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/ |
D | HexagonLoopIdiomRecognition.cpp | 684 if (!match(CondV, m_ICmp(P, m_And(m_Value(A), m_Value(B)), m_Value(C))) && in matchLeftShift() 685 !match(CondV, m_ICmp(P, m_Value(C), m_And(m_Value(A), m_Value(B))))) in matchLeftShift() 800 if (match(CondV, m_ICmp(P, m_Value(C), m_Zero())) || in matchRightShift() 801 match(CondV, m_ICmp(P, m_Zero(), m_Value(C)))) { in matchRightShift() 807 } else if (match(CondV, m_ICmp(P, m_Value(C), m_One())) || in matchRightShift() 808 match(CondV, m_ICmp(P, m_One(), m_Value(C)))) { in matchRightShift()
|
/external/llvm/include/llvm/IR/ |
D | PatternMatch.h | 726 m_ICmp(ICmpInst::Predicate &Pred, const LHS &L, const RHS &R) { in m_ICmp() function 1125 if (!m_ICmp(Pred, m_Value(ICmpLHS), m_Value(ICmpRHS)).match(V)) in match() 1325 return m_CombineOr(m_ICmp(Pred, L, R), m_ICmp(Pred, R, L));
|
/external/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 711 } else if (match(Arg, m_ICmp(Pred, m_V, m_Value(A))) && in computeKnownBitsFromAssume() 722 } else if (match(Arg, m_ICmp(Pred, m_V, m_Value(A))) && in computeKnownBitsFromAssume() 733 } else if (match(Arg, m_ICmp(Pred, m_V, m_Value(A))) && in computeKnownBitsFromAssume() 744 } else if (match(Arg, m_ICmp(Pred, m_V, m_Value(A))) && in computeKnownBitsFromAssume() 755 } else if (match(Arg, m_ICmp(Pred, m_V, m_Value(A))) && in computeKnownBitsFromAssume() 765 } else if (match(Arg, m_ICmp(Pred, m_V, m_Value(A))) && in computeKnownBitsFromAssume() 4123 if (!match(LHS, m_ICmp(APred, m_Value(ALHS), m_Value(ARHS))) || in isImpliedCondition() 4124 !match(RHS, m_ICmp(BPred, m_Value(BLHS), m_Value(BRHS)))) in isImpliedCondition()
|
D | InstructionSimplify.cpp | 1464 if (!match(ZeroICmp, m_ICmp(EqPred, m_Value(Y), m_Zero())) || in simplifyUnsignedRangeCheck() 1469 if (match(UnsignedICmp, m_ICmp(UnsignedPred, m_Value(X), m_Specific(Y))) && in simplifyUnsignedRangeCheck() 1473 m_ICmp(UnsignedPred, m_Value(Y), m_Specific(X))) && in simplifyUnsignedRangeCheck() 1511 if (match(Op0, m_ICmp(Pred0, m_Value(V), m_APInt(C0))) && in SimplifyAndOfICmps() 1512 match(Op1, m_ICmp(Pred1, m_Specific(V), m_APInt(C1)))) { in SimplifyAndOfICmps() 1521 if (!match(Op0, m_ICmp(Pred0, m_Add(m_Value(V), m_ConstantInt(CI1)), in SimplifyAndOfICmps() 1525 if (!match(Op1, m_ICmp(Pred1, m_Specific(V), m_Specific(CI1)))) in SimplifyAndOfICmps() 1693 if (!match(Op0, m_ICmp(Pred0, m_Add(m_Value(V), m_ConstantInt(CI1)), in SimplifyOrOfICmps() 1697 if (!match(Op1, m_ICmp(Pred1, m_Specific(V), m_Specific(CI1)))) in SimplifyOrOfICmps()
|
D | ScalarEvolutionExpander.cpp | 1905 m_Br(m_ICmp(Pred, m_Instruction(LHS), m_Instruction(RHS)), in findExistingExpansion()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | LoopUnrollPeel.cpp | 168 if (!match(Condition, m_ICmp(Pred, m_Value(LeftVal), m_Value(RightVal)))) in countToEliminateCompares()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/ |
D | PatternMatch.cpp | 558 EXPECT_TRUE(m_ICmp(MatchPred, m_Value(MatchL), m_Value(MatchR)) in TYPED_TEST()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 71 if (!match(Cond, m_ICmp(Pred, m_Value(X), m_Constant(C))) || in foldSelectBinOpIdentity() 1540 if (match(CondVal, m_OneUse(m_ICmp(Pred, m_Value(), m_Value()))) && in visitSelectInst()
|
D | InstCombineCompares.cpp | 1379 if (BI && match(BI, m_Br(m_ICmp(Pred2, m_Specific(X), m_ConstantInt(CI2)), in foldICmpWithConstant() 2401 match(SI->getCondition(), m_ICmp(PredA, m_Value(LHS), m_Value(RHS))) && in matchThreeWayIntCompare() 2404 m_Select(m_ICmp(PredB, m_Specific(LHS), m_Specific(RHS)), in matchThreeWayIntCompare()
|
D | InstructionCombining.cpp | 2251 if (!match(TI, m_Br(m_ICmp(Pred, m_Specific(Op), m_Zero()), TrueBB, FalseBB))) in tryToMoveFreeBeforeNullTest()
|
D | InstCombineCalls.cpp | 3739 if (match(IIOperand, m_ICmp(Pred, m_Instruction(LHS), m_Zero())) && in visitCallInst()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | PatternMatch.h | 983 m_ICmp(ICmpInst::Predicate &Pred, const LHS &L, const RHS &R) { in m_ICmp() function 1473 if (!m_ICmp(Pred, m_Value(ICmpLHS), m_Value(ICmpRHS)).match(V)) in match()
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | PatternMatch.h | 469 m_ICmp(ICmpInst::Predicate &Pred, const LHS &L, const RHS &R) { in m_ICmp() function
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 2048 if (!match(TI, m_Br(m_ICmp(Pred, m_Specific(Op), m_Zero()), TrueBB, FalseBB))) in tryToMoveFreeBeforeNullTest() 2153 if (match(&BI, m_Br(m_ICmp(IPred, m_Value(X), m_Value(Y)), in visitBranchInst()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 1215 if (match(&BI, m_Br(m_ICmp(IPred, m_Value(X), m_Value(Y)), in visitBranchInst()
|