Lines Matching defs:Factor
105 std::list<VectorInfo> &InterleavedLoad, unsigned Factor,
691 /// \param Factor of the interleave
695 bool isInterleaved(unsigned Factor, const DataLayout &DL) const {
698 if (!EI[i].Ofs.isProvenEqualTo(EI[0].Ofs + i * Factor * Size)) {
747 unsigned Factor = Result.VTy->getNumElements() / VTy->getNumElements();
751 if (NewSize * Factor != OldSize)
758 for (unsigned i = 0; i < Result.VTy->getNumElements(); i += Factor) {
759 for (unsigned j = 0; j < Factor; j++) {
761 ElementInfo(Old.EI[i / Factor].Ofs + j * NewSize,
762 j == 0 ? Old.EI[i / Factor].LI : nullptr);
1059 unsigned Factor, const DataLayout &DL) {
1066 std::vector<std::list<VectorInfo>::iterator> Res(Factor, Candidates.end());
1077 for (i = 1; i < Factor; i++) {
1083 for (i = 1; i < Factor; i++) {
1087 if (i == Factor) {
1095 for (unsigned i = 0; i < Factor; i++) {
1140 unsigned Factor = InterleavedLoad.size();
1211 FixedVectorType *ILTy = FixedVectorType::get(ETy, Factor * ElementsPerSVI);
1213 auto Indices = llvm::to_vector<4>(llvm::seq<unsigned>(0, Factor));
1215 Instruction::Load, ILTy, Factor, Indices, InsertionPoint->getAlign(),
1236 Mask.push_back(i + j * Factor);
1248 << ore::NV("Factor", Factor);
1262 for (unsigned Factor = MaxFactor; Factor >= 2; Factor--) {
1279 if (!Candidates.back().isInterleaved(Factor, DL)) {
1287 while (findPattern(Candidates, InterleavedLoad, Factor, DL)) {