Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DAPInt.cpp776 unsigned Pow2; in GreatestCommonDivisor() local
782 Pow2 = Pow2_B; in GreatestCommonDivisor()
785 Pow2 = Pow2_A; in GreatestCommonDivisor()
787 Pow2 = Pow2_A; in GreatestCommonDivisor()
800 A.lshrInPlace(A.countr_zero() - Pow2); in GreatestCommonDivisor()
803 B.lshrInPlace(B.countr_zero() - Pow2); in GreatestCommonDivisor()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp722 Value *Pow2, *Op; in foldAndOrOfICmpsWithPow2AndWithZero() local
733 !match(RHS, m_OneUse(m_c_ICmp(Pred, m_Specific(Op), m_Value(Pow2)))) || in foldAndOrOfICmpsWithPow2AndWithZero()
734 match(Pow2, m_One()) || in foldAndOrOfICmpsWithPow2AndWithZero()
735 !isKnownToBeAPowerOfTwo(Pow2, Q.DL, /*OrZero=*/true, /*Depth=*/0, Q.AC, in foldAndOrOfICmpsWithPow2AndWithZero()
739 Value *And = Builder.CreateAnd(Op, Pow2); in foldAndOrOfICmpsWithPow2AndWithZero()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonVectorCombine.cpp1640 if (unsigned Pow2 = PowerOf2Ceil(Bits); Pow2 != Bits) { in getNumSignificantBits() local
1641 if (Known.Zero.ashr(Pow2 - 1).isAllOnes()) in getNumSignificantBits()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp27968 for (const APInt &Pow2 : Pow2Constants) in takeInexpensiveLog2() local
27970 DAG.getConstant(Pow2.logBase2(), DL, VT.getScalarType())); in takeInexpensiveLog2()