Searched refs:NumVecElts (Results 1 – 6 of 6) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | BasicTTIImpl.h | 3016 unsigned NumVecElts = cast<FixedVectorType>(Ty)->getNumElements(); in getTreeReductionCost() local 3019 NumVecElts >= 2) { in getTreeReductionCost() 3026 Type *ValTy = IntegerType::get(Ty->getContext(), NumVecElts); in getTreeReductionCost() 3033 unsigned NumReduxLevels = Log2_32(NumVecElts); in getTreeReductionCost() 3040 while (NumVecElts > MVTLen) { in getTreeReductionCost() 3041 NumVecElts /= 2; in getTreeReductionCost() 3042 VectorType *SubTy = FixedVectorType::get(ScalarTy, NumVecElts); in getTreeReductionCost() 3044 TTI::SK_ExtractSubvector, SubTy, Ty, {}, CostKind, NumVecElts, SubTy); in getTreeReductionCost() 3122 unsigned NumVecElts = cast<FixedVectorType>(Ty)->getNumElements(); in getMinMaxReductionCost() local 3123 unsigned NumReduxLevels = Log2_32(NumVecElts); in getMinMaxReductionCost() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86TargetTransformInfo.cpp | 5684 unsigned NumVecElts = ValVTy->getNumElements(); in getArithmeticReductionCost() local 5689 if (!isPowerOf2_32(NumVecElts) || ScalarSize != MTy.getScalarSizeInBits()) in getArithmeticReductionCost() 5702 NumVecElts = MTy.getVectorNumElements(); in getArithmeticReductionCost() 5707 while (NumVecElts > 1) { in getArithmeticReductionCost() 5709 unsigned Size = NumVecElts * ScalarSize; in getArithmeticReductionCost() 5710 NumVecElts /= 2; in getArithmeticReductionCost() 5713 auto *SubTy = FixedVectorType::get(ValVTy->getElementType(), NumVecElts); in getArithmeticReductionCost() 5715 CostKind, NumVecElts, SubTy); in getArithmeticReductionCost() 5849 unsigned NumVecElts = ValVTy->getNumElements(); in getMinMaxReductionCost() local 5860 NumVecElts = MTy.getVectorNumElements(); in getMinMaxReductionCost() [all …]
|
| H A D | X86ISelLowering.cpp | 6003 int NumVecElts = Vec.getValueType().getVectorNumElements(); in getTargetShuffleAndZeroables() local 6004 if (Vec.isUndef() && Size == NumVecElts) { in getTargetShuffleAndZeroables() 44667 unsigned NumVecElts = VecVT.getVectorNumElements(); in SimplifyDemandedBitsForTargetNode() local 44669 if (CIdx && CIdx->getAPIntValue().ult(NumVecElts)) { in SimplifyDemandedBitsForTargetNode() 44680 APInt DemandedVecElts = APInt::getOneBitSet(NumVecElts, Idx); in SimplifyDemandedBitsForTargetNode()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPromoteAlloca.cpp | 623 const unsigned NumVecElts = VectorTy->getNumElements(); in promoteAllocaUserToVector() local 635 for (unsigned K = 0, NumElts = std::min(NumWrittenElts, NumVecElts); in promoteAllocaUserToVector()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCasts.cpp | 436 unsigned NumVecElts = VecWidth / DestWidth; in foldVecTruncToExtElt() local 438 VecType = FixedVectorType::get(DestType, NumVecElts); in foldVecTruncToExtElt() 444 Elt = NumVecElts - 1 - Elt; in foldVecTruncToExtElt()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64ISelLowering.cpp | 22627 SDValue SplatVal, unsigned NumVecElts) { in splitStoreSplat() argument 22653 while (--NumVecElts) { in splitStoreSplat() 22837 int NumVecElts = VT.getVectorNumElements(); in replaceZeroVectorStore() local 22838 if (!(((NumVecElts == 2 || NumVecElts == 3) && in replaceZeroVectorStore() 22840 ((NumVecElts == 2 || NumVecElts == 3 || NumVecElts == 4) && in replaceZeroVectorStore() 22866 for (int I = 0; I < NumVecElts; ++I) { in replaceZeroVectorStore() 22886 return splitStoreSplat(DAG, St, SplatVal, NumVecElts); in replaceZeroVectorStore() 22904 unsigned NumVecElts = VT.getVectorNumElements(); in replaceSplatVectorStore() local 22905 if (NumVecElts != 4 && NumVecElts != 2) in replaceSplatVectorStore() 22916 std::bitset<4> IndexNotInserted((1 << NumVecElts) - 1); in replaceSplatVectorStore() [all …]
|