Home
last modified time | relevance | path

Searched refs:m_ICmp (Results 1 – 25 of 26) sorted by relevance

12

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPULowerKernelAttributes.cpp197 m_Select(m_ICmp(Pred, SubExpr, m_Specific(ZextGroupSize)), in processUse()
/external/llvm/lib/Transforms/Scalar/
DGuardWidening.cpp413 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/
DAssumptionCache.cpp83 if (match(Cond, m_ICmp(Pred, m_Value(A), m_Value(B)))) { in updateAffectedValues()
DInstructionSimplify.cpp100 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 …]
DValueTracking.cpp769 } 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()
DScalarEvolutionExpander.cpp2020 m_Br(m_ICmp(Pred, m_Instruction(LHS), m_Instruction(RHS)), in getRelatedExistingExpansion()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DGuardWidening.cpp470 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()
DCallSiteSplitting.cpp139 if (!match(Cond, m_ICmp(Pred, m_Value(), m_Constant()))) in recordCondition()
DLoopPredication.cpp646 m_Br(m_ICmp(Pred, m_Value(LHS), m_Value(RHS)), TrueDest, in parseLoopLatchICmp()
DIndVarSimplify.cpp1656 if (!match(Condition, m_ICmp(Pred, m_Specific(NarrowDefLHS), in calculatePostIncRange()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonLoopIdiomRecognition.cpp684 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/
DPatternMatch.h726 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/
DValueTracking.cpp711 } 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()
DInstructionSimplify.cpp1464 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()
DScalarEvolutionExpander.cpp1905 m_Br(m_ICmp(Pred, m_Instruction(LHS), m_Instruction(RHS)), in findExistingExpansion()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLoopUnrollPeel.cpp168 if (!match(Condition, m_ICmp(Pred, m_Value(LeftVal), m_Value(RightVal)))) in countToEliminateCompares()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DPatternMatch.cpp558 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/
DInstCombineSelect.cpp71 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()
DInstCombineCompares.cpp1379 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()
DInstructionCombining.cpp2251 if (!match(TI, m_Br(m_ICmp(Pred, m_Specific(Op), m_Zero()), TrueBB, FalseBB))) in tryToMoveFreeBeforeNullTest()
DInstCombineCalls.cpp3739 if (match(IIOperand, m_ICmp(Pred, m_Instruction(LHS), m_Zero())) && in visitCallInst()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DPatternMatch.h983 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/
DPatternMatch.h469 m_ICmp(ICmpInst::Predicate &Pred, const LHS &L, const RHS &R) { in m_ICmp() function
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp2048 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/
DInstructionCombining.cpp1215 if (match(&BI, m_Br(m_ICmp(IPred, m_Value(X), m_Value(Y)), in visitBranchInst()

12