Home | History | Annotate | Download | only in CodeGen

Lines Matching defs:locations

117   /// Numbered locations referenced by locmap.
118 SmallVector<MachineOperand, 4> locations;
183 // For register locations we dont care about use/def and other flags.
184 for (unsigned i = 0, e = locations.size(); i != e; ++i)
185 if (locations[i].isReg() &&
186 locations[i].getReg() == LocMO.getReg() &&
187 locations[i].getSubReg() == LocMO.getSubReg())
190 for (unsigned i = 0, e = locations.size(); i != e; ++i)
191 if (LocMO.isIdenticalTo(locations[i]))
193 locations.push_back(LocMO);
195 locations.back().clearParent();
197 if (locations.back().isReg())
198 locations.back().setIsUse();
199 return locations.size() - 1;
202 /// mapVirtRegs - Ensure that all virtual register locations are mapped.
246 /// computeIntervals - Compute the live intervals of all locations after
256 /// rewriteLocations - Rewrite virtual register locations according to the
371 for (unsigned i = 0, e = locations.size(); i != e; ++i) {
373 locations[i].print(OS, TM);
386 for (unsigned e = locations.size(); KeepLoc != e; ++KeepLoc) {
389 if (locations[KeepLoc].isIdenticalTo(locations[LocNo]))
393 if (KeepLoc == locations.size())
400 locations.erase(locations.begin() + EraseLoc);
413 for (unsigned i = 0, e = locations.size(); i != e; ++i)
414 if (locations[i].isReg() &&
415 TargetRegisterInfo::isVirtualRegister(locations[i].getReg()))
416 LDV->mapVirtReg(locations[i].getReg(), this);
645 const MachineOperand &Loc = locations[LocNo];
652 // Register locations are constrained to where the register value is live.
765 MO.setSubReg(locations[OldLocNo].getSubReg());
810 locations.erase(locations.begin() + OldLocNo);
832 // Split locations referring to OldReg. Iterate backwards so splitLocation can
833 // safely erase unused locations.
834 for (unsigned i = locations.size(); i ; --i) {
836 const MachineOperand *Loc = &locations[LocNo];
866 // Iterate over locations in reverse makes it easier to handle coalescing.
867 for (unsigned i = locations.size(); i ; --i) {
869 MachineOperand &Loc = locations[LocNo];
926 locations[LocNo];