/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/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/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()
|
D | InstCombineCompares.cpp | 3338 if (BI && match(BI, m_Br(m_ICmp(Pred, m_Specific(Op0), m_ConstantInt(CI2)), in visitICmpInst()
|
/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()
|