Searched refs:HighestBit (Results 1 – 1 of 1) sorted by relevance
889 APInt HighestBit; in foldSignedTruncationCheck() local891 if (tryToMatchSignedTruncationCheck(ICmp1, X1, HighestBit)) in foldSignedTruncationCheck()893 else if (tryToMatchSignedTruncationCheck(ICmp0, X1, HighestBit)) in foldSignedTruncationCheck()898 assert(HighestBit.isPowerOf2() && "expected to be power of two (non-zero)"); in foldSignedTruncationCheck()941 APInt SignBitsMask = ~(HighestBit - 1U); in foldSignedTruncationCheck()952 HighestBit = APIntOps::umin(HighestBit, OtherHighestBit); in foldSignedTruncationCheck()957 return Builder.CreateICmpULT(X, ConstantInt::get(X->getType(), HighestBit), in foldSignedTruncationCheck()