Home
last modified time | relevance | path

Searched refs:ValToCheck (Results 1 – 1 of 1) sorted by relevance

/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp3435 APInt ValToCheck = Op0KnownZeroInverted; in visitICmpInst() local
3436 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() local
3480 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()