Lines Matching defs:Tp
394 std::optional<unsigned> VLen, VectorType *Tp,
401 FixedVectorType::get(Tp->getElementType(), ElemsPerVReg))
409 Tp->getElementType()->getPrimitiveSizeInBits() ||
410 LegalVT.getVectorNumElements() >= Tp->getElementCount().getFixedValue())
413 unsigned VecTySize = TTI.getDataLayout().getTypeStoreSize(Tp);
418 auto *SingleOpTy = FixedVectorType::get(Tp->getElementType(),
437 Cost += TTI.getShuffleCost(TTI::SK_ExtractSubvector, Tp, {}, CostKind,
453 TTI::SK_ExtractSubvector, Tp, {}, CostKind,
459 TTI::SK_ExtractSubvector, Tp, {}, CostKind,
478 VectorType *Tp, ArrayRef<int> Mask,
483 Kind = improveShuffleKindFromMask(Kind, Mask, Tp, Index, SubTp);
485 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(Tp);
490 if (ST->hasVInstructions() && isa<FixedVectorType>(Tp)) {
492 *this, LT.second, ST->getRealVLen(), Tp, Mask, CostKind);
531 FixedVectorType::get(Tp->getElementType(), InsertIndex);
551 VectorType *IdxTy = getVRGatherIndexType(LT.second, *ST, Tp->getContext());
566 auto &C = Tp->getContext();
567 auto EC = Tp->getElementCount();
586 Tp->getElementType()->getPrimitiveSizeInBits() &&
588 cast<FixedVectorType>(Tp)->getNumElements() &&
590 cast<FixedVectorType>(Tp)->getNumElements()) ==
593 unsigned VF = cast<FixedVectorType>(Tp)->getNumElements();
595 auto *SubVecTy = FixedVectorType::get(Tp->getElementType(), SubVF);
760 InstructionCost ExtendCost = Tp->getElementType()->isIntegerTy(1) ? 3 : 0;
764 return BaseT::getShuffleCost(Kind, Tp, Mask, CostKind, Index, SubTp);