Lines Matching defs:NElts
7167 unsigned NElts = VTy->getNumElements();
7171 if ((NElts * EltSize) % Info.Ctx.getCharWidth() != 0) {
7178 << Ty.getCanonicalType() << EltSize << NElts
7199 // once. Because we don't accept vectors where NElts * EltSize isn't a
7205 llvm::APInt Res = llvm::APInt::getZero(NElts);
7206 for (unsigned I = 0; I < NElts; ++I) {
7211 Res.insertBits(EltAsInt, BigEndian ? (NElts - I - 1) : I);
7214 SmallVector<uint8_t, 8> Bytes(NElts / 8);
7215 llvm::StoreIntToMemory(Res, &*Bytes.begin(), NElts / 8);
7221 for (unsigned I = 0; I < NElts; ++I) {
7438 unsigned NElts = VTy->getNumElements();
7442 if ((NElts * EltSize) % Info.Ctx.getCharWidth() != 0) {
7449 << QualType(VTy, 0) << EltSize << NElts << Info.Ctx.getCharWidth();
7465 Elts.reserve(NElts);
7471 // out at once. Because we don't accept vectors where NElts * EltSize
7478 Bytes.reserve(NElts / 8);
7479 if (!Buffer.readObject(Offset, CharUnits::fromQuantity(NElts / 8), Bytes))
7482 APSInt SValInt(NElts, true);
7485 for (unsigned I = 0; I < NElts; ++I) {
7487 SValInt.extractBits(1, (BigEndian ? NElts - I - 1 : I) * EltSize);
7495 for (unsigned I = 0; I < NElts; ++I) {
10757 unsigned NElts = VTy->getNumElements();
10780 SmallVector<APValue, 4> Elts(NElts, Val);