Lines Matching defs:Factor
6254 // \p Factor - the factor of interleaving.
6257 unsigned Opcode, FixedVectorType *VecTy, unsigned Factor,
6260 // VecTy for interleave memop is <VF*Factor x Elt>.
6261 // So, for VF=4, Interleave Factor = 3, Element type = i32 we have
6283 unsigned VF = VecTy->getNumElements() / Factor;
6291 assert(Index < Factor && "Invalid index for interleaved memory op");
6293 DemandedLoadStoreElts.setBit(Index + Elm * Factor);
6299 I1Type, Factor, VF,
6329 CostTableLookup(AVX512InterleavedLoadTbl, Factor, VT))
6343 Indices.size() ? Indices.size() : Factor;
6345 VecTy->getNumElements() / Factor);
6389 CostTableLookup(AVX512InterleavedStoreTbl, Factor, VT))
6395 unsigned NumOfSources = Factor; // The number of values to be merged.
6411 unsigned Opcode, Type *BaseTy, unsigned Factor, ArrayRef<unsigned> Indices,
6429 Opcode, VecTy, Factor, Indices, Alignment,
6433 return BaseT::getInterleavedMemoryOpCost(Opcode, VecTy, Factor, Indices,
6443 // VecTy for interleave memop is <VF*Factor x Elt>.
6444 // So, for VF=4, Interleave Factor = 3, Element type = i32 we have
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;
6470 return BaseT::getInterleavedMemoryOpCost(Opcode, VecTy, Factor, Indices,
6476 // Factor (stride) and VectorType=VFxiN.
6683 auto GetDiscountedCost = [Factor, NumMembers = Indices.size(),
6687 return MemOpCosts + divideCeil(NumMembers * Entry->Cost, Factor);
6691 if (const auto *Entry = CostTableLookup(AVX2InterleavedLoadTbl, Factor,
6696 if (const auto *Entry = CostTableLookup(SSSE3InterleavedLoadTbl, Factor,
6701 if (const auto *Entry = CostTableLookup(SSE2InterleavedLoadTbl, Factor,
6707 assert((!Indices.size() || Indices.size() == Factor) &&
6710 if (const auto *Entry = CostTableLookup(AVX2InterleavedStoreTbl, Factor,
6715 if (const auto *Entry = CostTableLookup(SSE2InterleavedStoreTbl, Factor,
6720 return BaseT::getInterleavedMemoryOpCost(Opcode, VecTy, Factor, Indices,