• Home
  • Raw
  • Download

Lines Matching refs:NumElems

469   unsigned NumElems = cast<FixedVectorType>(VT)->getNumElements();  in splitUnary()  local
472 assert(Op.size() == NumElems && "Mismatched unary operation"); in splitUnary()
474 Res.resize(NumElems); in splitUnary()
475 for (unsigned Elem = 0; Elem < NumElems; ++Elem) in splitUnary()
489 unsigned NumElems = cast<FixedVectorType>(VT)->getNumElements(); in splitBinary() local
493 assert(VOp0.size() == NumElems && "Mismatched binary operation"); in splitBinary()
494 assert(VOp1.size() == NumElems && "Mismatched binary operation"); in splitBinary()
496 Res.resize(NumElems); in splitBinary()
497 for (unsigned Elem = 0; Elem < NumElems; ++Elem) { in splitBinary()
532 unsigned NumElems = cast<FixedVectorType>(VT)->getNumElements(); in splitCall() local
546 assert(Scattered[I].size() == NumElems && "mismatched call operands"); in splitCall()
552 ValueVector Res(NumElems); in splitCall()
559 for (unsigned Elem = 0; Elem < NumElems; ++Elem) { in splitCall()
582 unsigned NumElems = cast<FixedVectorType>(VT)->getNumElements(); in visitSelectInst() local
586 assert(VOp1.size() == NumElems && "Mismatched select"); in visitSelectInst()
587 assert(VOp2.size() == NumElems && "Mismatched select"); in visitSelectInst()
589 Res.resize(NumElems); in visitSelectInst()
593 assert(VOp0.size() == NumElems && "Mismatched select"); in visitSelectInst()
594 for (unsigned I = 0; I < NumElems; ++I) { in visitSelectInst()
603 for (unsigned I = 0; I < NumElems; ++I) { in visitSelectInst()
636 unsigned NumElems = cast<FixedVectorType>(VT)->getNumElements(); in visitGetElementPtrInst() local
643 Op0 = Builder.CreateVectorSplat(NumElems, Op0); in visitGetElementPtrInst()
654 Op = Builder.CreateVectorSplat(NumElems, Op); in visitGetElementPtrInst()
660 Res.resize(NumElems); in visitGetElementPtrInst()
661 for (unsigned I = 0; I < NumElems; ++I) { in visitGetElementPtrInst()
681 unsigned NumElems = cast<FixedVectorType>(VT)->getNumElements(); in visitCastInst() local
684 assert(Op0.size() == NumElems && "Mismatched cast"); in visitCastInst()
686 Res.resize(NumElems); in visitCastInst()
687 for (unsigned I = 0; I < NumElems; ++I) in visitCastInst()
754 unsigned NumElems = cast<FixedVectorType>(VT)->getNumElements(); in visitInsertElementInst() local
761 Res.resize(NumElems); in visitInsertElementInst()
764 for (unsigned I = 0; I < NumElems; ++I) in visitInsertElementInst()
770 for (unsigned I = 0; I < NumElems; ++I) { in visitInsertElementInst()
821 unsigned NumElems = cast<FixedVectorType>(VT)->getNumElements(); in visitShuffleVectorInst() local
825 Res.resize(NumElems); in visitShuffleVectorInst()
827 for (unsigned I = 0; I < NumElems; ++I) { in visitShuffleVectorInst()
845 unsigned NumElems = cast<FixedVectorType>(VT)->getNumElements(); in visitPHINode() local
848 Res.resize(NumElems); in visitPHINode()
851 for (unsigned I = 0; I < NumElems; ++I) in visitPHINode()
858 for (unsigned J = 0; J < NumElems; ++J) in visitPHINode()
876 unsigned NumElems = cast<FixedVectorType>(Layout->VecTy)->getNumElements(); in visitLoadInst() local
880 Res.resize(NumElems); in visitLoadInst()
882 for (unsigned I = 0; I < NumElems; ++I) in visitLoadInst()
902 unsigned NumElems = cast<FixedVectorType>(Layout->VecTy)->getNumElements(); in visitStoreInst() local
908 Stores.resize(NumElems); in visitStoreInst()
909 for (unsigned I = 0; I < NumElems; ++I) { in visitStoreInst()