Lines Matching refs:OrZero
169 static bool isKnownToBeAPowerOfTwo(Value *V, bool OrZero, unsigned Depth,
172 bool llvm::isKnownToBeAPowerOfTwo(Value *V, const DataLayout &DL, bool OrZero, in isKnownToBeAPowerOfTwo() argument
176 return ::isKnownToBeAPowerOfTwo(V, OrZero, Depth, in isKnownToBeAPowerOfTwo()
1721 bool isKnownToBeAPowerOfTwo(Value *V, bool OrZero, unsigned Depth, in isKnownToBeAPowerOfTwo() argument
1725 return OrZero; in isKnownToBeAPowerOfTwo()
1747 if (OrZero && (match(V, m_Shl(m_Value(X), m_Value())) || in isKnownToBeAPowerOfTwo()
1752 return isKnownToBeAPowerOfTwo(ZI->getOperand(0), OrZero, Depth, Q, DL); in isKnownToBeAPowerOfTwo()
1755 return isKnownToBeAPowerOfTwo(SI->getTrueValue(), OrZero, Depth, Q, DL) && in isKnownToBeAPowerOfTwo()
1756 isKnownToBeAPowerOfTwo(SI->getFalseValue(), OrZero, Depth, Q, DL); in isKnownToBeAPowerOfTwo()
1758 if (OrZero && match(V, m_And(m_Value(X), m_Value(Y)))) { in isKnownToBeAPowerOfTwo()
1773 if (OrZero || VOBO->hasNoUnsignedWrap() || VOBO->hasNoSignedWrap()) { in isKnownToBeAPowerOfTwo()
1776 if (isKnownToBeAPowerOfTwo(Y, OrZero, Depth, Q, DL)) in isKnownToBeAPowerOfTwo()
1780 if (isKnownToBeAPowerOfTwo(X, OrZero, Depth, Q, DL)) in isKnownToBeAPowerOfTwo()
1795 if (OrZero || RHSOneBits.getBoolValue() || LHSOneBits.getBoolValue()) in isKnownToBeAPowerOfTwo()
1805 return isKnownToBeAPowerOfTwo(cast<Operator>(V)->getOperand(0), OrZero, in isKnownToBeAPowerOfTwo()