Home
last modified time | relevance | path

Searched refs:NumVecElts (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h2163 NumVecElts >= 2) { in getTreeReductionCost()
2177 unsigned NumReduxLevels = Log2_32(NumVecElts); in getTreeReductionCost()
2185 while (NumVecElts > MVTLen) { in getTreeReductionCost()
2186 NumVecElts /= 2; in getTreeReductionCost()
2189 NumVecElts, SubTy); in getTreeReductionCost()
2265 unsigned NumReduxLevels = Log2_32(NumVecElts); in getMinMaxReductionCost()
2281 while (NumVecElts > MVTLen) { in getMinMaxReductionCost()
2282 NumVecElts /= 2; in getMinMaxReductionCost()
2283 auto *SubTy = FixedVectorType::get(ScalarTy, NumVecElts); in getMinMaxReductionCost()
2284 CondTy = FixedVectorType::get(ScalarCondTy, NumVecElts); in getMinMaxReductionCost()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.cpp4458 unsigned NumVecElts = ValVTy->getNumElements(); in getArithmeticReductionCost() local
4463 if (!isPowerOf2_32(NumVecElts) || ScalarSize != MTy.getScalarSizeInBits()) in getArithmeticReductionCost()
4476 NumVecElts = MTy.getVectorNumElements(); in getArithmeticReductionCost()
4481 while (NumVecElts > 1) { in getArithmeticReductionCost()
4483 unsigned Size = NumVecElts * ScalarSize; in getArithmeticReductionCost()
4484 NumVecElts /= 2; in getArithmeticReductionCost()
4741 unsigned NumVecElts = ValVTy->getNumElements(); in getMinMaxReductionCost() local
4754 NumVecElts = MTy.getVectorNumElements(); in getMinMaxReductionCost()
4783 while (NumVecElts > 1) { in getMinMaxReductionCost()
4785 unsigned Size = NumVecElts * ScalarSize; in getMinMaxReductionCost()
[all …]
H A DX86ISelLowering.cpp8099 int NumVecElts = Vec.getValueType().getVectorNumElements(); in getTargetShuffleAndZeroables() local
8100 if (Vec.isUndef() && Size == NumVecElts) { in getTargetShuffleAndZeroables()
41817 unsigned NumVecElts = VecVT.getVectorNumElements(); in SimplifyDemandedBitsForTargetNode() local
41819 if (CIdx && CIdx->getAPIntValue().ult(NumVecElts)) { in SimplifyDemandedBitsForTargetNode()
41830 APInt DemandedVecElts = APInt::getOneBitSet(NumVecElts, Idx); in SimplifyDemandedBitsForTargetNode()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp525 unsigned NumVecElts = VecWidth / DestWidth; in foldVecTruncToExtElt() local
527 VecType = FixedVectorType::get(DestType, NumVecElts); in foldVecTruncToExtElt()
533 Elt = NumVecElts - 1 - Elt; in foldVecTruncToExtElt()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp16848 while (--NumVecElts) { in splitStoreSplat()
17032 int NumVecElts = VT.getVectorNumElements(); in replaceZeroVectorStore() local
17033 if (!(((NumVecElts == 2 || NumVecElts == 3) && in replaceZeroVectorStore()
17035 ((NumVecElts == 2 || NumVecElts == 3 || NumVecElts == 4) && in replaceZeroVectorStore()
17061 for (int I = 0; I < NumVecElts; ++I) { in replaceZeroVectorStore()
17081 return splitStoreSplat(DAG, St, SplatVal, NumVecElts); in replaceZeroVectorStore()
17099 unsigned NumVecElts = VT.getVectorNumElements(); in replaceSplatVectorStore() local
17100 if (NumVecElts != 4 && NumVecElts != 2) in replaceSplatVectorStore()
17113 for (unsigned I = 0; I < NumVecElts; ++I) { in replaceSplatVectorStore()
17129 if (IndexVal >= NumVecElts) in replaceSplatVectorStore()
[all …]