Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h1417 unsigned NumVecElts = Ty->getVectorNumElements(); in getArithmeticReductionCost() local
1418 unsigned NumReduxLevels = Log2_32(NumVecElts); in getArithmeticReductionCost()
1427 while (NumVecElts > MVTLen) { in getArithmeticReductionCost()
1428 NumVecElts /= 2; in getArithmeticReductionCost()
1429 Type *SubTy = VectorType::get(ScalarTy, NumVecElts); in getArithmeticReductionCost()
1468 unsigned NumVecElts = Ty->getVectorNumElements(); in getMinMaxReductionCost() local
1469 unsigned NumReduxLevels = Log2_32(NumVecElts); in getMinMaxReductionCost()
1486 while (NumVecElts > MVTLen) { in getMinMaxReductionCost()
1487 NumVecElts /= 2; in getMinMaxReductionCost()
1488 Type *SubTy = VectorType::get(ScalarTy, NumVecElts); in getMinMaxReductionCost()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp648 unsigned NumVecElts = Ty->getVectorNumElements(); in getMemoryOpCost() local
649 unsigned NumVectorizableInstsToAmortize = NumVecElts * 2; in getMemoryOpCost()
651 return NumVectorizableInstsToAmortize * NumVecElts * 2; in getMemoryOpCost()
H A DAArch64ISelLowering.cpp10121 while (--NumVecElts) { in splitStoreSplat()
10155 int NumVecElts = VT.getVectorNumElements(); in replaceZeroVectorStore() local
10156 if (!(((NumVecElts == 2 || NumVecElts == 3) && in replaceZeroVectorStore()
10158 ((NumVecElts == 2 || NumVecElts == 3 || NumVecElts == 4) && in replaceZeroVectorStore()
10184 for (int I = 0; I < NumVecElts; ++I) { in replaceZeroVectorStore()
10204 return splitStoreSplat(DAG, St, SplatVal, NumVecElts); in replaceZeroVectorStore()
10222 unsigned NumVecElts = VT.getVectorNumElements(); in replaceSplatVectorStore() local
10223 if (NumVecElts != 4 && NumVecElts != 2) in replaceSplatVectorStore()
10236 for (unsigned I = 0; I < NumVecElts; ++I) { in replaceSplatVectorStore()
10252 if (IndexVal >= NumVecElts) in replaceSplatVectorStore()
[all …]
/freebsd-12.1/contrib/llvm/lib/IR/
H A DConstants.cpp2015 unsigned NumVecElts = 0; in getGetElementPtr() local
2017 NumVecElts = C->getType()->getVectorNumElements(); in getGetElementPtr()
2020 NumVecElts = Idx->getType()->getVectorNumElements(); in getGetElementPtr()
2022 if (NumVecElts) in getGetElementPtr()
2023 ReqTy = VectorType::get(ReqTy, NumVecElts); in getGetElementPtr()
2034 Idxs[i]->getType()->getVectorNumElements() == NumVecElts) && in getGetElementPtr()
2038 if (NumVecElts && !Idxs[i]->getType()->isVectorTy()) in getGetElementPtr()
2039 Idx = ConstantVector::getSplat(NumVecElts, Idx); in getGetElementPtr()
/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp481 unsigned NumVecElts = VecWidth / DestWidth; in foldVecTruncToExtElt() local
483 VecType = VectorType::get(DestType, NumVecElts); in foldVecTruncToExtElt()
489 Elt = NumVecElts - 1 - Elt; in foldVecTruncToExtElt()