LLVM
8.0.1
|
Inserts one nop instruction for each high level source statement for debugger usage. More...
#include "AMDGPUSubtarget.h"
#include "SIInstrInfo.h"
#include "MCTargetDesc/AMDGPUMCTargetDesc.h"
#include "llvm/ADT/DenseSet.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/MachineModuleInfo.h"
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "si-debugger-insert-nops" |
#define | PASS_NAME "SI Debugger Insert Nops" |
Inserts one nop instruction for each high level source statement for debugger usage.
Tools, such as a debugger, need to pause execution based on user input (i.e. breakpoint). In order to do this, one nop instruction is inserted before the first isa instruction of each high level source statement. Further, the debugger may replace nop instructions with trap instructions based on user input.
Definition in file SIDebuggerInsertNops.cpp.
#define DEBUG_TYPE "si-debugger-insert-nops" |
Definition at line 32 of file SIDebuggerInsertNops.cpp.
#define PASS_NAME "SI Debugger Insert Nops" |
Definition at line 33 of file SIDebuggerInsertNops.cpp.