Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h2021 NumVecElts >= 2) { in getTreeReductionCost()
2035 unsigned NumReduxLevels = Log2_32(NumVecElts); in getTreeReductionCost()
2043 while (NumVecElts > MVTLen) { in getTreeReductionCost()
2044 NumVecElts /= 2; in getTreeReductionCost()
2047 NumVecElts, SubTy); in getTreeReductionCost()
2117 unsigned NumReduxLevels = Log2_32(NumVecElts); in getMinMaxReductionCost()
2133 while (NumVecElts > MVTLen) { in getMinMaxReductionCost()
2134 NumVecElts /= 2; in getMinMaxReductionCost()
2135 auto *SubTy = FixedVectorType::get(ScalarTy, NumVecElts); in getMinMaxReductionCost()
2136 CondTy = FixedVectorType::get(ScalarCondTy, NumVecElts); in getMinMaxReductionCost()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.cpp3923 unsigned NumVecElts = ValVTy->getNumElements(); in getArithmeticReductionCost() local
3928 if (!isPowerOf2_32(NumVecElts) || ScalarSize != MTy.getScalarSizeInBits()) in getArithmeticReductionCost()
3941 NumVecElts = MTy.getVectorNumElements(); in getArithmeticReductionCost()
3946 while (NumVecElts > 1) { in getArithmeticReductionCost()
3948 unsigned Size = NumVecElts * ScalarSize; in getArithmeticReductionCost()
3949 NumVecElts /= 2; in getArithmeticReductionCost()
4206 unsigned NumVecElts = ValVTy->getNumElements(); in getMinMaxReductionCost() local
4219 NumVecElts = MTy.getVectorNumElements(); in getMinMaxReductionCost()
4248 while (NumVecElts > 1) { in getMinMaxReductionCost()
4250 unsigned Size = NumVecElts * ScalarSize; in getMinMaxReductionCost()
[all …]
H A DX86ISelLowering.cpp7448 int NumVecElts = Vec.getValueType().getVectorNumElements(); in getTargetShuffleAndZeroables() local
7449 if (Vec.isUndef() && Size == NumVecElts) { in getTargetShuffleAndZeroables()
39393 unsigned NumVecElts = VecVT.getVectorNumElements(); in SimplifyDemandedBitsForTargetNode() local
39395 if (CIdx && CIdx->getAPIntValue().ult(NumVecElts)) { in SimplifyDemandedBitsForTargetNode()
39406 APInt DemandedVecElts = APInt::getOneBitSet(NumVecElts, Idx); in SimplifyDemandedBitsForTargetNode()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp523 unsigned NumVecElts = VecWidth / DestWidth; in foldVecTruncToExtElt() local
525 VecType = FixedVectorType::get(DestType, NumVecElts); in foldVecTruncToExtElt()
531 Elt = NumVecElts - 1 - Elt; in foldVecTruncToExtElt()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp14612 while (--NumVecElts) { in splitStoreSplat()
14811 int NumVecElts = VT.getVectorNumElements(); in replaceZeroVectorStore() local
14812 if (!(((NumVecElts == 2 || NumVecElts == 3) && in replaceZeroVectorStore()
14814 ((NumVecElts == 2 || NumVecElts == 3 || NumVecElts == 4) && in replaceZeroVectorStore()
14840 for (int I = 0; I < NumVecElts; ++I) { in replaceZeroVectorStore()
14860 return splitStoreSplat(DAG, St, SplatVal, NumVecElts); in replaceZeroVectorStore()
14878 unsigned NumVecElts = VT.getVectorNumElements(); in replaceSplatVectorStore() local
14879 if (NumVecElts != 4 && NumVecElts != 2) in replaceSplatVectorStore()
14892 for (unsigned I = 0; I < NumVecElts; ++I) { in replaceSplatVectorStore()
14908 if (IndexVal >= NumVecElts) in replaceSplatVectorStore()
[all …]