Lines Matching full:copies

81 STATISTIC(NumDeletes, "Number of dead copies deleted");
118 DenseMap<MCRegUnit, CopyInfo> Copies;
121 // needed to efficiently remove copies which are invalidated by call
153 auto CI = Copies.find(Unit);
154 if (CI != Copies.end())
180 auto I = Copies.find(Unit);
181 if (I != Copies.end()) {
189 Copies.erase(Unit);
195 auto I = Copies.find(Unit);
196 if (I != Copies.end()) {
224 auto SrcCopy = Copies.find(SrcUnit);
225 if (SrcCopy != Copies.end() && SrcCopy->second.LastSeenUseInCopy) {
238 Copies.erase(SrcCopy);
247 Copies.erase(I);
278 auto I = Copies.find(RU);
279 if (I == Copies.end())
290 auto I = Copies.find(RU);
291 if (I == Copies.end())
308 Copies[Unit] = {MI, nullptr, {}, {}, true};
313 auto &Copy = Copies[Unit];
321 return !Copies.empty();
327 auto CI = Copies.find(RegUnit);
328 if (CI == Copies.end())
337 auto CI = Copies.find(RegUnit);
338 if (CI == Copies.end())
378 // copy if it copies the entire register anyway.
412 auto CI = Copies.find(RU);
413 if (CI == Copies.end() || !CI->second.Avail)
441 auto CI = Copies.find(RU);
442 if (CI == Copies.end())
448 Copies.clear();
577 /// Remove instruction \p Copy if there exists a previous copy that copies the
679 // don't belong to any (possibly smaller) common class that requires copies to
762 /// Look for available copies whose destination register is used by \p MI and
871 // Analyze copies (which don't overlap themselves).
886 // The two copies cancel out and the source of the first copy
1038 // copies aren't dead.
1042 // If MBB doesn't have succesor, delete copies whose defs are not used.
1043 // If MBB does have successors, we can only delete copies if we are able to
1313 // We need at least 3 pairs of copies for the transformation to apply,