reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
779 if (!DefMI) 781 if (!DefMI->isCommutable()) 785 int DefIdx = DefMI->findRegisterDefOperandIdx(IntA.reg); 788 if (!DefMI->isRegTiedToUseOperand(DefIdx, &UseOpIdx)) 801 if (!TII->findCommutedOpIndices(*DefMI, UseOpIdx, NewDstIdx)) 804 MachineOperand &NewDstMO = DefMI->getOperand(NewDstIdx); 829 << *DefMI); 833 MachineBasicBlock *MBB = DefMI->getParent(); 835 TII->commuteInstruction(*DefMI, false, UseOpIdx, NewDstIdx); 842 if (NewMI != DefMI) { 843 LIS->ReplaceMachineInstrInMaps(*DefMI, *NewMI); 844 MachineBasicBlock::iterator Pos = DefMI; 846 MBB->erase(DefMI);