Home
last modified time | relevance | path

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

/external/llvm/lib/Target/AArch64/
DAArch64TargetTransformInfo.cpp486 unsigned NumVecElts = Src->getVectorNumElements(); in getMemoryOpCost() local
487 unsigned NumVectorizableInstsToAmortize = NumVecElts * 2; in getMemoryOpCost()
489 return NumVectorizableInstsToAmortize * NumVecElts * 2; in getMemoryOpCost()
DAArch64ISelLowering.cpp8704 unsigned NumVecElts = VT.getVectorNumElements(); in replaceSplatVectorStore() local
8705 if (NumVecElts != 4 && NumVecElts != 2) in replaceSplatVectorStore()
8708 unsigned RemainInsertElts = NumVecElts - 1; in replaceSplatVectorStore()
8720 unsigned EltOffset = NumVecElts == 4 ? 4 : 8; in replaceSplatVectorStore()
8734 while (--NumVecElts) { in replaceSplatVectorStore()
8951 int NumVecElts = VTy.getVectorNumElements(); in tryMatchAcrossLaneShuffleForReduction() local
8953 if (NumVecElts != 4) in tryMatchAcrossLaneShuffleForReduction()
8956 if (NumVecElts != 4 && NumVecElts != 8 && NumVecElts != 16) in tryMatchAcrossLaneShuffleForReduction()
8960 int NumExpectedSteps = APInt(8, NumVecElts).logBase2(); in tryMatchAcrossLaneShuffleForReduction()
9001 for (int i = 0; i < NumVecElts; ++i) in tryMatchAcrossLaneShuffleForReduction()
/external/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h922 unsigned NumVecElts = Ty->getVectorNumElements(); in getReductionCost() local
923 unsigned NumReduxLevels = Log2_32(NumVecElts); in getReductionCost()
931 ->getShuffleCost(TTI::SK_ExtractSubvector, Ty, NumVecElts / 2, Ty); in getReductionCost()
/external/llvm/lib/IR/
DConstants.cpp1913 unsigned NumVecElts = 0; in getGetElementPtr() local
1915 NumVecElts = C->getType()->getVectorNumElements(); in getGetElementPtr()
1918 NumVecElts = Idx->getType()->getVectorNumElements(); in getGetElementPtr()
1920 if (NumVecElts) in getGetElementPtr()
1921 ReqTy = VectorType::get(ReqTy, NumVecElts); in getGetElementPtr()
1932 Idxs[i]->getType()->getVectorNumElements() == NumVecElts) && in getGetElementPtr()
1936 if (NumVecElts && !Idxs[i]->getType()->isVectorTy()) in getGetElementPtr()
1937 Idx = ConstantVector::getSplat(NumVecElts, Idx); in getGetElementPtr()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp464 unsigned NumVecElts = VecWidth / DestWidth; in foldVecTruncToExtElt() local
466 VecType = VectorType::get(DestType, NumVecElts); in foldVecTruncToExtElt()
472 Elt = NumVecElts - 1 - Elt; in foldVecTruncToExtElt()