Lines Matching defs:VecTy

1518 X86TTIImpl::getAltInstrCost(VectorType *VecTy, unsigned Opcode0,
1521 if (isLegalAltInstr(VecTy, Opcode0, Opcode1, OpcodeMask))
1592 auto *VecTy = FixedVectorType::get(BaseTp->getElementType(),
1598 getShuffleCost(TTI::SK_ExtractSubvector, VecTy, std::nullopt,
6074 bool X86TTIImpl::isLegalAltInstr(VectorType *VecTy, unsigned Opcode0,
6084 unsigned NumElements = cast<FixedVectorType>(VecTy)->getNumElements();
6085 assert(OpcodeMask.size() == NumElements && "Mask and VecTy are incompatible");
6099 Type *ElemTy = cast<VectorType>(VecTy)->getElementType();
6257 unsigned Opcode, FixedVectorType *VecTy, unsigned Factor,
6260 // VecTy for interleave memop is <VF*Factor x Elt>.
6262 // VecTy = <12 x i32>.
6265 // for load/store the VecTy.
6266 MVT LegalVT = getTypeLegalizationCost(VecTy).second;
6267 unsigned VecTySize = DL.getTypeStoreSize(VecTy);
6272 auto *SingleMemOpTy = FixedVectorType::get(VecTy->getElementType(),
6283 unsigned VF = VecTy->getNumElements() / Factor;
6285 MVT::getVectorVT(TLI->getSimpleValueType(DL, VecTy->getScalarType()), VF);
6289 APInt DemandedLoadStoreElts = APInt::getZero(VecTy->getNumElements());
6296 Type *I1Type = Type::getInt1Ty(VecTy->getContext());
6301 : APInt::getAllOnes(VecTy->getNumElements()),
6310 auto *MaskVT = FixedVectorType::get(I1Type, VecTy->getNumElements());
6344 auto *ResultTy = FixedVectorType::get(VecTy->getElementType(),
6345 VecTy->getNumElements() / Factor);
6414 auto *VecTy = cast<FixedVectorType>(BaseTy);
6416 auto isSupportedOnAVX512 = [&](Type *VecTy) {
6417 Type *EltTy = cast<VectorType>(VecTy)->getElementType();
6427 if (ST->hasAVX512() && isSupportedOnAVX512(VecTy))
6429 Opcode, VecTy, Factor, Indices, Alignment,
6433 return BaseT::getInterleavedMemoryOpCost(Opcode, VecTy, Factor, Indices,
6443 // VecTy for interleave memop is <VF*Factor x Elt>.
6445 // VecTy = <12 x i32>.
6446 MVT LegalVT = getTypeLegalizationCost(VecTy).second;
6448 // This function can be called with VecTy=<6xi128>, Factor=3, in which case
6452 return BaseT::getInterleavedMemoryOpCost(Opcode, VecTy, Factor, Indices,
6455 unsigned VF = VecTy->getNumElements() / Factor;
6456 Type *ScalarTy = VecTy->getElementType();
6465 Opcode, VecTy, MaybeAlign(Alignment), AddressSpace, CostKind);
6470 return BaseT::getInterleavedMemoryOpCost(Opcode, VecTy, Factor, Indices,
6720 return BaseT::getInterleavedMemoryOpCost(Opcode, VecTy, Factor, Indices,