Searched refs:KeptBits (Results 1 – 5 of 5) sorted by relevance
565 unsigned KeptBits) const override { in shouldTransformSignedTruncationCheck() argument577 MVT KeptBitsVT = MVT::getIntegerVT(KeptBits); in shouldTransformSignedTruncationCheck()
906 unsigned KeptBits) const override { in shouldTransformSignedTruncationCheck() argument918 MVT KeptBitsVT = MVT::getIntegerVT(KeptBits); in shouldTransformSignedTruncationCheck()
2975 const unsigned KeptBits = I1.logBase2(); in optimizeSetCCOfSignedTruncationCheck() local2979 if (KeptBits != (KeptBitsMinusOne + 1)) in optimizeSetCCOfSignedTruncationCheck()2981 assert(KeptBits > 0 && KeptBits < XVT.getSizeInBits() && "unreachable"); in optimizeSetCCOfSignedTruncationCheck()2986 XVT, KeptBits)) in optimizeSetCCOfSignedTruncationCheck()2989 const unsigned MaskedBits = XVT.getSizeInBits() - KeptBits; in optimizeSetCCOfSignedTruncationCheck()
3445 const APInt KeptBits = BitWidth - MaskedBits; in foldICmpWithTruncSignExtendedVal() local3446 assert(KeptBits.ugt(0) && KeptBits.ult(BitWidth) && "unreachable"); in foldICmpWithTruncSignExtendedVal()3448 const APInt ICmpCst = APInt(XBitWidth, 1).shl(KeptBits); in foldICmpWithTruncSignExtendedVal()
587 unsigned KeptBits) const { in shouldTransformSignedTruncationCheck() argument