Lines Matching refs:UseMI
810 bool PPCInstrInfo::FoldImmediate(MachineInstr *UseMI, MachineInstr *DefMI,
826 const MCInstrDesc &UseMCID = UseMI->getDesc();
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");
870 UseMI->getOperand(UseIdx).setReg(ZeroReg);
1150 MachineInstr *UseMI = &*I;
1151 if (UseMI->getOpcode() == PPC::BCC) {
1152 unsigned Pred = UseMI->getOperand(0).getImm();
1155 } else if (UseMI->getOpcode() == PPC::ISEL ||
1156 UseMI->getOpcode() == PPC::ISEL8) {
1157 unsigned SubIdx = UseMI->getOperand(3).getSubReg();
1283 MachineInstr *UseMI = &*I;
1284 if (UseMI->getOpcode() == PPC::BCC) {
1285 PPC::Predicate Pred = (PPC::Predicate) UseMI->getOperand(0).getImm();
1291 } else if (UseMI->getOpcode() == PPC::ISEL ||
1292 UseMI->getOpcode() == PPC::ISEL8) {
1293 unsigned NewSubReg = UseMI->getOperand(3).getSubReg();