Lines Matching refs:MCPhysReg
203 MCPhysReg PhysReg = 0; ///< Currently held here.
221 DenseMap<Register, MCPhysReg> BundleVirtRegsMap;
279 void setPhysRegState(MCPhysReg PhysReg, unsigned NewState);
280 bool isPhysRegFree(MCPhysReg PhysReg) const;
283 void markRegUsedInInstr(MCPhysReg PhysReg) { in markRegUsedInInstr()
289 bool isClobberedByRegMasks(MCPhysReg PhysReg) const { in isClobberedByRegMasks()
296 bool isRegUsedInInstr(MCPhysReg PhysReg, bool LookAtPhysRegUses) const { in isRegUsedInInstr()
307 void markPhysRegUsedInInstr(MCPhysReg PhysReg) { in markPhysRegUsedInInstr()
315 void unmarkRegUsedInInstr(MCPhysReg PhysReg) { in unmarkRegUsedInInstr()
344 bool usePhysReg(MachineInstr &MI, MCPhysReg PhysReg);
345 bool definePhysReg(MachineInstr &MI, MCPhysReg PhysReg);
346 bool displacePhysReg(MachineInstr &MI, MCPhysReg PhysReg);
347 void freePhysReg(MCPhysReg PhysReg);
349 unsigned calcSpillCost(MCPhysReg PhysReg) const;
359 void assignVirtToPhysReg(MachineInstr &MI, LiveReg &, MCPhysReg PhysReg);
364 MCPhysReg Reg);
376 bool setPhysReg(MachineInstr &MI, MachineOperand &MO, MCPhysReg PhysReg);
384 MCPhysReg AssignedReg, bool Kill, bool LiveOut);
386 MCPhysReg PhysReg);
449 void RegAllocFastImpl::setPhysRegState(MCPhysReg PhysReg, unsigned NewState) { in setPhysRegState()
454 bool RegAllocFastImpl::isPhysRegFree(MCPhysReg PhysReg) const { in isPhysRegFree()
565 Register VirtReg, MCPhysReg AssignedReg, bool Kill, in spill()
626 Register VirtReg, MCPhysReg PhysReg) { in reload()
671 MCPhysReg Reg = P.PhysReg; in reloadAtBegin()
684 MCPhysReg PhysReg = LR.PhysReg; in reloadAtBegin()
709 bool RegAllocFastImpl::usePhysReg(MachineInstr &MI, MCPhysReg Reg) { in usePhysReg()
717 bool RegAllocFastImpl::definePhysReg(MachineInstr &MI, MCPhysReg Reg) { in definePhysReg()
726 bool RegAllocFastImpl::displacePhysReg(MachineInstr &MI, MCPhysReg PhysReg) { in displacePhysReg()
755 void RegAllocFastImpl::freePhysReg(MCPhysReg PhysReg) { in freePhysReg()
782 unsigned RegAllocFastImpl::calcSpillCost(MCPhysReg PhysReg) const { in calcSpillCost()
803 MCPhysReg Reg) { in assignDanglingDebugValues()
815 MCPhysReg SetToReg = Reg; in assignDanglingDebugValues()
840 MCPhysReg PhysReg) { in assignVirtToPhysReg()
936 MCPhysReg BestReg = 0; in allocVirtReg()
938 ArrayRef<MCPhysReg> AllocationOrder = RegClassInfo.getOrder(&RC); in allocVirtReg()
939 for (MCPhysReg PhysReg : AllocationOrder) { in allocVirtReg()
988 MCPhysReg PhysReg; in allocVirtRegUndef()
993 ArrayRef<MCPhysReg> AllocationOrder = RegClassInfo.getOrder(&RC); in allocVirtRegUndef()
1017 MCPhysReg PrevReg = LRI->PhysReg; in defineLiveThroughVirtReg()
1072 ArrayRef<MCPhysReg> AllocationOrder = RegClassInfo.getOrder(&RC); in defineVirtReg()
1085 MCPhysReg PhysReg = LRI->PhysReg; in defineVirtReg()
1163 ArrayRef<MCPhysReg> AllocationOrder = RegClassInfo.getOrder(&RC); in useVirtReg()
1182 MCPhysReg PhysReg) { in setPhysReg()
1254 MCPhysReg PhysReg = LR.PhysReg; in dumpState()
1544 MCPhysReg PhysReg = LR.PhysReg; in allocateInstruction()
1702 DenseMap<Register, MCPhysReg>::iterator DI; in handleBundle()