Searched refs:KeptBits (Results 1 – 12 of 12) sorted by relevance
9 ; (add %x, (1 << (KeptBits-1))) u< (1 << KeptBits)10 ; Where KeptBits = bitwidth(%x) - MaskedBits
9 ; (add %x, (1 << (KeptBits-1))) u>= (1 << KeptBits)10 ; Where KeptBits = bitwidth(%x) - MaskedBits
565 unsigned KeptBits) const override { in shouldTransformSignedTruncationCheck() argument577 MVT KeptBitsVT = MVT::getIntegerVT(KeptBits); in shouldTransformSignedTruncationCheck()
706 unsigned KeptBits) const override { in shouldTransformSignedTruncationCheck() argument718 MVT KeptBitsVT = MVT::getIntegerVT(KeptBits); in shouldTransformSignedTruncationCheck()
1018 unsigned KeptBits) const override { in shouldTransformSignedTruncationCheck() argument1030 MVT KeptBitsVT = MVT::getIntegerVT(KeptBits); in shouldTransformSignedTruncationCheck()
906 unsigned KeptBits) const override { in shouldTransformSignedTruncationCheck() argument918 MVT KeptBitsVT = MVT::getIntegerVT(KeptBits); in shouldTransformSignedTruncationCheck()
3241 const unsigned KeptBits = I1.logBase2(); in optimizeSetCCOfSignedTruncationCheck() local3245 if (KeptBits != (KeptBitsMinusOne + 1)) in optimizeSetCCOfSignedTruncationCheck()3247 assert(KeptBits > 0 && KeptBits < XVT.getSizeInBits() && "unreachable"); in optimizeSetCCOfSignedTruncationCheck()3252 XVT, KeptBits)) in optimizeSetCCOfSignedTruncationCheck()3255 const unsigned MaskedBits = XVT.getSizeInBits() - KeptBits; in optimizeSetCCOfSignedTruncationCheck()
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()
3488 const APInt KeptBits = BitWidth - MaskedBits; in foldICmpWithTruncSignExtendedVal() local3489 assert(KeptBits.ugt(0) && KeptBits.ult(BitWidth) && "unreachable"); in foldICmpWithTruncSignExtendedVal()3491 const APInt ICmpCst = APInt(XBitWidth, 1).shl(KeptBits); in foldICmpWithTruncSignExtendedVal()
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
722 unsigned KeptBits) const { in shouldTransformSignedTruncationCheck() argument