Home
last modified time | relevance | path

Searched refs:getVectorNumElements (Results 1 – 25 of 102) sorted by relevance

12345

/freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeVectorTypes.cpp2650 unsigned NumOps = WidenVT.getVectorNumElements()/MaxVT.getVectorNumElements(); in CollectOpsToWiden()
2743 unsigned NumElts = VT.getVectorNumElements(); in WidenVecRes_StrictFP()
2864 InVTNumElts = InVT.getVectorNumElements(); in WidenVecRes_Convert()
3132 unsigned NumElts = VT.getVectorNumElements(); in WidenVecRes_BUILD_VECTOR()
3154 if (WidenVT.getVectorNumElements() % InVT.getVectorNumElements() == 0) { in WidenVecRes_CONCAT_VECTORS()
3241 unsigned NumElts = VT.getVectorNumElements(); in WidenVecRes_EXTRACT_SUBVECTOR()
3477 if (FinalVT.getVectorNumElements() == 1) in WidenVSELECTAndMask()
3742 assert(VT.getVectorNumElements() < in WidenVecOp_EXTEND()
3757 assert(FixedVT.getVectorNumElements() >= VT.getVectorNumElements() && in WidenVecOp_EXTEND()
3759 assert(FixedVT.getVectorNumElements() != InVT.getVectorNumElements() && in WidenVecOp_EXTEND()
[all …]
H A DLegalizeVectorOps.cpp536 assert(NVT.getVectorNumElements() == VT.getVectorNumElements() && in PromoteINT_TO_FP()
561 assert(NVT.getVectorNumElements() == VT.getVectorNumElements() && in PromoteFP_TO_INT()
589 unsigned NumElem = SrcVT.getVectorNumElements(); in ExpandLoad()
593 if (SrcVT.getVectorNumElements() > 1 && !SrcEltVT.isByteSized()) { in ExpandLoad()
896 int NumElements = VT.getVectorNumElements(); in ExpandANY_EXTEND_VECTOR_INREG()
899 int NumSrcElements = SrcVT.getVectorNumElements(); in ExpandANY_EXTEND_VECTOR_INREG()
943 int NumElements = VT.getVectorNumElements(); in ExpandZERO_EXTEND_VECTOR_INREG()
946 int NumSrcElements = SrcVT.getVectorNumElements(); in ExpandZERO_EXTEND_VECTOR_INREG()
969 for (int I = 0, E = VT.getVectorNumElements(); I != E; ++I) in createBSWAPShuffleMask()
1224 unsigned NumElems = VT.getVectorNumElements(); in ExpandStrictFPOp()
[all …]
H A DSelectionDAG.cpp1663 V.getValueType().getVectorNumElements() == VT.getVectorNumElements(); in getVectorShuffle()
4283 VT.getVectorNumElements() == in getNode()
4296 VT.getVectorNumElements() == in getNode()
4381 assert(VT.getVectorNumElements() < in getNode()
4895 EVT.getVectorNumElements() == VT.getVectorNumElements()) && in getNode()
4932 EVT.getVectorNumElements() == VT.getVectorNumElements()) && in getNode()
5292 VT.getVectorNumElements() == N1.getValueType().getVectorNumElements()) && in getNode()
6641 VT.getVectorNumElements() == MemVT.getVectorNumElements()) && in getLoad()
6814 VT.getVectorNumElements() == SVT.getVectorNumElements()) && in getTruncStore()
9056 assert(LoVT.getVectorNumElements() + HiVT.getVectorNumElements() <= in SplitVector()
[all …]
H A DLegalizeTypesGeneric.cpp93 assert(!(InVT.getVectorNumElements() & 1) && "Unsupported BITCAST"); in ExpandRes_BITCAST()
215 unsigned OldElts = OldVec.getValueType().getVectorNumElements(); in ExpandRes_EXTRACT_VECTOR_ELT()
359 NumElts = N->getValueType(0).getVectorNumElements(); in ExpandOp_BITCAST()
378 unsigned NumElts = VecVT.getVectorNumElements(); in ExpandOp_BUILD_VECTOR()
416 unsigned NumElts = VecVT.getVectorNumElements(); in ExpandOp_INSERT_VECTOR_ELT()
454 unsigned NumElts = VT.getVectorNumElements(); in ExpandOp_SCALAR_TO_VECTOR()
/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h93 for (int i = 0, e = Ty->getVectorNumElements(); i < e; ++i) { in getBroadcastShuffleOverhead()
112 for (int i = 0, e = Ty->getVectorNumElements(); i < e; ++i) { in getPermuteShuffleOverhead()
126 int NumSubElts = SubTy->getVectorNumElements(); in getExtractSubvectorOverhead()
148 int NumSubElts = SubTy->getVectorNumElements(); in getInsertSubvectorOverhead()
511 for (int i = 0, e = Ty->getVectorNumElements(); i < e; ++i) { in getScalarizationOverhead()
603 unsigned Num = Ty->getVectorNumElements();
736 unsigned Num = Dst->getVectorNumElements();
797 unsigned Num = ValTy->getVectorNumElements(); in getCmpSelInstrCost()
1328 unsigned ScalarCalls = RetTy->getVectorNumElements();
1417 unsigned NumVecElts = Ty->getVectorNumElements(); in getArithmeticReductionCost()
[all …]
H A DValueTypes.h105 MVT VecTy = MVT::getVectorVT(IntTy, getVectorNumElements(), in changeVectorElementTypeToInteger()
273 unsigned getVectorNumElements() const { in getVectorNumElements() function
276 return V.getVectorNumElements(); in getVectorNumElements()
360 unsigned NElts = getVectorNumElements(); in isPow2VectorType()
368 unsigned NElts = getVectorNumElements(); in getPow2VectorType()
/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86InterleavedAccess.cpp191 SubVecTy->getVectorNumElements(), 0)))); in decompose()
226 VT.getVectorNumElements() / 2); in scaleVectorType()
256 unsigned NumOfElm = VT.getVectorNumElements(); in genShuffleBland()
435 int VF = VT.getVectorNumElements(); in createShuffleStride()
448 int VF = VT.getVectorNumElements() / std::max(VectorSize / 128, 1); in setGroupSize()
472 unsigned NumElts = VT.getVectorNumElements(); in DecodePALIGNRMask()
610 int VF = VT.getVectorNumElements(); in group2Shuffle()
680 unsigned NumOfElm = VT.getVectorNumElements(); in interleave8bitStride3()
728 unsigned NumSubVecElems = ShuffleEltTy->getVectorNumElements() / Factor; in lowerIntoOptimizedSequence()
757 unsigned NumSubVecElems = ShuffleTy->getVectorNumElements() / Factor; in lowerIntoOptimizedSequence()
[all …]
H A DX86ISelLowering.cpp1943 VT.getVectorNumElements() != 1 && in getPreferredVectorAction()
5645 if (VT.getVectorNumElements() == InVT.getVectorNumElements()) in getExtendInVec()
17971 assert(VT.getVectorNumElements() == VT.getVectorNumElements() && in LowerAVXExtend()
18297 assert(VT.getVectorNumElements() == InVT.getVectorNumElements() && in LowerTRUNCATE()
19445 assert(VT.getVectorNumElements() == VTOp0.getVectorNumElements() && in LowerVSETCC()
20416 assert(VT.getVectorNumElements() == VT.getVectorNumElements() && in LowerSIGN_EXTEND()
32802 CurrentVT.getVectorNumElements() != OriginalVT.getVectorNumElements()) in XFormVExtractWithShuffleIntoLoad()
35314 VT.getVectorNumElements() < 2 || in combineMulToPMULDQ()
38370 VT.getVectorNumElements() < 8)) in combinePMULH()
40745 VT.getVectorNumElements() < 4 || in matchPMADDWD()
[all …]
H A DX86TargetTransformInfo.cpp907 int NumElts = LT.second.getVectorNumElements(); in getShuffleCost()
926 LegalVT.getVectorNumElements() < Tp->getVectorNumElements()) { in getShuffleCost()
2166 unsigned Width = LT.second.getVectorNumElements(); in getVectorInstrCost()
2187 unsigned NumElem = VTy->getVectorNumElements(); in getMemoryOpCost()
2234 unsigned NumElem = SrcVTy->getVectorNumElements(); in getMaskedMemoryOpCost()
2260 LT.second.getVectorNumElements() == NumElem) in getMaskedMemoryOpCost()
2720 unsigned VF = SrcVTy->getVectorNumElements(); in getGSVectorCost()
2790 unsigned VF = SrcVTy->getVectorNumElements(); in getGSScalarCost()
2828 unsigned VF = SrcVTy->getVectorNumElements(); in getGatherScatterOpCost()
2900 unsigned NumElts = DataTy->getVectorNumElements(); in isLegalMaskedGather()
[all …]
/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineVectorOps.cpp178 unsigned NumSrcElts = SrcTy->getVectorNumElements(); in foldBitcastExtElt()
371 unsigned NumElts = V->getType()->getVectorNumElements(); in collectSingleShuffleElements()
449 unsigned NumInsElts = InsVecType->getVectorNumElements(); in replaceExtractElements()
450 unsigned NumExtElts = ExtVecType->getVectorNumElements(); in replaceExtractElements()
533 unsigned NumElts = V->getType()->getVectorNumElements(); in collectShuffleElements()
931 unsigned VWidth = VecOp->getType()->getVectorNumElements(); in visitInsertElementInst()
1513 unsigned NumElts = Shuf.getType()->getVectorNumElements(); in foldIdentityExtractShuffle()
1515 assert(NumElts < Mask->getType()->getVectorNumElements() && in foldIdentityExtractShuffle()
1604 unsigned VWidth = SVI.getType()->getVectorNumElements(); in visitShuffleVectorInst()
1820 LHSOp0Width = LHSOp0->getType()->getVectorNumElements(); in visitShuffleVectorInst()
[all …]
H A DInstCombineCalls.cpp537 unsigned NumDstElts = ResTy->getVectorNumElements(); in simplifyX86pack()
538 unsigned NumSrcElts = ArgTy->getVectorNumElements(); in simplifyX86pack()
681 unsigned Width = Src->getType()->getVectorNumElements(); in simplifyX86round()
682 if (MaskTy->getVectorNumElements() > Width) { in simplifyX86round()
744 Arg->getType()->getVectorNumElements() == ArgTy->getVectorNumElements() && in simplifyX86movmsk()
747 unsigned NumElts = X->getType()->getVectorNumElements(); in simplifyX86movmsk()
1059 unsigned NumElts = VecTy->getVectorNumElements(); in simplifyX86vpermilvar()
2494 unsigned VWidth = Arg->getType()->getVectorNumElements(); in visitCallInst()
2724 unsigned VWidth = II->getType()->getVectorNumElements(); in visitCallInst()
2736 unsigned VWidth = II->getType()->getVectorNumElements(); in visitCallInst()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/
H A DHexagonISelLoweringHVX.cpp221 unsigned NumElem = VecTy.getVectorNumElements(); in typeSplit()
336 assert(ResTy.getVectorNumElements() == ByteMask.size()); in getByteShuffle()
440 unsigned ExtLen = ExtTy.getVectorNumElements(); in buildHvxVectorReg()
534 unsigned Bytes = 8 / PredTy.getVectorNumElements(); in createHvxPrefixPred()
775 Idx -= VecTy.getVectorNumElements() / 2; in extractHvxSubvectorReg()
814 unsigned ResLen = ResTy.getVectorNumElements(); in extractHvxSubvectorPred()
964 unsigned VecLen = VecTy.getVectorNumElements(); in insertHvxSubvectorPred()
1010 assert(ty(VecV).getVectorNumElements() == ResTy.getVectorNumElements()); in extendHvxVectorPred()
1168 assert(Idx % DstTy.getVectorNumElements() == 0); in LowerHvxExtractSubvector()
1273 unsigned VecLen = ResTy.getVectorNumElements(); in LowerHvxMul()
[all …]
H A DHexagonSubtarget.h239 unsigned NumElems = VecTy.getVectorNumElements();
/freebsd-12.1/contrib/llvm/lib/Support/
H A DLowLevelType.cpp21 init(/*isPointer=*/false, VT.getVectorNumElements() > 1, in LLT()
22 VT.getVectorNumElements(), VT.getVectorElementType().getSizeInBits(), in LLT()
/freebsd-12.1/contrib/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp345 unsigned WideBits = getScalarSizeInBits(Ty) * Ty->getVectorNumElements(); in getNumVectorRegs()
398 unsigned VF = Ty->getVectorNumElements(); in getArithmeticInstrCost()
547 assert (SrcTy->getVectorNumElements() == DstTy->getVectorNumElements() && in getVectorTruncCost()
563 unsigned VF = SrcTy->getVectorNumElements(); in getVectorTruncCost()
637 unsigned VF = Dst->getVectorNumElements(); in getBoolVecToIntConversionCost()
658 unsigned VF = Src->getVectorNumElements(); in getCastInstrCost()
791 unsigned VF = ValTy->getVectorNumElements(); in getCmpSelInstrCost()
1057 unsigned NumElts = VecTy->getVectorNumElements(); in getInterleavedMemoryOpCost()
/freebsd-12.1/contrib/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp204 DstTy->getVectorNumElements()); in isWideningInstruction()
253 unsigned NumDstEls = DstTyL.first * DstTyL.second.getVectorNumElements(); in isWideningInstruction()
254 unsigned NumSrcEls = SrcTyL.first * SrcTyL.second.getVectorNumElements(); in isWideningInstruction()
465 unsigned Width = LT.second.getVectorNumElements(); in getVectorInstrCost()
647 if (Ty->getVectorNumElements() < ProfitableNumElements) { in getMemoryOpCost()
648 unsigned NumVecElts = Ty->getVectorNumElements(); in getMemoryOpCost()
670 unsigned NumElts = VecTy->getVectorNumElements(); in getInterleavedMemoryOpCost()
691 if (I->getScalarSizeInBits() * I->getVectorNumElements() == 128) in getCostOfKeepingLiveOverCall()
910 return ScalarBits * Ty->getVectorNumElements() >= 128; in useReductionIntrinsic()
913 (ScalarBits * Ty->getVectorNumElements() >= 128); in useReductionIntrinsic()
H A DAArch64ISelLowering.cpp2577 unsigned NumElts = VT.getVectorNumElements(); in skipExtensionForVectorMULL()
5925 unsigned NumElts = VT.getVectorNumElements(); in ReconstructShuffle()
6130 unsigned NumElts = VT.getVectorNumElements(); in isSingletonEXTMask()
6166 unsigned NumElts = VT.getVectorNumElements(); in isEXTMask()
6209 unsigned NumElts = VT.getVectorNumElements(); in isREVMask()
6229 unsigned NumElts = VT.getVectorNumElements(); in isZIPMask()
6243 unsigned NumElts = VT.getVectorNumElements(); in isUZPMask()
6695 SrcLane -= VT.getVectorNumElements(); in LowerVECTOR_SHUFFLE()
7586 if (VT.getVectorNumElements() == 4 && in isShuffleMaskLegal()
9429 SVT.getVectorNumElements() != VT.getVectorNumElements() * 2) in performBitcastCombine()
[all …]
/freebsd-12.1/contrib/llvm/lib/IR/
H A DAutoUpgrade.cpp791 unsigned NumElts = ResultTy->getVectorNumElements() * 8; in UpgradeX86PSLLDQIntrinsics()
825 unsigned NumElts = ResultTy->getVectorNumElements() * 8; in UpgradeX86PSRLDQIntrinsics()
909 unsigned NumElts = Op0->getType()->getVectorNumElements(); in UpgradeX86ALIGNIntrinsics()
1040 unsigned NumElts = Ty->getVectorNumElements(); in upgradeX86Rotate()
1071 unsigned NumElts = Ty->getVectorNumElements(); in upgradeX86ConcatShift()
1266 unsigned NumElts = CI.getType()->getVectorNumElements(); in UpgradeMaskToInt()
1936 unsigned NumDstElts = DstTy->getVectorNumElements(); in UpgradeIntrinsicCall()
2073 unsigned EltNum = VecTy->getVectorNumElements(); in UpgradeIntrinsicCall()
2480 int NumElts = CI->getType()->getVectorNumElements(); in UpgradeIntrinsicCall()
2496 int NumElts = CI->getType()->getVectorNumElements(); in UpgradeIntrinsicCall()
[all …]
H A DConstantFold.cpp54 if (NumElts != CV->getType()->getVectorNumElements()) in BitCastConstantVector()
572 DestTy->getVectorNumElements() == V->getType()->getVectorNumElements()) { in ConstantFoldCastInstruction()
760 if (Result.size() == V1->getType()->getVectorNumElements()) in ConstantFoldSelectInstruction()
798 if (CIdx->uge(Val->getType()->getVectorNumElements())) in ConstantFoldExtractElementInstruction()
814 unsigned NumElts = Val->getType()->getVectorNumElements(); in ConstantFoldInsertElementInstruction()
838 unsigned MaskNumElts = Mask->getType()->getVectorNumElements(); in ConstantFoldShuffleVectorInstruction()
848 unsigned SrcNumElts = V1->getType()->getVectorNumElements(); in ConstantFoldShuffleVectorInstruction()
2315 PrevIdx->getType()->getVectorNumElements(), CurrIdx); in ConstantFoldGetElementPtr()
2319 CurrIdx->getType()->getVectorNumElements(), PrevIdx); in ConstantFoldGetElementPtr()
2325 IsPrevIdxVector ? PrevIdx->getType()->getVectorNumElements() in ConstantFoldGetElementPtr()
[all …]
H A DConstants.cpp189 unsigned NumElts = this->getType()->getVectorNumElements(); in isNotMinSignedValue()
207 for (unsigned i = 0, e = getType()->getVectorNumElements(); i != e; ++i) { in isFiniteNonZeroFP()
220 for (unsigned i = 0, e = getType()->getVectorNumElements(); i != e; ++i) { in isNormalFP()
257 for (unsigned i = 0, e = getType()->getVectorNumElements(); i != e; ++i) in containsUndefElement()
1755 assert(C->getType()->getVectorNumElements()==DstTy->getVectorNumElements()&& in getPtrToInt()
1768 assert(C->getType()->getVectorNumElements()==DstTy->getVectorNumElements()&& in getIntToPtr()
2017 NumVecElts = C->getType()->getVectorNumElements(); in getGetElementPtr()
2020 NumVecElts = Idx->getType()->getVectorNumElements(); in getGetElementPtr()
2034 Idxs[i]->getType()->getVectorNumElements() == NumVecElts) && in getGetElementPtr()
2156 unsigned NElts = Mask->getType()->getVectorNumElements(); in getShuffleVector()
[all …]
H A DFunction.cpp604 Result += "v" + utostr(Ty->getVectorNumElements()) + in getMangledTypeStr()
1143 (ReferenceType->getVectorNumElements() != in matchIntrinsicType()
1144 ThisArgType->getVectorNumElements())) in matchIntrinsicType()
1184 (ReferenceType->getVectorNumElements() != in matchIntrinsicType()
1185 ThisArgVecTy->getVectorNumElements())) in matchIntrinsicType()
/freebsd-12.1/contrib/llvm/include/llvm/Support/
H A DMachineValueType.h396 unsigned NElts = getVectorNumElements(); in isPow2VectorType()
406 unsigned NElts = getVectorNumElements(); in getPow2VectorType()
518 unsigned getVectorNumElements() const { in getVectorNumElements() function
621 return { getVectorNumElements(), isScalableVector() }; in getVectorElementCount()
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DTargetLoweringBase.cpp750 SVT.getVectorNumElements() / 2)); in getTypeConversion()
777 unsigned NumElts = VT.getVectorNumElements(); in getTypeConversion()
863 EVT NVT = EVT::getVectorVT(Context, EltVT, VT.getVectorNumElements() / 2); in getTypeConversion()
872 unsigned NumElts = VT.getVectorNumElements(); in getVectorTypeBreakdownMVT()
1175 unsigned NElts = VT.getVectorNumElements(); in computeRegisterProperties()
1187 SVT.getVectorNumElements() == NElts && isTypeLegal(SVT)) { in computeRegisterProperties()
1205 && SVT.getVectorNumElements() > NElts && isTypeLegal(SVT)) { in computeRegisterProperties()
1286 unsigned NumElts = VT.getVectorNumElements(); in getVectorTypeBreakdown()
H A DValueTypes.cpp25 return getVectorVT(Context, IntTy, getVectorNumElements()); in changeExtendedVectorElementTypeToInteger()
119 return "v" + utostr(getVectorNumElements()) + in getEVTString()
H A DScalarizeMaskedMemIntrin.cpp85 unsigned NumElts = Mask->getType()->getVectorNumElements(); in isConstantIntVector()
491 unsigned VectorWidth = Src->getType()->getVectorNumElements(); in scalarizeMaskedScatter()

12345