Lines Matching defs:Tp
3975 InstructionCost AArch64TTIImpl::getSpliceCost(VectorType *Tp, int Index) {
3996 if (Tp->getElementCount() == ElementCount::getScalable(1))
3999 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(Tp);
4000 Type *LegalVTy = EVT(LT.second).getTypeForEVT(Tp->getContext());
4005 Type *PromotedVTy = EVT(PromotedVT).getTypeForEVT(Tp->getContext());
4032 TTI::ShuffleKind Kind, VectorType *Tp, ArrayRef<int> Mask,
4035 std::pair<InstructionCost, MVT> LT = getTypeLegalizationCost(Tp);
4039 if (!Mask.empty() && isa<FixedVectorType>(Tp) && LT.second.isVector() &&
4040 Tp->getScalarSizeInBits() == LT.second.getScalarSizeInBits() &&
4058 Mask, 4, Tp->getElementCount().getKnownMinValue() * 2) ||
4060 Mask, 3, Tp->getElementCount().getKnownMinValue() * 2)))
4067 VectorType::get(Tp->getScalarType(), LT.second.getVectorElementCount());
4121 Kind = improveShuffleKindFromMask(Kind, Mask, Tp, Index, SubTp);
4137 isLegalBroadcastLoad(Tp->getElementType(),
4144 if (Mask.size() == 4 && Tp->getElementCount() == ElementCount::getFixed(4) &&
4145 (Tp->getScalarSizeInBits() == 16 || Tp->getScalarSizeInBits() == 32) &&
4293 if (Kind == TTI::SK_Splice && isa<ScalableVectorType>(Tp))
4294 return getSpliceCost(Tp, Index);
4312 return BaseT::getShuffleCost(Kind, Tp, Mask, CostKind, Index, SubTp, Args,