Searched refs:MaxShAmt (Results 1 – 5 of 5) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | ConstantRange.cpp | 1701 unsigned MaxShAmt = LHSMax.countLeadingZeros(); in computeShlNUW() local 1702 if (RHSMin <= MaxShAmt) in computeShlNUW() 1703 MaxShl = LHSMax << std::min(RHSMax, MaxShAmt); in computeShlNUW() 1704 RHSMin = std::max(RHSMin, MaxShAmt + 1); in computeShlNUW() 1722 unsigned MaxShAmt = LHSMax.countLeadingZeros() - 1; in computeShlNSWWithNNegLHS() local 1723 if (RHSMin <= MaxShAmt) in computeShlNSWWithNNegLHS() 1724 MaxShl = LHSMax << std::min(RHSMax, MaxShAmt); in computeShlNSWWithNNegLHS() 1725 RHSMin = std::max(RHSMin, MaxShAmt + 1); in computeShlNSWWithNNegLHS() 1742 unsigned MaxShAmt = LHSMin.countLeadingOnes() - 1; in computeShlNSWWithNegLHS() local 1743 if (RHSMin <= MaxShAmt) in computeShlNSWWithNegLHS() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAG.cpp | 4892 uint64_t MaxShAmt = ShAmtRange->getUnsignedMax().getZExtValue(); in ComputeNumSignBits() local 4909 if (MaxShAmt < Tmp) in ComputeNumSignBits() 4910 return Tmp - MaxShAmt; in ComputeNumSignBits() 4915 if (MaxShAmt < Tmp) in ComputeNumSignBits() 4916 return Tmp - MaxShAmt; in ComputeNumSignBits()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUISelLowering.cpp | 3324 SDValue MaxShAmt = in LowerINT_TO_FP32() local 3333 ShAmt = DAG.getNode(ISD::UMIN, SL, MVT::i32, ShAmt, MaxShAmt); in LowerINT_TO_FP32()
|
| H A D | AMDGPULegalizerInfo.cpp | 2642 auto MaxShAmt = B.buildAdd(S32, ThirtyTwo, OppositeSign); in legalizeITOFP() local 2646 ShAmt = B.buildUMin(S32, LS2, MaxShAmt); in legalizeITOFP()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVISelLowering.cpp | 19367 unsigned MaxShAmt = N10.getValueType().getScalarSizeInBits() - 1; in combineTruncOfSraSext() local 19370 DAG.getConstant(MaxShAmt, SDLoc(N1), N->getValueType(0))); in combineTruncOfSraSext()
|