Searched refs:ValToCheck (Results 1 – 2 of 2) sorted by relevance
3435 APInt ValToCheck = Op0KnownZeroInverted; in visitICmpInst() local3436 if (ValToCheck.isPowerOf2()) { in visitICmpInst()3437 unsigned CmpVal = ValToCheck.countTrailingZeros(); in visitICmpInst()3440 } else if ((++ValToCheck).isPowerOf2()) { in visitICmpInst()3441 unsigned CmpVal = ValToCheck.countTrailingZeros() - 1; in visitICmpInst()3479 APInt ValToCheck = Op0KnownZeroInverted; in visitICmpInst() local3480 if (ValToCheck.isPowerOf2()) { in visitICmpInst()3481 unsigned CmpVal = ValToCheck.countTrailingZeros(); in visitICmpInst()3484 } else if ((++ValToCheck).isPowerOf2()) { in visitICmpInst()3485 unsigned CmpVal = ValToCheck.countTrailingZeros(); in visitICmpInst()
4324 APInt ValToCheck = Op0KnownZeroInverted; in foldICmpUsingKnownBits() local4326 if (ValToCheck.isPowerOf2()) { in foldICmpUsingKnownBits()4329 auto *CmpC = ConstantInt::get(XTy, ValToCheck.countTrailingZeros()); in foldICmpUsingKnownBits()4332 } else if ((++ValToCheck).isPowerOf2()) { in foldICmpUsingKnownBits()4335 auto *CmpC = ConstantInt::get(XTy, ValToCheck.countTrailingZeros()); in foldICmpUsingKnownBits()