Lines Matching defs:MI
58 static bool isX87ControlInstruction(MachineInstr &MI) {
59 switch (MI.getOpcode()) {
82 static bool isX87NonWaitingControlInstruction(MachineInstr &MI) {
84 switch (MI.getOpcode()) {
105 for (MachineBasicBlock::iterator MI = MBB.begin(); MI != MBB.end(); ++MI) {
107 if (!X86::isX87Instruction(*MI))
112 if (!(MI->mayRaiseFPException() || MI->mayLoadOrStore()) ||
113 isX87ControlInstruction(*MI))
117 MachineBasicBlock::iterator AfterMI = std::next(MI);
122 BuildMI(MBB, AfterMI, MI->getDebugLoc(), TII->get(X86::WAIT));
123 LLVM_DEBUG(dbgs() << "\nInsert wait after:\t" << *MI);
125 ++MI;