Lines Matching refs:NumElements
318 int NumElements = MaskTy->getVectorNumElements();
319 ShuffleMask.reserve(NumElements);
321 for (int i = 0; i < NumElements; ++i) {
371 int NumElements = VT.getVectorNumElements();
372 for (int i = 0; i < NumElements; ++i) {
376 int Bit = NumElements > 8 ? i % (128 / ElementBits) : i;
379 ShuffleMask.push_back(((Imm >> Bit) & 1) ? NumElements + i : i);
397 int NumElements = MaskTy->getVectorNumElements();
398 assert((NumElements == 2 || NumElements == 4 || NumElements == 8) &&
400 ShuffleMask.reserve(NumElements);
402 assert((unsigned)NumElements == CDS->getNumElements() &&
405 for (int i = 0; i < NumElements; ++i) {
413 assert((unsigned)NumElements == C->getNumOperands() &&
416 for (int i = 0; i < NumElements; ++i) {
557 unsigned NumElements = MaskTy->getVectorNumElements();
558 if (NumElements == VT.getVectorNumElements()) {
559 for (unsigned i = 0; i < NumElements; ++i) {
569 Element &= (1 << NumElements) - 1;
580 int NumElements = VT.getVectorNumElements();
581 Element &= (1 << NumElements) - 1;
582 for (int i = 0; i < NumElements; ++i)
589 unsigned NumElements = MaskTy->getVectorNumElements();
590 if (NumElements == VT.getVectorNumElements()) {
591 for (unsigned i = 0; i < NumElements; ++i) {
601 Element &= (1 << NumElements*2) - 1;