Lines Matching defs:PhysRefs
110 SmallSet<MCRegister, 8> &PhysRefs,
113 SmallSet<MCRegister, 8> &PhysRefs,
125 bool isPRECandidate(MachineInstr *MI, SmallSet<MCRegister, 8> &PhysRefs);
287 SmallSet<MCRegister, 8> &PhysRefs,
290 // First, add all uses to PhysRefs.
301 PhysRefs.insert(*AI);
304 // Next, collect all defs into PhysDefs. If any is already in PhysRefs
317 // Check against PhysRefs even if the def is "dead".
318 if (PhysRefs.count(Reg.asMCReg()))
327 // Finally, add all defs to PhysRefs as well.
331 PhysRefs.insert(*AI);
333 return !PhysRefs.empty();
337 SmallSet<MCRegister, 8> &PhysRefs,
392 if (PhysRefs.count(MOReg.asMCReg()))
576 SmallSet<MCRegister, 8> PhysRefs;
580 hasLivePhysRegDefUses(&MI, MBB, PhysRefs, PhysDefs, PhysUseDef)) {
591 if (PhysRegDefsReach(CSMI, &MI, PhysRefs, PhysDefs, CrossMBBPhysDef))
732 if (!PhysRefs.empty())
804 SmallSet<MCRegister, 8> &PhysRefs) {
818 PhysRefs.insert(MO.getReg());
829 SmallSet<MCRegister, 8> PhysRefs;
830 if (!isPRECandidate(&MI, PhysRefs))
869 if (!PhysRefs.empty() &&
870 !PhysRegDefsReach(&*(CMBB->getFirstTerminator()), &MI, PhysRefs,