Searched refs:KeptBits (Results 1 – 5 of 5) sorted by relevance
804 unsigned KeptBits) const override { in shouldTransformSignedTruncationCheck() argument816 MVT KeptBitsVT = MVT::getIntegerVT(KeptBits); in shouldTransformSignedTruncationCheck()
1131 unsigned KeptBits) const override { in shouldTransformSignedTruncationCheck() argument1143 MVT KeptBitsVT = MVT::getIntegerVT(KeptBits); in shouldTransformSignedTruncationCheck()
3743 const APInt KeptBits = BitWidth - MaskedBits; in foldICmpWithTruncSignExtendedVal() local3744 assert(KeptBits.ugt(0) && KeptBits.ult(BitWidth) && "unreachable"); in foldICmpWithTruncSignExtendedVal()3746 const APInt ICmpCst = APInt(XBitWidth, 1).shl(KeptBits); in foldICmpWithTruncSignExtendedVal()
3883 const unsigned KeptBits = I1.logBase2(); in optimizeSetCCOfSignedTruncationCheck() local3887 if (KeptBits != (KeptBitsMinusOne + 1)) in optimizeSetCCOfSignedTruncationCheck()3889 assert(KeptBits > 0 && KeptBits < XVT.getSizeInBits() && "unreachable"); in optimizeSetCCOfSignedTruncationCheck()3894 XVT, KeptBits)) in optimizeSetCCOfSignedTruncationCheck()3897 const unsigned MaskedBits = XVT.getSizeInBits() - KeptBits; in optimizeSetCCOfSignedTruncationCheck()
745 unsigned KeptBits) const { in shouldTransformSignedTruncationCheck() argument