Lines Matching refs:Factor
105 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);
1055 unsigned Factor, const DataLayout &DL) {
1062 std::vector<std::list<VectorInfo>::iterator> Res(Factor, Candidates.end());
1073 for (i = 1; i < Factor; i++) {
1079 for (i = 1; i < Factor; i++) {
1083 if (i == Factor) {
1091 for (unsigned i = 0; i < Factor; i++) {
1137 unsigned Factor = InterleavedLoad.size();
1204 VectorType *ILTy = VectorType::get(ETy, Factor * ElementsPerSVI);
1207 for (unsigned i = 0; i < Factor; i++)
1210 Instruction::Load, ILTy, Factor, Indices, InsertionPoint->getAlignment(),
1235 Mask.push_back(i + j * Factor);
1248 << ore::NV("Factor", Factor);
1262 for (unsigned Factor = MaxFactor; Factor >= 2; Factor--) {
1276 if (!Candidates.back().isInterleaved(Factor, DL)) {
1284 while (findPattern(Candidates, InterleavedLoad, Factor, DL)) {