Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:locations

120   /// Numbered locations referenced by locmap.
121 SmallVector<MachineOperand, 4> locations;
188 // For register locations we dont care about use/def and other flags.
189 for (unsigned i = 0, e = locations.size(); i != e; ++i)
190 if (locations[i].isReg() &&
191 locations[i].getReg() == LocMO.getReg() &&
192 locations[i].getSubReg() == LocMO.getSubReg())
195 for (unsigned i = 0, e = locations.size(); i != e; ++i)
196 if (LocMO.isIdenticalTo(locations[i]))
198 locations.push_back(LocMO);
200 locations.back().clearParent();
202 if (locations.back().isReg())
203 locations.back().setIsUse();
204 return locations.size() - 1;
207 /// mapVirtRegs - Ensure that all virtual register locations are mapped.
251 /// computeIntervals - Compute the live intervals of all locations after
262 /// rewriteLocations - Rewrite virtual register locations according to the
409 for (unsigned i = 0, e = locations.size(); i != e; ++i) {
411 locations[i].print(OS, TRI);
424 for (unsigned e = locations.size(); KeepLoc != e; ++KeepLoc) {
427 if (locations[KeepLoc].isIdenticalTo(locations[LocNo]))
431 if (KeepLoc == locations.size())
438 locations.erase(locations.begin() + EraseLoc);
451 for (unsigned i = 0, e = locations.size(); i != e; ++i)
452 if (locations[i].isReg() &&
453 TargetRegisterInfo::isVirtualRegister(locations[i].getReg()))
454 LDV->mapVirtReg(locations[i].getReg(), this);
670 const MachineOperand &Loc = locations[LocNo];
677 // Register locations are constrained to where the register value is live.
806 MO.setSubReg(locations[OldLocNo].getSubReg());
851 locations.erase(locations.begin() + OldLocNo);
874 // Split locations referring to OldReg. Iterate backwards so splitLocation can
875 // safely erase unused locations.
876 for (unsigned i = locations.size(); i ; --i) {
878 const MachineOperand *Loc = &locations[LocNo];
908 // Iterate over locations in reverse makes it easier to handle coalescing.
909 for (unsigned i = locations.size(); i ; --i) {
911 MachineOperand &Loc = locations[LocNo];
963 MachineOperand &Loc = locations[LocNo];