Lines Matching refs:NBits
1055 /// (1 << NBits) - 1
1057 /// ~(-(1 << NBits))
1062 Value *NBits;
1063 if (!match(&I, m_Add(m_OneUse(m_Shl(m_One(), m_Value(NBits))), m_AllOnes())))
1066 Constant *MinusOne = Constant::getAllOnesValue(NBits->getType());
1067 Value *NotMask = Builder.CreateShl(MinusOne, NBits, "notmask");
1130 // Extraction should extract high NBits bits, with shift amount calculated as:
1133 // when matching NBits, that will matter for matching later.
1135 Value *NBits;
1138 m_ZExtOrSelf(m_Sub(m_Constant(C), m_ZExtOrSelf(m_Value(NBits))))) ||
1176 // Otherwise, it should be some constant, left-shifted by the same NBits we
1178 // Again, we must look past zero-ext when looking for NBits.
1183 m_ZExtOrSelf(m_Specific(NBits)))))