Home
last modified time | relevance | path

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

/src/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp1478 APInt MinLHS = getSignedMin(), MaxLHS = getSignedMax(); in srem() local
1482 if (MaxLHS.ult(MinAbsRHS)) in srem()
1486 APInt Upper = APIntOps::umin(MaxLHS, MaxAbsRHS - 1) + 1; in srem()
1491 if (MaxLHS.isNegative()) { in srem()
1501 APInt Upper = APIntOps::umin(MaxLHS, MaxAbsRHS - 1) + 1; in srem()
/src/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopStrengthReduce.cpp2534 const SCEV *MaxLHS = Max->getOperand(0); in OptimizeMax() local
2539 if (!MaxLHS || in OptimizeMax()
2540 (ICmpInst::isTrueWhenEqual(Pred) ? !MaxLHS->isZero() : (MaxLHS != One))) in OptimizeMax()
/src/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp3750 SDValue MaxLHS = Op0.getOperand(0); in foldSubToUSubSat() local
3752 if (MaxLHS == Op1) in foldSubToUSubSat()
3755 return getTruncatedUSUBSAT(DstVT, SubVT, MaxLHS, Op1, DAG, DL); in foldSubToUSubSat()