Home
last modified time | relevance | path

Searched refs:ValToCheck (Results 1 – 2 of 2) 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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp4324 APInt ValToCheck = Op0KnownZeroInverted; in foldICmpUsingKnownBits() local
4326 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()