Lines Matching refs:PhysRefs
110 SmallSet<MCRegister, 8> &PhysRefs,
113 const SmallSet<MCRegister, 8> &PhysRefs,
125 bool isPRECandidate(MachineInstr *MI, SmallSet<MCRegister, 8> &PhysRefs);
286 SmallSet<MCRegister, 8> &PhysRefs, in hasLivePhysRegDefUses() argument
300 PhysRefs.insert(*AI); in hasLivePhysRegDefUses()
317 if (PhysRefs.count(Reg.asMCReg())) in hasLivePhysRegDefUses()
329 PhysRefs.insert(*AI); in hasLivePhysRegDefUses()
331 return !PhysRefs.empty(); in hasLivePhysRegDefUses()
335 const SmallSet<MCRegister, 8> &PhysRefs, in PhysRegDefsReach() argument
389 if (PhysRefs.count(MOReg.asMCReg())) in PhysRegDefsReach()
573 SmallSet<MCRegister, 8> PhysRefs; in ProcessBlockCSE() local
577 hasLivePhysRegDefUses(&MI, MBB, PhysRefs, PhysDefs, PhysUseDef)) { in ProcessBlockCSE()
588 if (PhysRegDefsReach(CSMI, &MI, PhysRefs, PhysDefs, CrossMBBPhysDef)) in ProcessBlockCSE()
729 if (!PhysRefs.empty()) in ProcessBlockCSE()
801 SmallSet<MCRegister, 8> &PhysRefs) { in isPRECandidate() argument
815 PhysRefs.insert(MO.getReg()); in isPRECandidate()
826 SmallSet<MCRegister, 8> PhysRefs; in ProcessBlockPRE() local
827 if (!isPRECandidate(&MI, PhysRefs)) in ProcessBlockPRE()
866 if (!PhysRefs.empty() && in ProcessBlockPRE()
867 !PhysRegDefsReach(&*(CMBB->getFirstTerminator()), &MI, PhysRefs, in ProcessBlockPRE()