Searched refs:KeptBits (Results 1 – 7 of 7) 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
461 unsigned KeptBits) const override { in shouldTransformSignedTruncationCheck() argument473 MVT KeptBitsVT = MVT::getIntegerVT(KeptBits); in shouldTransformSignedTruncationCheck()
820 unsigned KeptBits) const override { in shouldTransformSignedTruncationCheck() argument832 MVT KeptBitsVT = MVT::getIntegerVT(KeptBits); in shouldTransformSignedTruncationCheck()
1910 const unsigned KeptBits = I1.logBase2(); in optimizeSetCCOfSignedTruncationCheck() local1914 if (KeptBits != (KeptBitsMinusOne + 1)) in optimizeSetCCOfSignedTruncationCheck()1916 assert(KeptBits > 0 && KeptBits < XVT.getSizeInBits() && "unreachable"); in optimizeSetCCOfSignedTruncationCheck()1921 XVT, KeptBits)) in optimizeSetCCOfSignedTruncationCheck()1924 const unsigned MaskedBits = XVT.getSizeInBits() - KeptBits; in optimizeSetCCOfSignedTruncationCheck()
3014 const APInt KeptBits = BitWidth - MaskedBits; in foldICmpWithTruncSignExtendedVal() local3015 assert(KeptBits.ugt(0) && KeptBits.ult(BitWidth) && "unreachable"); in foldICmpWithTruncSignExtendedVal()3017 const APInt ICmpCst = APInt(XBitWidth, 1).shl(KeptBits); in foldICmpWithTruncSignExtendedVal()
530 unsigned KeptBits) const { in shouldTransformSignedTruncationCheck() argument