Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp1693 APInt LHSMin = LHS.getUnsignedMin(); in computeShlNUW() local
1695 APInt MinShl = LHSMin.ushl_ov(RHSMin, Overflow); in computeShlNUW()
1705 RHSMax = std::min(RHSMax, LHSMin.countLeadingZeros()); in computeShlNUW()
1712 static ConstantRange computeShlNSWWithNNegLHS(const APInt &LHSMin, in computeShlNSWWithNNegLHS() argument
1716 unsigned BitWidth = LHSMin.getBitWidth(); in computeShlNSWWithNNegLHS()
1718 APInt MinShl = LHSMin.sshl_ov(RHSMin, Overflow); in computeShlNSWWithNNegLHS()
1726 RHSMax = std::min(RHSMax, LHSMin.countLeadingZeros() - 1); in computeShlNSWWithNNegLHS()
1733 static ConstantRange computeShlNSWWithNegLHS(const APInt &LHSMin, in computeShlNSWWithNegLHS() argument
1736 unsigned BitWidth = LHSMin.getBitWidth(); in computeShlNSWWithNegLHS()
1742 unsigned MaxShAmt = LHSMin.countLeadingOnes() - 1; in computeShlNSWWithNegLHS()
[all …]