Searched refs:Pow2 (Results 1 – 4 of 4) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | APInt.cpp | 807 unsigned Pow2; in GreatestCommonDivisor() local 813 Pow2 = Pow2_B; in GreatestCommonDivisor() 816 Pow2 = Pow2_A; in GreatestCommonDivisor() 818 Pow2 = Pow2_A; in GreatestCommonDivisor() 831 A.lshrInPlace(A.countr_zero() - Pow2); in GreatestCommonDivisor() 834 B.lshrInPlace(B.countr_zero() - Pow2); in GreatestCommonDivisor()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineAndOrXor.cpp | 790 Value *Pow2, *Op; in foldAndOrOfICmpsWithPow2AndWithZero() local 801 !match(RHS, m_OneUse(m_c_ICmp(Pred, m_Specific(Op), m_Value(Pow2)))) || in foldAndOrOfICmpsWithPow2AndWithZero() 802 match(Pow2, m_One()) || in foldAndOrOfICmpsWithPow2AndWithZero() 803 !isKnownToBeAPowerOfTwo(Pow2, Q.DL, /*OrZero=*/true, Q.AC, Q.CxtI, Q.DT)) in foldAndOrOfICmpsWithPow2AndWithZero() 806 Value *And = Builder.CreateAnd(Op, Pow2); in foldAndOrOfICmpsWithPow2AndWithZero() 4421 Value *X, *Y, *Pow2; in foldXorOfICmps() local 4424 match(LHS0, m_And(m_Value(X), m_Value(Pow2))) && in foldXorOfICmps() 4425 match(RHS0, m_And(m_Value(Y), m_Specific(Pow2))) && in foldXorOfICmps() 4426 isKnownToBeAPowerOfTwo(Pow2, /*OrZero=*/true, &I)) { in foldXorOfICmps() 4428 Value *And = Builder.CreateAnd(Xor, Pow2); in foldXorOfICmps()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonVectorCombine.cpp | 1641 if (unsigned Pow2 = PowerOf2Ceil(Bits); Pow2 != Bits) { in getNumSignificantBits() local 1642 if (Known.Zero.ashr(Pow2 - 1).isAllOnes()) in getNumSignificantBits()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | DAGCombiner.cpp | 29093 for (const APInt &Pow2 : Pow2Constants) in takeInexpensiveLog2() local 29095 DAG.getConstant(Pow2.logBase2(), DL, VT.getScalarType())); in takeInexpensiveLog2()
|