Lines Matching refs:FoundRHS

6864   const SCEV *FoundRHS = getSCEV(ICI->getOperand(1));  in isImpliedCond()  local
6880 FoundRHS = getSignExtendExpr(FoundRHS, LHS->getType()); in isImpliedCond()
6883 FoundRHS = getZeroExtendExpr(FoundRHS, LHS->getType()); in isImpliedCond()
6892 if (SimplifyICmpOperands(FoundPred, FoundLHS, FoundRHS)) in isImpliedCond()
6893 if (FoundLHS == FoundRHS) in isImpliedCond()
6897 if (LHS == FoundRHS || RHS == FoundLHS) { in isImpliedCond()
6899 std::swap(FoundLHS, FoundRHS); in isImpliedCond()
6909 return isImpliedCondOperands(Pred, LHS, RHS, FoundLHS, FoundRHS); in isImpliedCond()
6915 return isImpliedCondOperands(Pred, LHS, RHS, FoundRHS, FoundLHS); in isImpliedCond()
6918 RHS, LHS, FoundLHS, FoundRHS); in isImpliedCond()
6923 (isa<SCEVConstant>(FoundLHS) || isa<SCEVConstant>(FoundRHS))) { in isImpliedCond()
6930 V = FoundRHS; in isImpliedCond()
6932 C = cast<SCEVConstant>(FoundRHS); in isImpliedCond()
6984 if (isImpliedCondOperands(Pred, LHS, RHS, FoundLHS, FoundRHS)) in isImpliedCond()
6988 if (isImpliedCondOperands(FoundPred, LHS, RHS, FoundLHS, FoundRHS)) in isImpliedCond()
7001 const SCEV *FoundRHS) { in isImpliedCondOperands() argument
7002 if (isImpliedCondOperandsViaRanges(Pred, LHS, RHS, FoundLHS, FoundRHS)) in isImpliedCondOperands()
7006 FoundLHS, FoundRHS) || in isImpliedCondOperands()
7009 getNotSCEV(FoundRHS), in isImpliedCondOperands()
7099 const SCEV *FoundRHS) { in isImpliedCondOperandsHelper() argument
7110 if (HasSameValue(LHS, FoundLHS) && HasSameValue(RHS, FoundRHS)) in isImpliedCondOperandsHelper()
7116 IsKnownPredicateFull(ICmpInst::ICMP_SGE, RHS, FoundRHS)) in isImpliedCondOperandsHelper()
7122 IsKnownPredicateFull(ICmpInst::ICMP_SLE, RHS, FoundRHS)) in isImpliedCondOperandsHelper()
7128 IsKnownPredicateFull(ICmpInst::ICMP_UGE, RHS, FoundRHS)) in isImpliedCondOperandsHelper()
7134 IsKnownPredicateFull(ICmpInst::ICMP_ULE, RHS, FoundRHS)) in isImpliedCondOperandsHelper()
7148 const SCEV *FoundRHS) { in isImpliedCondOperandsViaRanges() argument
7149 if (!isa<SCEVConstant>(RHS) || !isa<SCEVConstant>(FoundRHS)) in isImpliedCondOperandsViaRanges()
7159 APInt ConstFoundRHS = cast<SCEVConstant>(FoundRHS)->getValue()->getValue(); in isImpliedCondOperandsViaRanges()