Lines Matching defs:NBits
1214 /// (1 << NBits) - 1
1216 /// ~(-(1 << NBits))
1221 Value *NBits;
1222 if (!match(&I, m_Add(m_OneUse(m_Shl(m_One(), m_Value(NBits))), m_AllOnes())))
1225 Constant *MinusOne = Constant::getAllOnesValue(NBits->getType());
1226 Value *NotMask = Builder.CreateShl(MinusOne, NBits, "notmask");
1374 // Extraction should extract high NBits bits, with shift amount calculated as:
1377 // when matching NBits, that will matter for matching later.
1378 Value *NBits;
1381 m_ZExtOrSelf(m_Value(NBits))))))
1416 // Otherwise, it should be some constant, left-shifted by the same NBits we
1418 // Again, we must look past zero-ext when looking for NBits.
1423 m_ZExtOrSelf(m_Specific(NBits)))))