Lines Matching full:wait
1 //- X86Insertwait.cpp - Strict-Fp:Insert wait instruction X87 instructions --//
9 // This file defines the pass which insert x86 wait instructions after each
12 // The logic to insert a wait instruction after an X87 instruction is as below:
14 // instruction, or is a x87 control instruction, don't insert wait.
16 // is an X87 exception synchronizing X87 instruction, don't insert wait.
17 // 3. For other situations, insert wait instruction.
35 #define DEBUG_TYPE "x86-insert-wait"
48 return "X86 insert wait instruction"; in getPassName()
75 case X86::WAIT: in isX87ControlInstruction()
83 // a few special control instructions don't perform a wait operation in isX87NonWaitingControlInstruction()
111 // instruction, do not insert wait. in runOnMachineFunction()
116 // non-waiting control instruction, we can omit insert wait instruction. in runOnMachineFunction()
122 BuildMI(MBB, AfterMI, MI->getDebugLoc(), TII->get(X86::WAIT)); in runOnMachineFunction()
123 LLVM_DEBUG(dbgs() << "\nInsert wait after:\t" << *MI); in runOnMachineFunction()
124 // Jump the newly inserting wait in runOnMachineFunction()