Searched refs:MaxRHS (Results 1 – 7 of 7) sorted by relevance
1686 const SCEV *MaxRHS = Max->getOperand(1); in OptimizeMax() local1714 SE.getSCEV(BO->getOperand(0)) == MaxRHS) in OptimizeMax()1719 SE.getSCEV(BO->getOperand(0)) == MaxRHS) in OptimizeMax()1723 } else if (SE.getSCEV(Sel->getOperand(1)) == MaxRHS) in OptimizeMax()1725 else if (SE.getSCEV(Sel->getOperand(2)) == MaxRHS) in OptimizeMax()1727 else if (const SCEVUnknown *SU = dyn_cast<SCEVUnknown>(MaxRHS)) in OptimizeMax()
2000 const SCEV *MaxRHS = Max->getOperand(1); in OptimizeMax() local2027 if (BO1->isOne() && SE.getSCEV(BO->getOperand(0)) == MaxRHS) in OptimizeMax()2031 if (BO1->isOne() && SE.getSCEV(BO->getOperand(0)) == MaxRHS) in OptimizeMax()2035 } else if (SE.getSCEV(Sel->getOperand(1)) == MaxRHS) in OptimizeMax()2037 else if (SE.getSCEV(Sel->getOperand(2)) == MaxRHS) in OptimizeMax()2039 else if (const SCEVUnknown *SU = dyn_cast<SCEVUnknown>(MaxRHS)) in OptimizeMax()
2258 const SCEV *MaxRHS = Max->getOperand(1); in OptimizeMax() local2285 if (BO1->isOne() && SE.getSCEV(BO->getOperand(0)) == MaxRHS) in OptimizeMax()2289 if (BO1->isOne() && SE.getSCEV(BO->getOperand(0)) == MaxRHS) in OptimizeMax()2293 } else if (SE.getSCEV(Sel->getOperand(1)) == MaxRHS) in OptimizeMax()2295 else if (SE.getSCEV(Sel->getOperand(2)) == MaxRHS) in OptimizeMax()2297 else if (const SCEVUnknown *SU = dyn_cast<SCEVUnknown>(MaxRHS)) in OptimizeMax()
3840 APInt MaxRHS = ~RHSKnown.Zero; in checkRippleForSignedAdd() local3841 MaxRHS.clearSignBit(); in checkRippleForSignedAdd()3842 APInt Result = std::move(MaxLHS) + std::move(MaxRHS); in checkRippleForSignedAdd()
10198 APInt MaxRHS = getSignedRangeMax(RHS); in doesIVOverflowOnLT() local10203 return (std::move(MaxValue) - MaxStrideMinusOne).slt(MaxRHS); in doesIVOverflowOnLT()10206 APInt MaxRHS = getUnsignedRangeMax(RHS); in doesIVOverflowOnLT() local10211 return (std::move(MaxValue) - MaxStrideMinusOne).ult(MaxRHS); in doesIVOverflowOnLT()
8585 APInt MaxRHS = getSignedRange(RHS).getSignedMax(); in doesIVOverflowOnLT() local8591 return (MaxValue - MaxStrideMinusOne).slt(MaxRHS); in doesIVOverflowOnLT()8594 APInt MaxRHS = getUnsignedRange(RHS).getUnsignedMax(); in doesIVOverflowOnLT() local8600 return (MaxValue - MaxStrideMinusOne).ult(MaxRHS); in doesIVOverflowOnLT()
39145 SDValue MaxRHS = Op0.getOperand(1); in combineSubToSubus() local39147 SubusLHS = MaxRHS; in combineSubToSubus()39148 else if (MaxRHS == Op1) in combineSubToSubus()