Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Support/
H A DAPInt.cpp768 unsigned Pow2; in GreatestCommonDivisor() local
774 Pow2 = Pow2_B; in GreatestCommonDivisor()
777 Pow2 = Pow2_A; in GreatestCommonDivisor()
779 Pow2 = Pow2_A; in GreatestCommonDivisor()
792 A.lshrInPlace(A.countTrailingZeros() - Pow2); in GreatestCommonDivisor()
795 B.lshrInPlace(B.countTrailingZeros() - Pow2); in GreatestCommonDivisor()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp4682 APInt Pow2 = Cst1->getValue() + 1; in foldICmpEquality() local
4683 if (Pow2.isPowerOf2() && isa<IntegerType>(A->getType()) && in foldICmpEquality()
4684 Pow2.logBase2() == cast<IntegerType>(A->getType())->getBitWidth()) in foldICmpEquality()