Home
last modified time | relevance | path

Searched refs:MaxRHS (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopStrengthReduce.cpp2535 const SCEV *MaxRHS = Max->getOperand(1); in OptimizeMax() local
2562 if (BO1->isOne() && SE.getSCEV(BO->getOperand(0)) == MaxRHS) in OptimizeMax()
2566 if (BO1->isOne() && SE.getSCEV(BO->getOperand(0)) == MaxRHS) in OptimizeMax()
2570 } else if (SE.getSCEV(Sel->getOperand(1)) == MaxRHS) in OptimizeMax()
2572 else if (SE.getSCEV(Sel->getOperand(2)) == MaxRHS) in OptimizeMax()
2574 else if (const SCEVUnknown *SU = dyn_cast<SCEVUnknown>(MaxRHS)) in OptimizeMax()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp12674 APInt MaxRHS = getSignedRangeMax(RHS); in canIVOverflowOnLT() local
12679 return (std::move(MaxValue) - MaxStrideMinusOne).slt(MaxRHS); in canIVOverflowOnLT()
12682 APInt MaxRHS = getUnsignedRangeMax(RHS); in canIVOverflowOnLT() local
12687 return (std::move(MaxValue) - MaxStrideMinusOne).ult(MaxRHS); in canIVOverflowOnLT()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp3751 SDValue MaxRHS = Op0.getOperand(1); in foldSubToUSubSat() local
3753 return getTruncatedUSUBSAT(DstVT, SubVT, MaxRHS, Op1, DAG, DL); in foldSubToUSubSat()
3754 if (MaxRHS == Op1) in foldSubToUSubSat()