Lines Matching defs:PhysRefs
136 SmallSet<MCRegister, 8> &PhysRefs,
139 SmallSet<MCRegister, 8> &PhysRefs,
151 bool isPRECandidate(MachineInstr *MI, SmallSet<MCRegister, 8> &PhysRefs);
291 SmallSet<MCRegister, 8> &PhysRefs,
294 // First, add all uses to PhysRefs.
305 PhysRefs.insert(*AI);
308 // Next, collect all defs into PhysDefs. If any is already in PhysRefs
321 // Check against PhysRefs even if the def is "dead".
322 if (PhysRefs.count(Reg.asMCReg()))
331 // Finally, add all defs to PhysRefs as well.
335 PhysRefs.insert(*AI);
337 return !PhysRefs.empty();
341 SmallSet<MCRegister, 8> &PhysRefs,
396 if (PhysRefs.count(MOReg.asMCReg()))
578 SmallSet<MCRegister, 8> PhysRefs;
582 hasLivePhysRegDefUses(&MI, MBB, PhysRefs, PhysDefs, PhysUseDef)) {
593 if (PhysRegDefsReach(CSMI, &MI, PhysRefs, PhysDefs, CrossMBBPhysDef))
734 if (!PhysRefs.empty())
806 SmallSet<MCRegister, 8> &PhysRefs) {
820 PhysRefs.insert(MO.getReg());
831 SmallSet<MCRegister, 8> PhysRefs;
832 if (!isPRECandidate(&MI, PhysRefs))
872 if (!PhysRefs.empty() &&
873 !PhysRegDefsReach(&*(CMBB->getFirstTerminator()), &MI, PhysRefs,