|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/CodeGen/BasicTTIImpl.h 1608 LT.second.isVector() ? LT.second.getVectorNumElements() : 1;
1667 LT.second.isVector() ? LT.second.getVectorNumElements() : 1;
include/llvm/CodeGen/TargetLowering.h 305 if (VT.getVectorNumElements() == 1)
include/llvm/CodeGen/ValueTypes.h 275 return V.getVectorNumElements();
include/llvm/Support/MachineValueType.h 404 unsigned NElts = getVectorNumElements();
414 unsigned NElts = getVectorNumElements();
671 return { getVectorNumElements(), isScalableVector() };
lib/CodeGen/GlobalISel/CallLowering.cpp 329 VATy.getNumElements() > OrigVT.getVectorNumElements()) {
332 if (VATy.getNumElements() != OrigVT.getVectorNumElements() * 2) {
lib/CodeGen/GlobalISel/Utils.cpp 448 return LLT::vector(Ty.getVectorNumElements(),
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp 4455 unsigned NewEltsPerOldElt = MidVT.getVectorNumElements();
4501 unsigned NewEltsPerOldElt = MidVT.getVectorNumElements();
4549 for (unsigned I = 1, NElts = OVT.getVectorNumElements(); I != NElts; ++I)
lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp 574 assert(NVT.getVectorNumElements() == VT.getVectorNumElements() &&
574 assert(NVT.getVectorNumElements() == VT.getVectorNumElements() &&
599 assert(NVT.getVectorNumElements() == VT.getVectorNumElements() &&
599 assert(NVT.getVectorNumElements() == VT.getVectorNumElements() &&
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp 7207 LoadTy = VectorType::get(LoadTy, LoadVT.getVectorNumElements());
lib/CodeGen/TargetLoweringBase.cpp 842 SVT.getVectorNumElements() / 2));
964 unsigned NumElts = VT.getVectorNumElements();
1267 unsigned NElts = VT.getVectorNumElements();
1284 SVT.getVectorNumElements() == NElts &&
1305 && SVT.getVectorNumElements() > NElts
lib/Support/LowLevelType.cpp 20 init(/*IsPointer=*/false, VT.getVectorNumElements() > 1,
21 VT.getVectorNumElements(), VT.getVectorElementType().getSizeInBits(),
lib/Target/AArch64/AArch64ISelLowering.cpp 9998 SmallVector<int, 8> Mask(MidVT.getVectorNumElements());
10044 RHSTy.getVectorNumElements() * 2);
10139 unsigned NumElems = NarrowTy.getVectorNumElements();
lib/Target/AArch64/AArch64TargetTransformInfo.cpp 254 unsigned NumDstEls = DstTyL.first * DstTyL.second.getVectorNumElements();
255 unsigned NumSrcEls = SrcTyL.first * SrcTyL.second.getVectorNumElements();
466 unsigned Width = LT.second.getVectorNumElements();
lib/Target/AMDGPU/AMDGPUISelLowering.cpp 964 assert(ArgVT.getVectorNumElements() > RegisterVT.getVectorNumElements());
984 unsigned NumElements = RegisterVT.getVectorNumElements();
2737 unsigned NElts = VT.getVectorNumElements();
lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp 357 LT.second.getVectorNumElements() : 1;
lib/Target/AMDGPU/SIISelLowering.cpp 1359 int NumElts = VT.getVectorNumElements();
5394 if ((LoadVT.isVector() && LoadVT.getVectorNumElements() < DMaskLanes) ||
5664 unsigned NumElts = LoadVT.isVector() ? LoadVT.getVectorNumElements() : 1;
lib/Target/Hexagon/HexagonISelDAGToDAGHVX.cpp 1012 OpTy.getVectorNumElements()/2);
lib/Target/Hexagon/HexagonISelLowering.cpp 822 OpTy.getVectorNumElements());
880 OpTy.getVectorNumElements());
1867 unsigned VecLen = VT.getVectorNumElements();
2126 assert(VecTy.getVectorNumElements() == Elem.size());
2209 assert(VecTy.getVectorNumElements() == Elem.size());
2282 assert(VecWidth == VecTy.getVectorNumElements() && "Sanity failure");
2374 unsigned VecLen = VecTy.getVectorNumElements();
2375 unsigned Scale = VecLen / ValTy.getVectorNumElements();
2505 unsigned Rep = 8 / VecTy.getVectorNumElements();
2538 unsigned Scale = VecTy.getVectorNumElements() / OpTy.getVectorNumElements();
2538 unsigned Scale = VecTy.getVectorNumElements() / OpTy.getVectorNumElements();
lib/Target/Hexagon/HexagonISelLoweringHVX.cpp 177 MVT BoolW = MVT::getVectorVT(MVT::i1, T.getVectorNumElements());
185 MVT BoolV = MVT::getVectorVT(MVT::i1, T.getVectorNumElements());
215 return MVT::getVectorVT(ElemTy, Tys.first.getVectorNumElements() +
216 Tys.second.getVectorNumElements());
222 unsigned NumElem = VecTy.getVectorNumElements();
232 return MVT::getVectorVT(NewElemTy, VecTy.getVectorNumElements());
239 return MVT::getVectorVT(NewElemTy, VecTy.getVectorNumElements());
337 assert(ResTy.getVectorNumElements() == ByteMask.size());
441 unsigned ExtLen = ExtTy.getVectorNumElements();
513 unsigned Scale = HwLen / (PredTy.getVectorNumElements() * BitBytes);
514 unsigned BlockLen = PredTy.getVectorNumElements() * BitBytes;
535 unsigned Bytes = 8 / PredTy.getVectorNumElements();
690 unsigned Scale = HwLen / ty(VecV).getVectorNumElements();
751 unsigned Scale = HwLen / ty(VecV).getVectorNumElements();
776 Idx -= VecTy.getVectorNumElements() / 2;
815 unsigned ResLen = ResTy.getVectorNumElements();
816 unsigned BitBytes = HwLen / VecTy.getVectorNumElements();
826 unsigned Rep = VecTy.getVectorNumElements() / ResLen;
889 SDValue HalfV = DAG.getConstant(SingleTy.getVectorNumElements(),
895 assert(Idx == 0 || Idx == VecTy.getVectorNumElements()/2);
965 unsigned VecLen = VecTy.getVectorNumElements();
969 unsigned Scale = VecLen / SubTy.getVectorNumElements();
1011 assert(ty(VecV).getVectorNumElements() == ResTy.getVectorNumElements());
1011 assert(ty(VecV).getVectorNumElements() == ResTy.getVectorNumElements());
1114 unsigned BitBytes = HwLen / VecTy.getVectorNumElements();
1122 unsigned InpLen = ty(Op.getOperand(0)).getVectorNumElements();
1169 assert(Idx % DstTy.getVectorNumElements() == 0);
1274 unsigned VecLen = ResTy.getVectorNumElements();
1328 unsigned VecLen = ResTy.getVectorNumElements();
lib/Target/Hexagon/HexagonSubtarget.h 238 unsigned NumElems = VecTy.getVectorNumElements();
lib/Target/Mips/MipsISelLowering.cpp 330 MVT F16VT = MVT::getVectorVT(MVT::f16, VT.getVectorNumElements());
lib/Target/NVPTX/NVPTXISelLowering.cpp 1193 if (VT.getVectorNumElements() != 1 && VT.getScalarType() == MVT::i1)
lib/Target/WebAssembly/WebAssemblyISelLowering.cpp 1276 ExtractedVecT.getVectorNumElements() / VecT.getVectorNumElements();
1276 ExtractedVecT.getVectorNumElements() / VecT.getVectorNumElements();
lib/Target/X86/X86ISelDAGToDAG.cpp 4238 unsigned NumElts = CmpVT.getVectorNumElements() * Scale;
lib/Target/X86/X86ISelLowering.cpp 1929 if (VT.getVectorNumElements() != 1 &&
3591 unsigned NumElems = VT.getVectorNumElements();
4810 Info.memVT = MVT::getVectorVT(ScalarVT, VT.getVectorNumElements());
4821 unsigned NumElts = std::min(DataVT.getVectorNumElements(),
4822 IndexVT.getVectorNumElements());
4833 unsigned NumElts = std::min(DataVT.getVectorNumElements(),
4834 IndexVT.getVectorNumElements());
5368 unsigned NumElts = VT.getVectorNumElements();
5399 unsigned NumElts = VT.getVectorNumElements();
5448 assert((Subtarget.hasBWI() || VT.getVectorNumElements() <= 16) &&
5670 unsigned NumElems = OpVT.getVectorNumElements();
5690 unsigned SubVecNumElems = SubVecVT.getVectorNumElements();
5725 NumElems = WideOpVT.getVectorNumElements();
5751 NumElems = WideOpVT.getVectorNumElements();
5762 NumElems = WideOpVT.getVectorNumElements();
5918 int NumElems = VT.getVectorNumElements();
6341 unsigned NumElts = VT.getVectorNumElements();
6417 unsigned NumElems = VT.getVectorNumElements();
6805 assert(VT.getVectorNumElements() == (unsigned)Size &&
6861 unsigned NumElts = VT.getVectorNumElements();
7346 int NumElems = (int)ShufVT.getVectorNumElements();
7415 unsigned NumElts = VT.getVectorNumElements();
7728 unsigned NumElems = VT.getVectorNumElements();
8181 unsigned NumElts = VT.getVectorNumElements();
8202 unsigned NumElts = VT.getVectorNumElements();
8402 if (isUndefOrInRange(ShuffleIdx, 0, ShuffleVecVT.getVectorNumElements())) {
8716 unsigned NumElts = VT.getVectorNumElements();
8759 unsigned NumElts = VT.getVectorNumElements();
8951 unsigned NumElts = VT.getVectorNumElements();
9045 unsigned NumElts = VT.getVectorNumElements();
9093 unsigned NumElts = VT.getVectorNumElements();
9190 unsigned NumElems = VT.getVectorNumElements();
9286 unsigned NumElts = VT.getVectorNumElements();
9690 unsigned NumElts = VT.getVectorNumElements();
9992 unsigned NumSubElems = SubVT.getVectorNumElements();
10032 unsigned NumElems = ResVT.getVectorNumElements();
10044 unsigned SubVecNumElts = SubVec.getSimpleValueType().getVectorNumElements();
10061 unsigned SubVecNumElts = SubVec.getSimpleValueType().getVectorNumElements();
10078 if (ResVT.getVectorNumElements() >= 16)
10607 MVT::getIntegerVT(std::max((int)VT.getVectorNumElements(), 8));
10609 unsigned NumElts = VT.getVectorNumElements();
10624 int NumElts = VT.getVectorNumElements();
10777 if (Mask.size() != VT.getVectorNumElements())
10831 unsigned NumElts = VT.getVectorNumElements();
11110 MVT::getIntegerVT(std::max((int)VT.getVectorNumElements(), 8));
11174 MVT::getIntegerVT(std::max((int)VT.getVectorNumElements(), 8));
11304 int NumElts = VT.getVectorNumElements();
11765 assert(Size == (int)VT.getVectorNumElements() && "Unexpected mask size");
11800 assert(Size == (int)VT.getVectorNumElements() && "Unexpected mask size");
11856 assert(Size == (int)VT.getVectorNumElements() && "Unexpected mask size");
11949 int NumElements = VT.getVectorNumElements();
12112 int NumElements = VT.getVectorNumElements();
12341 if (VT.isFloatingPoint() || VT.getVectorNumElements() <= 4) {
12548 int NumSubElts = (int)VInner.getSimpleValueType().getVectorNumElements();
12592 BroadcastVT = MVT::getVectorVT(MVT::f64, VT.getVectorNumElements());
12657 unsigned NumBroadcastElts = BroadcastVT.getVectorNumElements();
13405 MVT PSHUFDVT = MVT::getVectorVT(MVT::i32, VT.getVectorNumElements() / 2);
14152 MVT MaskVecVT = MVT::getVectorVT(MaskEltVT, VT.getVectorNumElements());
14523 int NumElements = VT.getVectorNumElements();
14534 int OrigNumElements = OrigVT.getVectorNumElements();
14700 int NumElts = VT.getVectorNumElements();
15143 unsigned HalfNumElts = HalfVT.getVectorNumElements();
15191 unsigned HalfNumElts = HalfVT.getVectorNumElements();
15303 int NumElts = VT.getVectorNumElements();
15470 int NumElts = VT.getVectorNumElements();
16195 int NumElts = VT.getVectorNumElements();
16228 VT.getVectorNumElements());
16908 int WideElts = WideVT.getVectorNumElements();
16962 int NumElems = VT.getVectorNumElements();
17049 int NumElements = VT.getVectorNumElements();
17226 unsigned NumElts = VT.getVectorNumElements();
17333 assert((VecVT.getVectorNumElements() <= 16 || Subtarget.hasBWI()) &&
17339 unsigned NumElts = VecVT.getVectorNumElements();
17354 unsigned NumElems = VecVT.getVectorNumElements();
17529 unsigned NumElts = VecVT.getVectorNumElements();
17549 unsigned NumElts = VT.getVectorNumElements();
17696 OpVT.getVectorNumElements() / SizeFactor);
17742 unsigned NumElems = VecVT.getVectorNumElements();
18402 SmallVector<int, 16> Mask(FromVT.getVectorNumElements(), -1);
19039 assert(VT.getVectorNumElements() == VT.getVectorNumElements() &&
19039 assert(VT.getVectorNumElements() == VT.getVectorNumElements() &&
19117 unsigned NumElts = VT.getVectorNumElements();
19319 unsigned NumElts = InVT.getVectorNumElements();
19372 assert(VT.getVectorNumElements() == InVT.getVectorNumElements() &&
19372 assert(VT.getVectorNumElements() == InVT.getVectorNumElements() &&
20495 unsigned NumElems = VT.getVectorNumElements();
20550 unsigned NumElts = VT.getVectorNumElements();
20644 assert(VT.getVectorNumElements() <= 16);
20697 assert(VT.getVectorNumElements() == VTOp0.getVectorNumElements() &&
20697 assert(VT.getVectorNumElements() == VTOp0.getVectorNumElements() &&
21528 unsigned NumElts = VT.getVectorNumElements();
21613 unsigned NumElts = VT.getVectorNumElements();
21631 if (InVT.getVectorNumElements() != NumElts)
21646 int HalfNumElts = HalfVT.getVectorNumElements();
21648 unsigned NumSrcElts = InVT.getVectorNumElements();
21675 unsigned InNumElts = InVT.getVectorNumElements();
21676 unsigned DestElts = DestVT.getVectorNumElements();
21714 assert(VT.getVectorNumElements() == VT.getVectorNumElements() &&
21714 assert(VT.getVectorNumElements() == VT.getVectorNumElements() &&
21749 unsigned NumElems = InVT.getVectorNumElements();
21774 unsigned NumElems = StoreVT.getVectorNumElements();
21810 unsigned NumElems = StoreVT.getVectorNumElements();
21921 assert(RegVT.getVectorNumElements() <= 8 && "Unexpected VT");
22629 MVT MaskVT = MVT::getVectorVT(MVT::i1, VT.getVectorNumElements());
23316 MVT MaskVT = MVT::getVectorVT(MVT::i1, SrcVT.getVectorNumElements());
23331 MVT MaskVT = MVT::getVectorVT(MVT::i1, SrcVT.getVectorNumElements());
23712 unsigned MinElts = std::min(Index.getSimpleValueType().getVectorNumElements(),
23713 VT.getVectorNumElements());
23748 unsigned MinElts = std::min(Index.getSimpleValueType().getVectorNumElements(),
23749 Src.getSimpleValueType().getVectorNumElements());
23781 MVT::getVectorVT(MVT::i1, Index.getSimpleValueType().getVectorNumElements());
24589 unsigned NumElems = VT.getVectorNumElements();
24635 unsigned NumElems = VT.getVectorNumElements();
24663 int NumElts = VT.getVectorNumElements();
24691 MVT MaskVT = MVT::getVectorVT(MVT::i1, CurrVT.getVectorNumElements());
24710 int CurrNumElts = CurrVT.getVectorNumElements();
24717 MVT MaskVT = MVT::getVectorVT(MVT::i1, CurrVT.getVectorNumElements());
24831 unsigned NumElems = VT.getVectorNumElements();
24860 unsigned NumElems = VT.getVectorNumElements();
25036 unsigned NumElts = VT.getVectorNumElements();
25040 MVT ExVT = MVT::getVectorVT(MVT::i16, VT.getVectorNumElements());
25168 unsigned NumElts = VT.getVectorNumElements();
25496 MVT ExVT = MVT::getVectorVT(MVT::i32, VT.getVectorNumElements() * 2);
25555 unsigned NumElts = VT.getVectorNumElements();
25637 unsigned NumElts = VT.getVectorNumElements();
25712 unsigned NumElems = VT.getVectorNumElements();
25837 unsigned NumElts = VT.getVectorNumElements();
25989 MVT ExtVT = MVT::getVectorVT(EvtSVT, VT.getVectorNumElements());
26003 int NumElts = VT.getVectorNumElements();
26049 MVT ExtVT = MVT::getVectorVT(MVT::i16, VT.getVectorNumElements() / 2);
26056 MVT MaskVT = MVT::getVectorVT(MVT::i1, VT.getVectorNumElements());
26182 MVT ExtVT = MVT::getVectorVT(MVT::i8, VT.getVectorNumElements() * 2);
26252 int NumElts = VT.getVectorNumElements();
26813 SrcVT.getVectorNumElements() * 2);
26907 int NumElts = VT.getVectorNumElements();
26959 unsigned NumElems = VT.getVectorNumElements();
27015 int NumElts = VT.getVectorNumElements();
27064 unsigned NumElts = VT.getVectorNumElements();
27348 unsigned InNumElts = InVT.getVectorNumElements();
27349 unsigned WidenNumElts = NVT.getVectorNumElements();
27361 InNumElts = InVT.getVectorNumElements();
27432 unsigned NumElts = VT.getVectorNumElements() * Factor;
27589 unsigned NumElts = VT.getVectorNumElements() * Factor;
27989 unsigned WidenNumElts = WidenVT.getVectorNumElements();
27993 unsigned MinElts = VT.getVectorNumElements();
31858 if (SrcVT.getVectorNumElements() != NumDstElts)
32321 unsigned NumRootElts = RootVT.getVectorNumElements();
32464 (!IsEVEXShuffle || (NumRootElts == ShuffleVT.getVectorNumElements()))) {
32475 (!IsEVEXShuffle || (NumRootElts == ShuffleVT.getVectorNumElements()))) {
32490 (!IsEVEXShuffle || (NumRootElts == ShuffleVT.getVectorNumElements()))) {
32504 (!IsEVEXShuffle || (NumRootElts == ShuffleVT.getVectorNumElements()))) {
33056 APInt OpDemandedElts = APInt::getAllOnesValue(VT.getVectorNumElements());
33491 VT.getVectorNumElements());
33550 unsigned Size = VT.getVectorNumElements();
33742 MVT DVT = MVT::getVectorVT(MVT::i32, VT.getVectorNumElements() / 2);
34297 unsigned NumAmtElts = AmtVT.getVectorNumElements();
34398 APInt SrcElts = DemandedElts.zextOrTrunc(SrcVT.getVectorNumElements());
34460 APInt DemandedSrc = DemandedElts.zextOrTrunc(SrcVT.getVectorNumElements());
34503 APInt SrcElts = APInt::getOneBitSet(SrcVT.getVectorNumElements(), 0);
34863 unsigned NumVecElts = VecVT.getVectorNumElements();
34903 if (CIdx && CIdx->getAPIntValue().ult(VecVT.getVectorNumElements())) {
34958 unsigned NumElts = SrcVT.getVectorNumElements();
35006 if (CIdx && CIdx->getAPIntValue().ult(VecVT.getVectorNumElements()) &&
35915 NumElts = MaskSrcVT.getVectorNumElements();
36011 unsigned SadElems = SadVT.getVectorNumElements();
40781 unsigned NumElts = VT.getVectorNumElements();
41991 if (VT.getVectorNumElements() < InVT.getVectorNumElements() &&
42026 if (VT.getVectorNumElements() < InVT.getVectorNumElements() &&
42903 unsigned NumElts = SrcVT.getVectorNumElements();
44367 NumOps * SrcVT.getVectorNumElements());
44465 int VecNumElts = OpVT.getVectorNumElements();
44466 int SubVecNumElts = SubVecVT.getVectorNumElements();
44549 unsigned SelElts = SelVT.getVectorNumElements();
44550 unsigned CastedElts = WideVT.getVectorNumElements();
44640 InVec.getNode()->ops().slice(IdxVal, VT.getVectorNumElements()));
44650 if ((VT.getVectorNumElements() % DestSrcRatio) == 0) {
44651 unsigned NewExtNumElts = VT.getVectorNumElements() / DestSrcRatio;
lib/Target/X86/X86ISelLowering.h 1659 int NumElts = VT.getVectorNumElements();
lib/Target/X86/X86InterleavedAccess.cpp 229 VT.getVectorNumElements() / 2);
259 unsigned NumOfElm = VT.getVectorNumElements();
438 int VF = VT.getVectorNumElements();
451 int VF = VT.getVectorNumElements() / std::max(VectorSize / 128, 1);
475 unsigned NumElts = VT.getVectorNumElements();
613 int VF = VT.getVectorNumElements();
683 unsigned NumOfElm = VT.getVectorNumElements();
lib/Target/X86/X86TargetTransformInfo.cpp 881 return 20 * LT.first * LT.second.getVectorNumElements() * ScalarCost;
907 int NumElts = LT.second.getVectorNumElements();
912 int NumSubElts = SubLT.second.getVectorNumElements();
931 LT.second.getVectorNumElements());
933 SubLT.second.getVectorNumElements());
959 LegalVT.getVectorNumElements() < Tp->getVectorNumElements()) {
969 LegalVT.getVectorNumElements());
2390 unsigned Width = LT.second.getVectorNumElements();
2487 LT.second.getVectorNumElements() == NumElem)
2492 else if (LT.second.getVectorNumElements() > NumElem) {
2494 LT.second.getVectorNumElements());
3523 LegalVT.getVectorNumElements());
3623 LegalVT.getVectorNumElements());
utils/TableGen/CodeGenDAGPatterns.cpp 622 return B.getVectorNumElements() < P.getVectorNumElements();
622 return B.getVectorNumElements() < P.getVectorNumElements();
687 return !Lengths.count(T.isVector() ? T.getVectorNumElements() : 0);
696 VN.insert(T.isVector() ? T.getVectorNumElements() : 0);
698 WN.insert(T.isVector() ? T.getVectorNumElements() : 0);
utils/TableGen/GlobalISelEmitter.cpp 190 if (VT.isVector() && VT.getVectorNumElements() != 1)
192 LLT::vector(VT.getVectorNumElements(), VT.getScalarSizeInBits()));
utils/TableGen/IntrinsicEmitter.cpp 354 switch (VVT.getVectorNumElements()) {