Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp2997 APInt ValToCheck = Op0KnownZeroInverted; in visitICmpInst() local
2998 if (ValToCheck.isPowerOf2()) { in visitICmpInst()
2999 unsigned CmpVal = ValToCheck.countTrailingZeros(); in visitICmpInst()
3002 } else if ((++ValToCheck).isPowerOf2()) { in visitICmpInst()
3003 unsigned CmpVal = ValToCheck.countTrailingZeros() - 1; in visitICmpInst()
3041 APInt ValToCheck = Op0KnownZeroInverted; in visitICmpInst() local
3042 if (ValToCheck.isPowerOf2()) { in visitICmpInst()
3043 unsigned CmpVal = ValToCheck.countTrailingZeros(); in visitICmpInst()
3046 } else if ((++ValToCheck).isPowerOf2()) { in visitICmpInst()
3047 unsigned CmpVal = ValToCheck.countTrailingZeros(); in visitICmpInst()