Lines Matching refs:getNumBits
107 return BitsTy->getNumBits() == 1; in typeIsConvertibleTo()
221 SmallVector<Init *, 16> NewBits(BRT->getNumBits()); in convertInitializerTo()
223 for (unsigned i = 0; i != BRT->getNumBits(); ++i) in convertInitializerTo()
249 if (BRT->getNumBits() == 1) in convertInitializerTo()
290 if (getNumBits() != 1) return nullptr; // Only accept if just one bit! in convertInitializerTo()
297 if (getNumBits() != BRT->getNumBits()) return nullptr; in convertInitializerTo()
303 for (unsigned i = 0, e = getNumBits(); i != e; ++i) in convertInitializerTo()
319 if (Bits[i] >= getNumBits()) in convertInitializerBitRange()
328 for (unsigned i = 0, e = getNumBits(); i != e; ++i) { in getAsString()
352 SmallVector<Init *, 16> NewBits(getNumBits()); in resolveReferences()
358 for (unsigned i = 0, e = getNumBits(); i != e; ++i) { in resolveReferences()
426 if (!canFitInBitfield(Value, BRT->getNumBits())) in convertInitializerTo()
429 SmallVector<Init *, 16> NewBits(BRT->getNumBits()); in convertInitializerTo()
430 for (unsigned i = 0; i != BRT->getNumBits(); ++i) in convertInitializerTo()
1184 if (BitsTy->getNumBits() == 1) in convertInitializerTo()
1201 if (BRT->getNumBits() == 1 && isa<BitRecTy>(getType())) in convertInitializerTo()
1205 SmallVector<Init *, 16> NewBits(BRT->getNumBits()); in convertInitializerTo()
1207 for (unsigned i = 0; i != BRT->getNumBits(); ++i) in convertInitializerTo()
1244 unsigned NumBits = T->getNumBits(); in convertInitializerBitRange()