Lines Matching refs: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, in hasLivePhysRegDefUses() argument
305 PhysRefs.insert(*AI); in hasLivePhysRegDefUses()
322 if (PhysRefs.count(Reg.asMCReg())) in hasLivePhysRegDefUses()
335 PhysRefs.insert(*AI); in hasLivePhysRegDefUses()
337 return !PhysRefs.empty(); in hasLivePhysRegDefUses()
341 SmallSet<MCRegister, 8> &PhysRefs, in PhysRegDefsReach() argument
396 if (PhysRefs.count(MOReg.asMCReg())) in PhysRegDefsReach()
578 SmallSet<MCRegister, 8> PhysRefs; in ProcessBlockCSE() local
582 hasLivePhysRegDefUses(&MI, MBB, PhysRefs, PhysDefs, PhysUseDef)) { in ProcessBlockCSE()
593 if (PhysRegDefsReach(CSMI, &MI, PhysRefs, PhysDefs, CrossMBBPhysDef)) in ProcessBlockCSE()
734 if (!PhysRefs.empty()) in ProcessBlockCSE()
806 SmallSet<MCRegister, 8> &PhysRefs) { in isPRECandidate() argument
820 PhysRefs.insert(MO.getReg()); in isPRECandidate()
831 SmallSet<MCRegister, 8> PhysRefs; in ProcessBlockPRE() local
832 if (!isPRECandidate(&MI, PhysRefs)) in ProcessBlockPRE()
872 if (!PhysRefs.empty() && in ProcessBlockPRE()
873 !PhysRegDefsReach(&*(CMBB->getFirstTerminator()), &MI, PhysRefs, in ProcessBlockPRE()