reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Analysis/ValueTracking.cpp
 1769   if (OrZero && (match(V, m_Shl(m_Value(X), m_Value())) ||
 1770                  match(V, m_LShr(m_Value(X), m_Value()))))
 1771     return isKnownToBeAPowerOfTwo(X, /*OrZero*/ true, Depth, Q);
 1780   if (OrZero && match(V, m_And(m_Value(X), m_Value(Y)))) {
 1782     if (isKnownToBeAPowerOfTwo(X, /*OrZero*/ true, Depth, Q) ||
 1786     if (match(X, m_Neg(m_Specific(Y))) || match(Y, m_Neg(m_Specific(X))))
 1786     if (match(X, m_Neg(m_Specific(Y))) || match(Y, m_Neg(m_Specific(X))))
 1793   if (match(V, m_Add(m_Value(X), m_Value(Y)))) {
 1797       if (match(X, m_And(m_Specific(Y), m_Value())) ||
 1798           match(X, m_And(m_Value(), m_Specific(Y))))
 1801       if (match(Y, m_And(m_Specific(X), m_Value())) ||
 1802           match(Y, m_And(m_Value(), m_Specific(X))))
 1803         if (isKnownToBeAPowerOfTwo(X, OrZero, Depth, Q))
 1808       computeKnownBits(X, LHSBits, Depth, Q);