Searched refs:NumVecElts (Results 1 – 6 of 6) sorted by relevance
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/ |
H A D | BasicTTIImpl.h | 2006 unsigned NumVecElts = cast<FixedVectorType>(Ty)->getNumElements(); in getArithmeticReductionCost() local 2009 NumVecElts >= 2) { in getArithmeticReductionCost() 2016 Type *ValTy = IntegerType::get(Ty->getContext(), NumVecElts); in getArithmeticReductionCost() 2023 unsigned NumReduxLevels = Log2_32(NumVecElts); in getArithmeticReductionCost() 2031 while (NumVecElts > MVTLen) { in getArithmeticReductionCost() 2032 NumVecElts /= 2; in getArithmeticReductionCost() 2033 VectorType *SubTy = FixedVectorType::get(ScalarTy, NumVecElts); in getArithmeticReductionCost() 2037 NumVecElts, SubTy); in getArithmeticReductionCost() 2070 unsigned NumVecElts = cast<FixedVectorType>(Ty)->getNumElements(); in getMinMaxReductionCost() local 2071 unsigned NumReduxLevels = Log2_32(NumVecElts); in getMinMaxReductionCost() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/ |
H A D | X86TargetTransformInfo.cpp | 3700 unsigned NumVecElts = ValVTy->getNumElements(); in getArithmeticReductionCost() local 3705 if (!isPowerOf2_32(NumVecElts) || ScalarSize != MTy.getScalarSizeInBits()) in getArithmeticReductionCost() 3719 NumVecElts = MTy.getVectorNumElements(); in getArithmeticReductionCost() 3724 while (NumVecElts > 1) { in getArithmeticReductionCost() 3726 unsigned Size = NumVecElts * ScalarSize; in getArithmeticReductionCost() 3727 NumVecElts /= 2; in getArithmeticReductionCost() 3730 auto *SubTy = FixedVectorType::get(ValVTy->getElementType(), NumVecElts); in getArithmeticReductionCost() 3732 getShuffleCost(TTI::SK_ExtractSubvector, Ty, None, NumVecElts, SubTy); in getArithmeticReductionCost() 3989 unsigned NumVecElts = ValVTy->getNumElements(); in getMinMaxReductionCost() local 4002 NumVecElts = MTy.getVectorNumElements(); in getMinMaxReductionCost() [all …]
|
H A D | X86ISelLowering.cpp | 7447 int NumVecElts = Vec.getValueType().getVectorNumElements(); in getTargetShuffleAndZeroables() local 7448 if (Vec.isUndef() && Size == NumVecElts) { in getTargetShuffleAndZeroables() 39136 unsigned NumVecElts = VecVT.getVectorNumElements(); in SimplifyDemandedBitsForTargetNode() local 39138 if (CIdx && CIdx->getAPIntValue().ult(NumVecElts)) { in SimplifyDemandedBitsForTargetNode() 39149 APInt DemandedVecElts = APInt::getOneBitSet(NumVecElts, Idx); in SimplifyDemandedBitsForTargetNode()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/ |
H A D | AArch64TargetTransformInfo.cpp | 1253 unsigned NumVecElts = cast<FixedVectorType>(Ty)->getNumElements(); in getMemoryOpCost() local 1254 unsigned NumVectorizableInstsToAmortize = NumVecElts * 2; in getMemoryOpCost() 1256 return NumVectorizableInstsToAmortize * NumVecElts * 2; in getMemoryOpCost()
|
H A D | AArch64ISelLowering.cpp | 14166 SDValue SplatVal, unsigned NumVecElts) { in splitStoreSplat() argument 14192 while (--NumVecElts) { in splitStoreSplat() 14391 int NumVecElts = VT.getVectorNumElements(); in replaceZeroVectorStore() local 14392 if (!(((NumVecElts == 2 || NumVecElts == 3) && in replaceZeroVectorStore() 14394 ((NumVecElts == 2 || NumVecElts == 3 || NumVecElts == 4) && in replaceZeroVectorStore() 14420 for (int I = 0; I < NumVecElts; ++I) { in replaceZeroVectorStore() 14440 return splitStoreSplat(DAG, St, SplatVal, NumVecElts); in replaceZeroVectorStore() 14458 unsigned NumVecElts = VT.getVectorNumElements(); in replaceSplatVectorStore() local 14459 if (NumVecElts != 4 && NumVecElts != 2) in replaceSplatVectorStore() 14470 std::bitset<4> IndexNotInserted((1 << NumVecElts) - 1); in replaceSplatVectorStore() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCasts.cpp | 505 unsigned NumVecElts = VecWidth / DestWidth; in foldVecTruncToExtElt() local 507 VecType = FixedVectorType::get(DestType, NumVecElts); in foldVecTruncToExtElt() 513 Elt = NumVecElts - 1 - Elt; in foldVecTruncToExtElt()
|