Lines Matching refs:UseMI
234 const auto *UseMI = MO.getParent(); in tryChangeVGPRtoSGPRinCopy() local
235 if (UseMI == &MI) in tryChangeVGPRtoSGPRinCopy()
237 if (MO.isDef() || UseMI->getParent() != MI.getParent() || in tryChangeVGPRtoSGPRinCopy()
238 UseMI->getOpcode() <= TargetOpcode::GENERIC_OP_END) in tryChangeVGPRtoSGPRinCopy()
242 if (OpIdx >= UseMI->getDesc().getNumOperands() || in tryChangeVGPRtoSGPRinCopy()
243 !TII->isOperandLegal(*UseMI, OpIdx, &Src)) in tryChangeVGPRtoSGPRinCopy()
804 const MachineInstr *UseMI = Use.getParent(); in processPHINode() local
805 AllAGPRUses &= (UseMI->isCopy() && in processPHINode()
806 TRI->isAGPR(*MRI, UseMI->getOperand(0).getReg())) || in processPHINode()
808 if (UseMI->isCopy() || UseMI->isRegSequence()) { in processPHINode()
809 if (Visited.insert(UseMI).second) in processPHINode()
810 worklist.insert(UseMI); in processPHINode()