|
LLVM 23.0.0git
|
#include "X86.h"#include "X86InstrInfo.h"#include "X86Subtarget.h"#include "llvm/CodeGen/MachineBasicBlock.h"#include "llvm/CodeGen/MachineFunction.h"#include "llvm/CodeGen/MachineFunctionPass.h"#include "llvm/CodeGen/MachineInstr.h"#include "llvm/CodeGen/MachineInstrBuilder.h"#include "llvm/CodeGen/MachineOperand.h"#include "llvm/IR/DebugLoc.h"#include "llvm/Support/Debug.h"Go to the source code of this file.
Macros | |
| #define | DEBUG_TYPE "x86-insert-x87-wait" |
Enumerations | |
| enum class | X87ControlKind { NotControl , Waiting , NonWaiting } |
Functions | |
| static X87ControlKind | classifyX87ControlInstruction (unsigned Opcode) |
| static bool | insertWaitInstruction (MachineFunction &MF) |
| #define DEBUG_TYPE "x86-insert-x87-wait" |
Definition at line 35 of file X86InsertX87Wait.cpp.
|
strong |
| Enumerator | |
|---|---|
| NotControl | |
| Waiting | |
| NonWaiting | |
Definition at line 61 of file X86InsertX87Wait.cpp.
|
static |
Definition at line 63 of file X86InsertX87Wait.cpp.
References NonWaiting, NotControl, and Waiting.
Referenced by insertWaitInstruction().
|
static |
Definition at line 88 of file X86InsertX87Wait.cpp.
References llvm::BuildMI(), Changed, classifyX87ControlInstruction(), llvm::dbgs(), llvm::MachineFunction::getFunction(), llvm::MachineFunction::getSubtarget(), llvm::Function::hasFnAttribute(), llvm::X86::isX87Instruction(), LLVM_DEBUG, MBB, MI, NonWaiting, NotControl, and TII.
Referenced by llvm::X86InsertX87WaitPass::run().