• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/X86/

Lines Matching refs:NumEltsPerLane

6713   unsigned NumEltsPerLane = 128 / VT.getScalarSizeInBits();
6717 assert((NumEltsPerLane >> NumStages) > 0 && "Illegal packing compaction");
6721 for (unsigned Elt = 0; Elt != NumEltsPerLane; Elt += Increment)
6722 Mask.push_back(Elt + (Lane * NumEltsPerLane));
6723 for (unsigned Elt = 0; Elt != NumEltsPerLane; Elt += Increment)
6724 Mask.push_back(Elt + (Lane * NumEltsPerLane) + Offset);
6735 int NumEltsPerLane = NumElts / NumLanes;
6744 int OuterIdx = (Lane * NumEltsPerLane) + Elt;
6759 int NumEltsPerLane = NumElts / NumLanes;
6760 int HalfEltsPerLane = NumEltsPerLane / 2;
6769 int LaneIdx = (Idx / NumEltsPerLane) * NumEltsPerLane;
6770 int LocalIdx = Idx % NumEltsPerLane;
11944 int NumEltsPerLane = NumElts / NumLanes;
11951 for (int Lane = 0; Lane != NumElts; Lane += NumEltsPerLane) {
11952 for (int Elt = 0; Elt != NumEltsPerLane; ++Elt) {
11958 assert(Lane <= M && M < (Lane + NumEltsPerLane) && "Out of range mask");
11959 M = M % NumEltsPerLane;
11965 assert(Lane <= M && M < (Lane + NumEltsPerLane) && "Out of range mask");
11966 M = M % NumEltsPerLane;
11976 if (!(0 <= Range1.first && Range1.second < NumEltsPerLane) ||
11977 !(0 <= Range2.first && Range2.second < NumEltsPerLane))
11991 for (int Lane = 0; Lane != NumElts; Lane += NumEltsPerLane) {
11992 for (int Elt = 0; Elt != NumEltsPerLane; ++Elt) {
11997 PermMask[Lane + Elt] = Lane + ((M + Ofs - RotAmt) % NumEltsPerLane);
11999 PermMask[Lane + Elt] = Lane + ((M - Ofs - RotAmt) % NumEltsPerLane);
12682 int NumEltsPerLane = 128 / EltBits;
12683 int OffsetLane = Offset / NumEltsPerLane;
12688 assert((Offset < NumEltsPerLane || Offset % NumEltsPerLane == 0) &&
12693 return OffsetLane == (Idx / NumEltsPerLane);
12845 int NumEltsPerLane = NumElements / NumLanes;
12884 if (!((0 <= Offset && Offset < NumEltsPerLane) ||
12885 (Offset % NumEltsPerLane) == 0))
12890 if (Offset && (Offset / NumEltsPerLane) != (M / NumEltsPerLane))
15406 int NumEltsPerLane = NumElts / NumLanes;
15417 int SrcLane = M / NumEltsPerLane;
15418 int DstLane = i / NumEltsPerLane;
15423 PermMask[i] = (DstLane * NumEltsPerLane) + (M % NumEltsPerLane);
15431 for (int j = 0; j != NumEltsPerLane; ++j) {
15432 LaneMask[(DstLane * NumEltsPerLane) + j] =
15433 (SrcLane * NumEltsPerLane) + j;
15443 if (isSequentialOrUndefInRange(PermMask, i * NumEltsPerLane, NumEltsPerLane,
15444 i * NumEltsPerLane))
21155 unsigned NumEltsPerLane = VecVT.getVectorNumElements() / NumLanes;
21163 unsigned LaneIdx = LExtIndex / NumEltsPerLane;
21164 X = extract128BitVector(X, LaneIdx * NumEltsPerLane, DAG, DL);
21165 LExtIndex %= NumEltsPerLane;
35025 unsigned NumEltsPerLane = NumMaskElts / NumLanes;
35038 int Index = (M % NumEltsPerLane) + ((M / NumMaskElts) * NumEltsPerLane);