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

References

lib/Analysis/ValueTracking.cpp
 1749   if (match(V, m_Power2()))
lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
  890   if (match(Op1, m_Power2())) {
  896   if (match(Op1, m_Shl(m_Power2(), m_Value())) ||
  897       match(Op1, m_ZExt(m_Shl(m_Power2(), m_Value())))) {
unittests/IR/PatternMatch.cpp
  514   EXPECT_TRUE(m_Power2().match(C128));
  515   EXPECT_FALSE(m_Power2().match(CNeg128));
  523   EXPECT_TRUE(m_Power2().match(CIntMin));
  524   EXPECT_TRUE(m_Power2().match(CNegIntMin));