Lines Matching refs:FoundLHS

6863   const SCEV *FoundLHS = getSCEV(ICI->getOperand(0));  in isImpliedCond()  local
6868 getTypeSizeInBits(FoundLHS->getType())) { in isImpliedCond()
6870 LHS = getSignExtendExpr(LHS, FoundLHS->getType()); in isImpliedCond()
6871 RHS = getSignExtendExpr(RHS, FoundLHS->getType()); in isImpliedCond()
6873 LHS = getZeroExtendExpr(LHS, FoundLHS->getType()); in isImpliedCond()
6874 RHS = getZeroExtendExpr(RHS, FoundLHS->getType()); in isImpliedCond()
6877 getTypeSizeInBits(FoundLHS->getType())) { in isImpliedCond()
6879 FoundLHS = getSignExtendExpr(FoundLHS, LHS->getType()); in isImpliedCond()
6882 FoundLHS = getZeroExtendExpr(FoundLHS, 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()
6928 if (isa<SCEVConstant>(FoundLHS)) { in isImpliedCond()
6929 C = cast<SCEVConstant>(FoundLHS); in isImpliedCond()
6933 V = FoundLHS; in isImpliedCond()
6984 if (isImpliedCondOperands(Pred, LHS, RHS, FoundLHS, FoundRHS)) in isImpliedCond()
6988 if (isImpliedCondOperands(FoundPred, LHS, RHS, FoundLHS, FoundRHS)) in isImpliedCond()
7000 const SCEV *FoundLHS, in isImpliedCondOperands() argument
7002 if (isImpliedCondOperandsViaRanges(Pred, LHS, RHS, FoundLHS, FoundRHS)) in isImpliedCondOperands()
7006 FoundLHS, FoundRHS) || in isImpliedCondOperands()
7010 getNotSCEV(FoundLHS)); in isImpliedCondOperands()
7098 const SCEV *FoundLHS, in isImpliedCondOperandsHelper() argument
7110 if (HasSameValue(LHS, FoundLHS) && HasSameValue(RHS, FoundRHS)) in isImpliedCondOperandsHelper()
7115 if (IsKnownPredicateFull(ICmpInst::ICMP_SLE, LHS, FoundLHS) && in isImpliedCondOperandsHelper()
7121 if (IsKnownPredicateFull(ICmpInst::ICMP_SGE, LHS, FoundLHS) && in isImpliedCondOperandsHelper()
7127 if (IsKnownPredicateFull(ICmpInst::ICMP_ULE, LHS, FoundLHS) && in isImpliedCondOperandsHelper()
7133 if (IsKnownPredicateFull(ICmpInst::ICMP_UGE, LHS, FoundLHS) && in isImpliedCondOperandsHelper()
7147 const SCEV *FoundLHS, in isImpliedCondOperandsViaRanges() argument
7155 if (!AddLHS || AddLHS->getOperand(1) != FoundLHS || in isImpliedCondOperandsViaRanges()