Lines Matching defs:Factor
104 std::list<VectorInfo> &InterleavedLoad, unsigned Factor,
690 /// \param Factor of the interleave
694 bool isInterleaved(unsigned Factor, const DataLayout &DL) const {
697 if (!EI[i].Ofs.isProvenEqualTo(EI[0].Ofs + i * Factor * Size)) {
746 unsigned Factor = Result.VTy->getNumElements() / VTy->getNumElements();
750 if (NewSize * Factor != OldSize)
757 for (unsigned i = 0; i < Result.VTy->getNumElements(); i += Factor) {
758 for (unsigned j = 0; j < Factor; j++) {
760 ElementInfo(Old.EI[i / Factor].Ofs + j * NewSize,
761 j == 0 ? Old.EI[i / Factor].LI : nullptr);
1058 unsigned Factor, const DataLayout &DL) {
1065 std::vector<std::list<VectorInfo>::iterator> Res(Factor, Candidates.end());
1076 for (i = 1; i < Factor; i++) {
1082 for (i = 1; i < Factor; i++) {
1086 if (i == Factor) {
1094 for (unsigned i = 0; i < Factor; i++) {
1139 unsigned Factor = InterleavedLoad.size();
1210 FixedVectorType *ILTy = FixedVectorType::get(ETy, Factor * ElementsPerSVI);
1212 auto Indices = llvm::to_vector<4>(llvm::seq<unsigned>(0, Factor));
1214 Instruction::Load, ILTy, Factor, Indices, InsertionPoint->getAlign(),
1235 Mask.push_back(i + j * Factor);
1247 << ore::NV("Factor", Factor);
1261 for (unsigned Factor = MaxFactor; Factor >= 2; Factor--) {
1278 if (!Candidates.back().isInterleaved(Factor, DL)) {
1286 while (findPattern(Candidates, InterleavedLoad, Factor, DL)) {