Lines Matching refs:UseIdx
832 unsigned UseIdx;
833 for (UseIdx = 0; UseIdx < UseMI->getNumOperands(); ++UseIdx)
834 if (UseMI->getOperand(UseIdx).isReg() &&
835 UseMI->getOperand(UseIdx).getReg() == Reg)
838 assert(UseIdx < UseMI->getNumOperands() && "Cannot find Reg in UseMI");
839 assert(UseIdx < UseMCID.getNumOperands() && "No operand description for Reg");
841 const MCOperandInfo *UseInfo = &UseMCID.OpInfo[UseIdx];
870 UseMI->getOperand(UseIdx).setReg(ZeroReg);