reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1277 Register regA = MI.getOperand(DstIdx).getReg(); 1278 Register regB = MI.getOperand(SrcIdx).getReg(); 1282 bool regBKilled = isKilled(MI, regB, MRI, TII, LIS, true); 1287 bool Commuted = tryInstructionCommute(&MI, DstIdx, SrcIdx, regBKilled, Dist); 1297 if (Commuted && !MI.isConvertibleTo3Addr()) 1313 regB = MI.getOperand(SrcIdx).getReg(); 1314 regBKilled = isKilled(MI, regB, MRI, TII, LIS, true); 1317 if (MI.isConvertibleTo3Addr()) { 1348 if (MI.mayLoad() && !regBKilled) { 1352 TII->getOpcodeAfterMemoryUnfold(MI.getOpcode(), 1360 LLVM_DEBUG(dbgs() << "2addr: UNFOLDING: " << MI); 1366 if (!TII->unfoldMemoryOperand(*MF, MI, Reg, 1398 for (unsigned i = 0, e = MI.getNumOperands(); i != e; ++i) { 1399 MachineOperand &MO = MI.getOperand(i); 1404 LV->replaceKillInstruction(MO.getReg(), MI, *NewMIs[0]); 1408 LV->replaceKillInstruction(MO.getReg(), MI, *NewMIs[1]); 1411 } else if (LV->removeVirtualRegisterDead(MO.getReg(), MI)) { 1427 for (const MachineOperand &MO : MI.operands()) { 1433 MI.eraseFromParent();