Lines Matching refs:NewMI
143 MachineInstr *NewMI = in INITIALIZE_PASS() local
153 return NewMI; in INITIALIZE_PASS()
399 MachineInstr *NewMI = nullptr; in optTwoAddrLEA() local
411 NewMI = BuildMI(MBB, I, MI.getDebugLoc(), TII->get(NewOpcode), DestReg) in optTwoAddrLEA()
416 NewMI = BuildMI(MBB, I, MI.getDebugLoc(), TII->get(NewOpcode), DestReg) in optTwoAddrLEA()
432 NewMI = BuildMI(MBB, I, MI.getDebugLoc(), TII->get(NewOpcode), DestReg) in optTwoAddrLEA()
435 NewMI = BuildMI(MBB, I, MI.getDebugLoc(), TII->get(NewOpcode), DestReg) in optTwoAddrLEA()
442 NewMI = BuildMI(MBB, I, MI.getDebugLoc(), TII->get(NewOpcode), DestReg) in optTwoAddrLEA()
446 NewMI = BuildMI(MBB, I, MI.getDebugLoc(), TII->get(NewOpcode), DestReg) in optTwoAddrLEA()
453 MBB.getParent()->substituteDebugValuesForInst(*I, *NewMI, 1); in optTwoAddrLEA()
455 I = NewMI; in optTwoAddrLEA()
483 MachineInstr *NewMI = postRAConvertToLEA(MBB, MBI); in seekLEAFixup() local
484 if (NewMI) { in seekLEAFixup()
488 LLVM_DEBUG(dbgs() << "FixLEA: Replaced by: "; NewMI->dump();); in seekLEAFixup()
489 MBB.getParent()->substituteDebugValuesForInst(*MBI, *NewMI, 1); in seekLEAFixup()
492 static_cast<MachineBasicBlock::iterator>(NewMI); in seekLEAFixup()
523 MachineInstr *NewMI = nullptr; in processInstructionForSlowLEA() local
528 NewMI = in processInstructionForSlowLEA()
530 LLVM_DEBUG(NewMI->dump();); in processInstructionForSlowLEA()
537 NewMI = BuildMI(MBB, I, MI.getDebugLoc(), ADDri, DstR) in processInstructionForSlowLEA()
540 LLVM_DEBUG(NewMI->dump();); in processInstructionForSlowLEA()
542 if (NewMI) { in processInstructionForSlowLEA()
543 MBB.getParent()->substituteDebugValuesForInst(*I, *NewMI, 1); in processInstructionForSlowLEA()
545 I = NewMI; in processInstructionForSlowLEA()
591 MachineInstr *NewMI = nullptr; in processInstrForSlow3OpLEA() local
604 NewMI = BuildMI(MBB, I, MI.getDebugLoc(), TII->get(NewOpc), DestReg) in processInstrForSlow3OpLEA()
610 NewMI = BuildMI(MBB, I, MI.getDebugLoc(), TII->get(NewOpc), DestReg) in processInstrForSlow3OpLEA()
619 NewMI = BuildMI(MBB, MI, MI.getDebugLoc(), TII->get(LEAOpcode)) in processInstrForSlow3OpLEA()
626 LLVM_DEBUG(NewMI->dump();); in processInstrForSlow3OpLEA()
631 if (NewMI) { in processInstrForSlow3OpLEA()
638 NewMI = BuildMI(MBB, I, MI.getDebugLoc(), TII->get(NewOpc), DestReg) in processInstrForSlow3OpLEA()
640 LLVM_DEBUG(NewMI->dump();); in processInstrForSlow3OpLEA()
643 NewMI = BuildMI(MBB, I, MI.getDebugLoc(), TII->get(NewOpc), DestReg) in processInstrForSlow3OpLEA()
646 LLVM_DEBUG(NewMI->dump();); in processInstrForSlow3OpLEA()
650 MBB.getParent()->substituteDebugValuesForInst(*I, *NewMI, 1); in processInstrForSlow3OpLEA()
652 I = NewMI; in processInstrForSlow3OpLEA()
671 NewMI = BuildMI(MBB, MI, MI.getDebugLoc(), TII->get(NewOpc), DestReg) in processInstrForSlow3OpLEA()
674 LLVM_DEBUG(NewMI->dump();); in processInstrForSlow3OpLEA()
676 MBB.getParent()->substituteDebugValuesForInst(*I, *NewMI, 1); in processInstrForSlow3OpLEA()
678 I = NewMI; in processInstrForSlow3OpLEA()
684 NewMI = BuildMI(MBB, MI, MI.getDebugLoc(), TII->get(LEAOpcode)) in processInstrForSlow3OpLEA()
691 LLVM_DEBUG(NewMI->dump();); in processInstrForSlow3OpLEA()
694 NewMI = BuildMI(MBB, MI, MI.getDebugLoc(), TII->get(NewOpc), DestReg) in processInstrForSlow3OpLEA()
697 LLVM_DEBUG(NewMI->dump();); in processInstrForSlow3OpLEA()
699 MBB.getParent()->substituteDebugValuesForInst(*I, *NewMI, 1); in processInstrForSlow3OpLEA()
701 I = NewMI; in processInstrForSlow3OpLEA()