Searched refs:MaxRHS (Results 1 – 8 of 8) sorted by relevance
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()
2286 const SCEV *MaxRHS = Max->getOperand(1); in OptimizeMax() local2313 if (BO1->isOne() && SE.getSCEV(BO->getOperand(0)) == MaxRHS) in OptimizeMax()2317 if (BO1->isOne() && SE.getSCEV(BO->getOperand(0)) == MaxRHS) in OptimizeMax()2321 } else if (SE.getSCEV(Sel->getOperand(1)) == MaxRHS) in OptimizeMax()2323 else if (SE.getSCEV(Sel->getOperand(2)) == MaxRHS) in OptimizeMax()2325 else if (const SCEVUnknown *SU = dyn_cast<SCEVUnknown>(MaxRHS)) in OptimizeMax()
2291 const SCEV *MaxRHS = Max->getOperand(1); in OptimizeMax() local2318 if (BO1->isOne() && SE.getSCEV(BO->getOperand(0)) == MaxRHS) in OptimizeMax()2322 if (BO1->isOne() && SE.getSCEV(BO->getOperand(0)) == MaxRHS) in OptimizeMax()2326 } else if (SE.getSCEV(Sel->getOperand(1)) == MaxRHS) in OptimizeMax()2328 else if (SE.getSCEV(Sel->getOperand(2)) == MaxRHS) in OptimizeMax()2330 else if (const SCEVUnknown *SU = dyn_cast<SCEVUnknown>(MaxRHS)) in OptimizeMax()
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()
10552 APInt MaxRHS = getSignedRangeMax(RHS); in doesIVOverflowOnLT() local10557 return (std::move(MaxValue) - MaxStrideMinusOne).slt(MaxRHS); in doesIVOverflowOnLT()10560 APInt MaxRHS = getUnsignedRangeMax(RHS); in doesIVOverflowOnLT() local10565 return (std::move(MaxValue) - MaxStrideMinusOne).ult(MaxRHS); in doesIVOverflowOnLT()
11010 APInt MaxRHS = getSignedRangeMax(RHS); in doesIVOverflowOnLT() local11015 return (std::move(MaxValue) - MaxStrideMinusOne).slt(MaxRHS); in doesIVOverflowOnLT()11018 APInt MaxRHS = getUnsignedRangeMax(RHS); in doesIVOverflowOnLT() local11023 return (std::move(MaxValue) - MaxStrideMinusOne).ult(MaxRHS); in doesIVOverflowOnLT()
45222 SDValue MaxRHS = Op0.getOperand(1); in combineSubToSubus() local45224 SubusLHS = MaxRHS; in combineSubToSubus()45225 else if (MaxRHS == Op1) in combineSubToSubus()
48536 SDValue MaxRHS = Op0.getOperand(1); in combineSubToSubus() local48538 SubusLHS = MaxRHS; in combineSubToSubus()48539 else if (MaxRHS == Op1) in combineSubToSubus()