Lines Matching defs:NBits
1208 /// (1 << NBits) - 1
1210 /// ~(-(1 << NBits))
1215 Value *NBits;
1216 if (!match(&I, m_Add(m_OneUse(m_Shl(m_One(), m_Value(NBits))), m_AllOnes())))
1219 Constant *MinusOne = Constant::getAllOnesValue(NBits->getType());
1220 Value *NotMask = Builder.CreateShl(MinusOne, NBits, "notmask");
1337 // Extraction should extract high NBits bits, with shift amount calculated as:
1340 // when matching NBits, that will matter for matching later.
1342 Value *NBits;
1345 m_ZExtOrSelf(m_Sub(m_Constant(C), m_ZExtOrSelf(m_Value(NBits))))) ||
1383 // Otherwise, it should be some constant, left-shifted by the same NBits we
1385 // Again, we must look past zero-ext when looking for NBits.
1390 m_ZExtOrSelf(m_Specific(NBits)))))